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