File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
server/src/main/java/org/elasticsearch Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1346,6 +1346,15 @@ public String toString() {
13461346 Property .InternalIndex
13471347 );
13481348
1349+ public static final String INDEX_IGNORE_DEPRECATION_WARNING_FOR_VERSION_KEY = "index.ignore_deprecation_warning_for_version" ;
1350+ public static final Setting <IndexVersion > IGNORE_INDEX_DEPRECATION_WARNING_FOR_VERSION_SETTING = Setting .versionIdSetting (
1351+ INDEX_IGNORE_DEPRECATION_WARNING_FOR_VERSION_KEY ,
1352+ IndexVersions .ZERO ,
1353+ IndexVersion ::fromId ,
1354+ Property .IndexScope ,
1355+ Property .Dynamic
1356+ );
1357+
13491358 // LIFECYCLE_NAME is here an as optimization, see LifecycleSettings.LIFECYCLE_NAME and
13501359 // LifecycleSettings.LIFECYCLE_NAME_SETTING for the 'real' version
13511360 public static final String LIFECYCLE_NAME = "index.lifecycle.name" ;
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ public final class IndexScopedSettings extends AbstractScopedSettings {
189189 IgnoredSourceFieldMapper .SKIP_IGNORED_SOURCE_READ_SETTING ,
190190 SourceFieldMapper .INDEX_MAPPER_SOURCE_MODE_SETTING ,
191191 IndexSettings .RECOVERY_USE_SYNTHETIC_SOURCE_SETTING ,
192+ IndexMetadata .IGNORE_INDEX_DEPRECATION_WARNING_FOR_VERSION_SETTING ,
192193
193194 // validate that built-in similarities don't get redefined
194195 Setting .groupSetting ("index.similarity." , (s ) -> {
You can’t perform that action at this time.
0 commit comments