kkewwei commented on code in PR #16715:
URL: https://github.com/apache/lucene/pull/16715#discussion_r4205219424
##########
lucene/core/src/java/org/apache/lucene/search/BooleanScorerSupplier.java:
##########
@@ -238,11 +244,15 @@ BulkScorer booleanScorer() throws IOException {
if (positiveScorer == null) {
return null;
}
+
final long positiveScorerCost = positiveScorer.cost();
Review Comment:
Yes, that’s a great fix. Thanks for pointing it out!
--
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]