mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-29 03:18:26 +00:00
[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…
x
Reference in New Issue
Block a user