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

   This introduces a `HnswKnnCollector` interface, extending `KnnCollector` for 
HNSW, to make it possible to hook into HNSW execution for optimizations.
   It then adds a new collector which uses a saturation-based threshold to 
dynamically halt HNSW graph exploration, in order to early exit when the 
exploration of new candidates is unlikely to lead to addition of new neighbors.
   The new collector records the number of added neighbors upon exploration of 
a new candidate (a HNSW node) and it compares it with the number of neighbors 
added while exploring the previous candidate, when the rate of added neighbors 
plateaus for a number of consecutive iterations, it stops graph exploration 
(`earlyTerminate` returns `true`).


-- 
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