[FEA] HNSW to support prefiltering
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Cuda
- Stars
- 854
- Forks
- 236
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 62
Description
CAGRA and brute force support prefiltering. Couldn't find anything for prefiltering in HNSW as I looked here:
https://github.com/rapidsai/cuvs/blob/branch-25.06/cpp/src/neighbors/hnsw_c.cpp#L80
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
Start with cpp/src/neighbors/hnsw_c.cpp around line 80 and compare how CAGRA and brute force implement prefiltering. Determine the required HNSW behavior and verify that HNSW supports equivalent prefiltering without regressing its existing nearest-neighbor functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100