nmslib icon indicating copy to clipboard operation
nmslib copied to clipboard

list index out of range with KNNBatchQuery

Open raylite opened this issue 3 years ago • 1 comments

I am using nmslib to match some terminologies from a chunk of text (vectorized with tfidf). But occasionally the index reported by the nearest neighbour object is out of the index range of the list of keywords being matched.

I have investigated the dimension of all the objects at creation and prediction time, all seems consistent. So, I wonder if there is an explanation on how nmslib does the nearest neighbour search that may justify the out of index result or how can I prevent this from happening.

Thank you

raylite avatar Feb 01 '23 11:02 raylite

To have a real response to this you should provide some snippet to know how your code is using the library

Lunatik00 avatar May 23 '23 20:05 Lunatik00