File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
server/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 1212import org .elasticsearch .features .FeatureSpecification ;
1313import org .elasticsearch .features .NodeFeature ;
1414
15- import java .util .HashSet ;
1615import java .util .Set ;
1716
1817import static org .elasticsearch .index .mapper .vectors .DenseVectorFieldMapper .RESCORE_VECTOR_QUANTIZED_VECTOR_MAPPING ;
@@ -52,7 +51,7 @@ public class MapperFeatures implements FeatureSpecification {
5251
5352 @ Override
5453 public Set <NodeFeature > getTestFeatures () {
55- Set < NodeFeature > features = Set .of (
54+ return Set .of (
5655 RangeFieldMapper .DATE_RANGE_INDEXING_FIX ,
5756 IgnoredSourceFieldMapper .DONT_EXPAND_DOTS_IN_IGNORED_SOURCE ,
5857 SourceFieldMapper .REMOVE_SYNTHETIC_SOURCE_ONLY_VALIDATION ,
@@ -82,14 +81,8 @@ public Set<NodeFeature> getTestFeatures() {
8281 BBQ_DISK_SUPPORT ,
8382 SEARCH_LOAD_PER_SHARD ,
8483 SPARSE_VECTOR_INDEX_OPTIONS_FEATURE ,
85- PATTERNED_TEXT
84+ PATTERNED_TEXT ,
85+ IGNORED_SOURCE_FIELDS_PER_ENTRY
8686 );
87-
88- if (IgnoredSourceFieldMapper .IGNORED_SOURCE_FIELDS_PER_ENTRY_FF .isEnabled ()) {
89- features = new HashSet <>(features );
90- features .add (IGNORED_SOURCE_FIELDS_PER_ENTRY );
91- }
92-
93- return features ;
9487 }
9588}
You can’t perform that action at this time.
0 commit comments