infiniflow / infiniflow/infinity

[Subtask]: Refactor hnsw switch

Open
#931 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.