zacharymorn commented on code in PR #972:
URL: https://github.com/apache/lucene/pull/972#discussion_r911579468


##########
lucene/core/src/java/org/apache/lucene/search/DisiWrapper.java:
##########
@@ -39,6 +39,9 @@ public class DisiWrapper {
   // For WANDScorer
   long maxScore;
 
+  // For BlockMaxMaxscoreScorer
+  float maxScoreFloat;

Review Comment:
   Ah I like this idea. Updated.



##########
lucene/core/src/java/org/apache/lucene/search/Boolean2ScorerSupplier.java:
##########
@@ -118,6 +118,21 @@ private Scorer getInternal(long leadCost) throws 
IOException {
           leadCost);
     }
 
+    // pure two terms disjunction
+    if (scoreMode == ScoreMode.TOP_SCORES
+        && minShouldMatch == 0

Review Comment:
   Updated.



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