javanna commented on code in PR #13775:
URL: https://github.com/apache/lucene/pull/13775#discussion_r1756658422
##########
lucene/sandbox/src/java/org/apache/lucene/sandbox/search/LargeNumHitsTopDocsCollector.java:
##########
@@ -137,7 +137,7 @@ protected void populateResults(ScoreDoc[] results, int
howMany) {
}
// Total number of hits collected were less than requestedHitCount
- assert totalHits < requestedHitCount;
+ assert totalHits <= requestedHitCount;
Review Comment:
this appears to be an existing bug
--
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]