mirror of https://github.com/apache/lucene.git
LUCENE-7264: Fix test bug in TestReqExclBulkScorer.
This commit is contained in:
parent
95c360d053
commit
14b42fe10b
|
@ -44,7 +44,7 @@ public class TestReqExclBulkScorer extends LuceneTestCase {
|
|||
for (int i = 0; i < numIncludedDocs; ++i) {
|
||||
reqAdder.add(random().nextInt(maxDoc));
|
||||
}
|
||||
DocIdSetBuilder.BulkAdder exclAdder = exclBuilder.grow(numIncludedDocs);
|
||||
DocIdSetBuilder.BulkAdder exclAdder = exclBuilder.grow(numExcludedDocs);
|
||||
for (int i = 0; i < numExcludedDocs; ++i) {
|
||||
exclAdder.add(random().nextInt(maxDoc));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue