mirror of https://github.com/apache/lucene.git
Add necessary assertion in CheckHits#doCheckMaxScores (#13088)
This commit is contained in:
parent
563fafd8ac
commit
a1faa6398b
|
@ -734,6 +734,7 @@ public class CheckHits {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (s2 == null) {
|
if (s2 == null) {
|
||||||
|
assertTrue(s1.iterator().nextDoc() == DocIdSetIterator.NO_MORE_DOCS);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
TwoPhaseIterator twoPhase1 = s1.twoPhaseIterator();
|
TwoPhaseIterator twoPhase1 = s1.twoPhaseIterator();
|
||||||
|
|
Loading…
Reference in New Issue