Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] Pre-filtering of nearest neighbors #1528

Open
3 of 5 tasks
cjnolet opened this issue May 18, 2023 · 1 comment
Open
3 of 5 tasks

[FEA] Pre-filtering of nearest neighbors #1528

cjnolet opened this issue May 18, 2023 · 1 comment
Labels
feature request New feature or request Vector Search

Comments

@cjnolet
Copy link
Member

cjnolet commented May 18, 2023

Many end-to-end vector similarity search systems like Milvus and RedisAI VSS perform filtering of neighbors. For example, there might be indices removed from the database that need to be excluded from search, or only certain indices which have matched some search criteria might need to be included/excluded. In general, a boolean filter should be able to satisfy at least most of these cases but this issue is meant to drive discussion in addition to requesting a new feature.

Tagging some relevant folks @alexanderguzhva @liliu-z @achirkin @tfeher @benfred @wphicks

Tracking this feature's integration into RAFT's ANN algorithms:

@Presburger
Copy link

Perhaps by doing post-filtering, the amount of data to be processed is much smaller compared to pre-filtering, and the computational overhead is actually not much compared to memory copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request Vector Search
Projects
Status: In Progress
Development

No branches or pull requests

2 participants