Skip to content

Commit 4f89d21

Browse files
committed
Force enable index.use_time_series_doc_values_format_large_binary_block_size
1 parent a75fe13 commit 4f89d21

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

server/src/main/java/org/elasticsearch/common/settings/IndexScopedSettings.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,7 @@ public final class IndexScopedSettings extends AbstractScopedSettings {
257257
if (IndexSettings.DISABLE_SEQUENCE_NUMBERS_FEATURE_FLAG) {
258258
settings.add(IndexSettings.DISABLE_SEQUENCE_NUMBERS);
259259
}
260-
if (IndexSettings.ALLOW_LARGE_BINARY_BLOCK_SIZE.isEnabled()) {
261-
settings.add(IndexSettings.USE_TIME_SERIES_DOC_VALUES_FORMAT_LARGE_BINARY_BLOCK_SIZE);
262-
}
260+
settings.add(IndexSettings.USE_TIME_SERIES_DOC_VALUES_FORMAT_LARGE_BINARY_BLOCK_SIZE);
263261
settings.add(IndexSettings.INDEX_MAPPING_EXCLUDE_SOURCE_VECTORS_SETTING);
264262
BUILT_IN_INDEX_SETTINGS = Collections.unmodifiableSet(settings);
265263
};

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ public Iterator<Setting<?>> settings() {
891891
public static final FeatureFlag ALLOW_LARGE_BINARY_BLOCK_SIZE = new FeatureFlag("allow_large_binary_block_size");
892892
public static final Setting<Boolean> USE_TIME_SERIES_DOC_VALUES_FORMAT_LARGE_BINARY_BLOCK_SIZE = Setting.boolSetting(
893893
"index.use_time_series_doc_values_format_large_binary_block_size",
894-
false,
894+
true,
895895
Property.IndexScope,
896896
Property.Final
897897
);

0 commit comments

Comments
 (0)