[Test] Make sure that QueryPhaseTests#testIndexSortScrollOptimization creates segments that can be early terminated
This commit is contained in:
parent
e24af64de2
commit
4cd9728f55
|
@ -499,6 +499,8 @@ public class QueryPhaseTests extends IndexShardTestCase {
|
|||
doc.add(new NumericDocValuesField("tiebreaker", i));
|
||||
w.addDocument(doc);
|
||||
}
|
||||
// Make sure that we can early terminate queries on this index
|
||||
w.forceMerge(3);
|
||||
w.close();
|
||||
|
||||
TestSearchContext context = new TestSearchContext(null, indexShard);
|
||||
|
|
Loading…
Reference in New Issue