[Test] Make sure that SearchAfterSortedDocQueryTests uses a single threaded searcher
This commit is contained in:
parent
c161d90524
commit
2a78b0a19f
|
@ -98,7 +98,7 @@ public class SearchAfterSortedDocQueryTests extends ESTestCase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final IndexReader reader = w.getReader();
|
final IndexReader reader = w.getReader();
|
||||||
final IndexSearcher searcher = newSearcher(reader);
|
final IndexSearcher searcher = new IndexSearcher(reader);
|
||||||
|
|
||||||
int step = randomIntBetween(1, 10);
|
int step = randomIntBetween(1, 10);
|
||||||
FixedBitSet bitSet = new FixedBitSet(numDocs);
|
FixedBitSet bitSet = new FixedBitSet(numDocs);
|
||||||
|
|
Loading…
Reference in New Issue