zacharymorn commented on a change in pull request #2141:
URL: https://github.com/apache/lucene-solr/pull/2141#discussion_r549545859



##########
File path: lucene/core/src/java/org/apache/lucene/search/WANDScorer.java
##########
@@ -271,6 +280,19 @@ public boolean matches() throws IOException {
             return false;
           }
         }
+
+        // minCompetitiveScore satisfied, now checks if the doc has enough 
required number of matches
+        // Combining this loop with the above makes for complicated 
conditional checks, so keeping them separate for readability

Review comment:
       Makes sense. I gave this a second try and actually able to arrive at a 
clean looking solution. Please let me know if this version looks good. 




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

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