Skip to content

Commit 620e780

Browse files
authored
Restore node feature (#113805) (#113808)
This got rolled back as part of #113692, but the change had already rolled out to QA. (cherry picked from commit 9365efb)
1 parent ab8e261 commit 620e780

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

server/src/main/java/org/elasticsearch/index/mapper/MapperFeatures.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public Set<NodeFeature> getFeatures() {
3636
NodeMappingStats.SEGMENT_LEVEL_FIELDS_STATS,
3737
BooleanFieldMapper.BOOLEAN_DIMENSION,
3838
ObjectMapper.SUBOBJECTS_AUTO,
39+
ObjectMapper.SUBOBJECTS_AUTO_FIXES,
3940
KeywordFieldMapper.KEYWORD_NORMALIZER_SYNTHETIC_SOURCE,
4041
SourceFieldMapper.SYNTHETIC_SOURCE_STORED_FIELDS_ADVANCE_FIX,
4142
Mapper.SYNTHETIC_SOURCE_KEEP_FEATURE,

server/src/main/java/org/elasticsearch/index/mapper/ObjectMapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public class ObjectMapper extends Mapper {
4545
public static final String CONTENT_TYPE = "object";
4646
static final String STORE_ARRAY_SOURCE_PARAM = "store_array_source";
4747
static final NodeFeature SUBOBJECTS_AUTO = new NodeFeature("mapper.subobjects_auto");
48+
static final NodeFeature SUBOBJECTS_AUTO_FIXES = new NodeFeature("mapper.subobjects_auto_fixes");
4849

4950
/**
5051
* Enhances the previously boolean option for subobjects support with an intermediate mode `auto` that uses

0 commit comments

Comments
 (0)