stefanvodita commented on code in PR #14453:
URL: https://github.com/apache/lucene/pull/14453#discussion_r2033640237


##########
lucene/core/src/java/org/apache/lucene/search/ConjunctionDISI.java:
##########
@@ -127,6 +127,8 @@ static DocIdSetIterator createConjunction(
     if (iterators.size() == 1) {
       disi = iterators.get(0);
     } else {
+      // Sort the array the first time to allow the least frequent DocsEnum to 
lead the matching.

Review Comment:
   Sorry if I'm missing something obvious, but I don't get what "first time" 
refers to. Maybe it should say "Sort the arrays first to allow ..."?



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