You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/11/14 08:17:39 UTC

[GitHub] [lucene] dweiss commented on a change in pull request #430: LUCENE-10225: Improve IntroSelector.

dweiss commented on a change in pull request #430:
URL: https://github.com/apache/lucene/pull/430#discussion_r748818786



##########
File path: lucene/core/src/java/org/apache/lucene/util/IntroSelector.java
##########
@@ -185,6 +204,115 @@ private void shuffle(int from, int to) {
     }
   }
 
+  /** Selects the k-th entry with a bottom-k algorithm, given that k is close to {@code from}. */

Review comment:
       Can you give the reference to which algorithm is actually use here? I admit a 5-minute eyeball didn't explain it to me. 




-- 
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-unsubscribe@lucene.apache.org

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



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