Skip to content

Commit 5cc9804

Browse files
committed
Remove BWC shim for a broken commit
1 parent 53fe0ea commit 5cc9804

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,6 @@ public Iterator<Setting<?>> settings() {
770770
Property.ServerlessPublic
771771
);
772772

773-
private static final boolean DOC_VALUES_SKIPPER = new FeatureFlag("doc_values_skipper").isEnabled();
774773
public static final Setting<Boolean> USE_DOC_VALUES_SKIPPER = Setting.boolSetting("index.mapping.use_doc_values_skipper", s -> {
775774
IndexVersion iv = SETTING_INDEX_VERSION_CREATED.get(s);
776775
if (MODE.get(s) == IndexMode.TIME_SERIES) {
@@ -779,11 +778,6 @@ public Iterator<Setting<?>> settings() {
779778
}
780779
return "false";
781780
} else {
782-
if (DOC_VALUES_SKIPPER
783-
&& iv.onOrAfter(IndexVersions.SKIPPERS_ENABLED_BY_DEFAULT)
784-
&& iv.before(IndexVersions.SKIPPER_DEFAULTS_ONLY_ON_TSDB)) {
785-
return "true";
786-
}
787781
return "false";
788782
}
789783
}, Property.IndexScope, Property.Final);

0 commit comments

Comments
 (0)