LUCENE-7761: Fixed comment in ReqExclScorer.

This commit is contained in:
Adrien Grand 2017-03-31 16:11:19 +02:00 committed by Shalin Shekhar Mangar
parent cccc55c133
commit 602cce304c
2 changed files with 4 additions and 1 deletions

View File

@ -93,6 +93,9 @@ Other
* LUCENE-7743: Never call new String(String). * LUCENE-7743: Never call new String(String).
(Daniel Jelinski via Adrien Grand) (Daniel Jelinski via Adrien Grand)
* LUCENE-7761: Fixed comment in ReqExclScorer.
(Pablo Pita Leira via Adrien Grand)
======================= Lucene 6.5.1 ======================= ======================= Lucene 6.5.1 =======================
Bug Fixes Bug Fixes

View File

@ -154,7 +154,7 @@ class ReqExclScorer extends Scorer {
} }
}; };
} else { } else {
// reqTwoPhaseIterator is MORE costly than exclTwoPhaseIterator, check it first // reqTwoPhaseIterator is MORE costly than exclTwoPhaseIterator, check it last
return new TwoPhaseIterator(reqApproximation) { return new TwoPhaseIterator(reqApproximation) {
@Override @Override