1 year ago
#249474
Sergey Benkovitch
How to search knn in faiss with minimal distance > 0
I am performing a search in faiss, but sometimes the samples i query for are indexed, which is ok. But when querying for k nearest neighbors one of the returned samples is the queried sample. I can remove it post search but then I get k-1 samples which is not what I want. Any way to ignore completely similar samples during the search? by setting the min distance to be > 0 for example? or any other method.
faiss
0 Answers
Your Answer