mirror of https://github.com/apache/lucene.git
Fix excessive skipping in `BlockMaxConjunctionBulkScorer`.
This commit is contained in:
parent
2106bf5172
commit
3f81f2f315
|
@ -117,7 +117,7 @@ final class BlockMaxConjunctionBulkScorer extends BulkScorer {
|
|||
for (int i = 1; i < iterators.length; ++i) {
|
||||
// First check if we have a chance of having a match
|
||||
if (hasMinCompetitiveScore
|
||||
&& MathUtil.sumUpperBound(currentScore + sumOfOtherClauses[i], scorers.length)
|
||||
&& (float) MathUtil.sumUpperBound(currentScore + sumOfOtherClauses[i], scorers.length)
|
||||
< scorable.minCompetitiveScore) {
|
||||
doc = lead.nextDoc();
|
||||
continue advanceHead;
|
||||
|
|
Loading…
Reference in New Issue