Skip to content

Commit a0e09c6

Browse files
committed
merge
1 parent f5c4501 commit a0e09c6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

server/src/main/java/org/elasticsearch/index/IndexSettings.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,13 @@ public Iterator<Setting<?>> settings() {
652652
Property.Final
653653
);
654654

655+
public static final Setting<Boolean> SYNTHETIC_SOURCE_SECOND_DOC_PARSING_PASS_SETTING = Setting.boolSetting(
656+
"index.synthetic_source.enable_second_doc_parsing_pass",
657+
true,
658+
Property.IndexScope,
659+
Property.Dynamic
660+
);
661+
655662
/**
656663
* Returns <code>true</code> if TSDB encoding is enabled. The default is <code>true</code>
657664
*/
@@ -1072,6 +1079,10 @@ public IndexSettings(final IndexMetadata indexMetadata, final Settings nodeSetti
10721079
this::setSkipIgnoredSourceWrite
10731080
);
10741081
scopedSettings.addSettingsUpdateConsumer(IgnoredSourceFieldMapper.SKIP_IGNORED_SOURCE_READ_SETTING, this::setSkipIgnoredSourceRead);
1082+
scopedSettings.addSettingsUpdateConsumer(
1083+
SYNTHETIC_SOURCE_SECOND_DOC_PARSING_PASS_SETTING,
1084+
this::setSyntheticSourceSecondDocParsingPassEnabled
1085+
);
10751086
}
10761087

10771088
private void setSearchIdleAfter(TimeValue searchIdleAfter) {

0 commit comments

Comments
 (0)