benwtrent opened a new pull request, #12770:
URL: https://github.com/apache/lucene/pull/12770

   I noticed while testing lower dimensionality and quantization, we would 
explore the HNSW graph way too much. I was stuck figuring out why until I 
noticed the searcher checks for distance equality (not just if the distance is 
better) when exploring neighbors-of-neighbors. This seems like a bad heurstic, 
but to double check I looked at what nmslib does. This pointed me back to this 
commit: https://github.com/nmslib/nmslib/pull/106
   
   Seems like this performance hitch was discovered awhile ago :). 
   
   This commit adjusts HNSW to only explore the graph layer if the distance is 
actually better.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to