romseygeek commented on code in PR #16515:
URL: https://github.com/apache/lucene/pull/16515#discussion_r3933274658


##########
lucene/core/src/test/org/apache/lucene/search/TestMaxScoreBulkScorer.java:
##########
@@ -1446,6 +1482,14 @@ public float getMaxScore(int upTo) throws IOException {
                   minGetMaxScoreUpTo[0] = Math.min(minGetMaxScoreUpTo[0], 
upTo);
                   return in.getMaxScore(upTo);
                 }
+
+                @Override
+                public void nextDocsAndScores(
+                    int upTo, Bits liveDocs, DocAndFloatFeatureBuffer buffer) 
throws IOException {
+                  in.nextDocsAndScores(upTo, liveDocs, buffer);
+                  scoredDocs[0] += buffer.size;
+                  nextDocsAndScoresCalls[0]++;

Review Comment:
   I think this is still not testing what we want?  The number of 
nextDocsAndScores calls won't change, it's the state of the liveDocs that is 
different.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to