-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Update IDSelector to support vector filtering by distance #3632
Conversation
Hi @jaepil , sorry for the delay. I took a look through it. Is range_search not suitable to your use case? (guessing you are interested mainly in HNSW given it was updated in the PR, so range_search for HNSW is found at Line 336 in 749163e
If range_search is not right here, my first questions are:
|
Closing PR at team's request. But if range_search is not suitable, please reach out / reopen. Adding some more details:
|
Currently, there is no way to select vectors using distance with
IDSelector
. This PR adds overloaded version ofis_member(idx, [d])
function toIDSelector
, so the user can make a decision based on the distance.Let me know, if Faiss already supports similar functionality in different ways.