|
23 | 23 | import org.elasticsearch.action.support.WriteRequest; |
24 | 24 | import org.elasticsearch.common.Strings; |
25 | 25 | import org.elasticsearch.common.geo.GeoPoint; |
26 | | -import org.elasticsearch.common.lucene.Lucene; |
27 | 26 | import org.elasticsearch.common.settings.Settings; |
28 | 27 | import org.elasticsearch.common.settings.Settings.Builder; |
29 | 28 | import org.elasticsearch.common.time.DateFormatter; |
30 | 29 | import org.elasticsearch.common.util.Maps; |
31 | 30 | import org.elasticsearch.index.analysis.AbstractIndexAnalyzerProvider; |
32 | 31 | import org.elasticsearch.index.analysis.AnalyzerProvider; |
33 | | -import org.elasticsearch.index.analysis.NamedAnalyzer; |
34 | 32 | import org.elasticsearch.index.analysis.PreConfiguredTokenFilter; |
35 | | -import org.elasticsearch.index.mapper.DocumentParserContext; |
36 | | -import org.elasticsearch.index.mapper.FieldMapper; |
37 | | -import org.elasticsearch.index.mapper.MapperBuilderContext; |
38 | | -import org.elasticsearch.index.mapper.MapperParsingException; |
39 | 33 | import org.elasticsearch.index.query.AbstractQueryBuilder; |
40 | 34 | import org.elasticsearch.index.query.CombinedFieldsQueryBuilder; |
41 | 35 | import org.elasticsearch.index.query.IdsQueryBuilder; |
|
53 | 47 | import org.elasticsearch.search.builder.SearchSourceBuilder; |
54 | 48 | import org.elasticsearch.search.fetch.subphase.highlight.HighlightBuilder.BoundaryScannerType; |
55 | 49 | import org.elasticsearch.search.fetch.subphase.highlight.HighlightBuilder.Field; |
| 50 | +import org.elasticsearch.search.fetch.subphase.highlight.constantkeyword.MockConstantKeywordMapperPlugin; |
56 | 51 | import org.elasticsearch.search.sort.SortBuilders; |
57 | 52 | import org.elasticsearch.search.sort.SortOrder; |
58 | 53 | import org.elasticsearch.test.ESIntegTestCase; |
|
71 | 66 | import java.util.List; |
72 | 67 | import java.util.Locale; |
73 | 68 | import java.util.Map; |
74 | | -import java.util.Objects; |
75 | 69 |
|
76 | 70 | import static java.util.Collections.singletonList; |
77 | 71 | import static java.util.Collections.singletonMap; |
|
0 commit comments