|
16 | 16 | import org.apache.lucene.index.IndexWriterConfig; |
17 | 17 | import org.apache.lucene.index.IndexableField; |
18 | 18 | import org.apache.lucene.index.LeafReaderContext; |
19 | | -import org.apache.lucene.search.DocIdSetIterator; |
20 | 19 | import org.apache.lucene.search.Sort; |
21 | 20 | import org.apache.lucene.search.SortField; |
22 | 21 | import org.apache.lucene.store.Directory; |
|
35 | 34 | import org.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesFormat; |
36 | 35 | import org.elasticsearch.index.mapper.DateFieldMapper.DateFieldType; |
37 | 36 | import org.elasticsearch.index.mapper.blockloader.docvalues.LongsBlockLoader; |
38 | | -import org.elasticsearch.lucene.comparators.XUpdateableDocIdSetIterator; |
39 | 37 | import org.elasticsearch.script.DateFieldScript; |
40 | 38 | import org.elasticsearch.script.ScriptService; |
41 | 39 | import org.elasticsearch.search.DocValueFormat; |
|
51 | 49 | import java.time.ZonedDateTime; |
52 | 50 | import java.util.Comparator; |
53 | 51 | import java.util.List; |
54 | | -import java.util.function.Consumer; |
55 | 52 | import java.util.stream.IntStream; |
56 | 53 | import java.util.stream.Stream; |
57 | 54 |
|
@@ -919,12 +916,6 @@ public void testSingletonLongBulkBlockReadingManyValues() throws Exception { |
919 | 916 | } |
920 | 917 | } |
921 | 918 |
|
922 | | - private static final Consumer<DocIdSetIterator> checkClass = disi -> { |
923 | | - assertThat(disi, instanceOf(XUpdateableDocIdSetIterator.class)); |
924 | | - XUpdateableDocIdSetIterator iterator = (XUpdateableDocIdSetIterator) disi; |
925 | | - assertThat(iterator.getDelegate().getClass().getName(), containsString("SecondarySortIterator")); |
926 | | - }; |
927 | | - |
928 | 919 | @Override |
929 | 920 | protected List<SortShortcutSupport> getSortShortcutSupport() { |
930 | 921 | return List.of( |
|
0 commit comments