infiniflow / infiniflow/infinity
[Subtask]: Refactor hnsw switch
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 445
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 7
Description
Parent Issue
#930
Detail of Subtask
use variant instead of switch case to simplify hnsw index type choosing.
Describe implementation you've considered
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read parent issue #930 first, then locate the HNSW index-type selection implemented with switch cases. The issue names no files or tests, so use the parent context to identify the relevant entry point and validation. Done means the selection uses a variant instead of switch cases while preserving existing HNSW index behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- search
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100