kkewwei commented on code in PR #16669:
URL: https://github.com/apache/lucene/pull/16669#discussion_r4006225545
##########
lucene/core/src/java/org/apache/lucene/search/ReqExclBulkScorer.java:
##########
@@ -76,12 +137,63 @@ public int score(LeafCollector collector, Bits acceptDocs,
int min, int max) thr
if (upTo == max) {
upTo = req.score(collector, acceptDocs, upTo, upTo);
}
-
return upTo;
}
@Override
public long cost() {
return req.cost();
}
+
+ private static boolean shouldUseBitSet(BulkScorer req, DocIdSetIterator
excl) {
Review Comment:
I lack the established empirical threshold exists for dense and sparse.
--
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]