alexklibisz / elastiknn

Elasticsearch plugin for nearest neighbor search. Store vectors and run similarity search using exact and approximate algorithms.
https://alexklibisz.github.io/elastiknn
Apache License 2.0
371 stars 48 forks source link

160_b avoid return zero hits #719

Closed joancf closed 1 month ago

joancf commented 1 month ago

Related Issue

Link the related issues as a markdown list.

Te lower limit when checking for frequencies and the max number of hits to consider (it is not candidates, but the nonzero)

Testing and Validation

I checked adding some logs in my installation and discovering that it was retrieving too much documents

alexklibisz commented 1 month ago

Thanks. In #718 I'm not trying to fix the issue just yet. I'm trying to move the DocIdSetIterator into the ArrayHitCounter. So we can come back to this fix.