angadp commented on issue #11419:
URL: https://github.com/apache/lucene/issues/11419#issuecomment-1920390020

   I see what you were saying earlier now, Ben! So when we add the candidate we 
add them using `outOfOrder` method which is non-montonic and then try to find 
the least diverse candidate. Hence we don't use a priority queue for 
maintaining the candidates.
   
   The nearest neighbor tracking is monotonic.
   
   Beginner questions here:
   
   What was the decision behind adding these candidates `outOfOrder`?
   Can we not try to modify the method to do it `inOrder` and then try to find 
the least diverse candidate to remove?


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