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

MatchHashesAndScoreQuery could be emitting documents that had zero hits #715

Closed alexklibisz closed 1 month ago

alexklibisz commented 1 month ago

Support guidelines

Background

See the discussion here: https://github.com/alexklibisz/elastiknn/discussions/714#discussion-7079010

Bug

We think that the MatchHashesAndScoreQuery can emit docs that have zero hits. See the discussion for full details.

Elastiknn Version

8.15.0.0

Platform

Doesn't matter.

Steps to reproduce

I think we can probably reproduce via unit test. Hopefully we also see an effect in the benchmarks, once fixed.

Additional info

No response

alexklibisz commented 1 month ago

This is resolved by https://github.com/alexklibisz/elastiknn/pull/720

alexklibisz commented 1 month ago

Fix is released in https://github.com/alexklibisz/elastiknn/releases/tag/8.15.0.1