File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
test/framework/src/test/java/org/elasticsearch/logsdb/datageneration Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 2020import org .elasticsearch .test .ESTestCase ;
2121import org .elasticsearch .xcontent .XContentBuilder ;
2222import org .elasticsearch .xcontent .XContentType ;
23+ import org .elasticsearch .xpack .constantkeyword .ConstantKeywordMapperPlugin ;
2324import org .elasticsearch .xpack .countedkeyword .CountedKeywordMapperPlugin ;
2425import org .elasticsearch .xpack .unsignedlong .UnsignedLongMapperPlugin ;
26+ import org .elasticsearch .xpack .wildcard .Wildcard ;
2527
2628import java .io .IOException ;
2729import java .util .Collection ;
@@ -111,7 +113,13 @@ public DataSourceResponse.FieldTypeGenerator handle(DataSourceRequest.FieldTypeG
111113 var mappingService = new MapperServiceTestCase () {
112114 @ Override
113115 protected Collection <? extends Plugin > getPlugins () {
114- return List .of (new UnsignedLongMapperPlugin (), new MapperExtrasPlugin (), new CountedKeywordMapperPlugin ());
116+ return List .of (
117+ new UnsignedLongMapperPlugin (),
118+ new MapperExtrasPlugin (),
119+ new CountedKeywordMapperPlugin (),
120+ new ConstantKeywordMapperPlugin (),
121+ new Wildcard ()
122+ );
115123 }
116124 }.createMapperService (mappingXContent );
117125
You can’t perform that action at this time.
0 commit comments