NVIDIA / NVIDIA/raft

[FEA] Remove pre-filtering template args

Open
#2,000 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Vector Search
Dominant language
Cuda
Stars
1k
Forks
251
Avg merge
1d 8h
Merged PRs (30d)
31

Description

The current problem with our pre-filtering search functions is that the predicate function is a template argument, which means each unique pre-filtering predicate function requires its own instantiation. This means the pre-compiled filtering functions become useless and it's definitely not a sustainable approach. We expect that users should be able to use any number of predicate functions, including their own.

Contributor guide

No contributing guide indexed for this repository

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

Start by locating the pre-filtering search functions and the filtering functions described in the issue, then trace how predicate functions are passed as template arguments. Define and verify an approach that allows arbitrary user predicates without requiring a separate precompiled instantiation for each predicate; the issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.