Skip to content

Commit b843047

Browse files
committed
Revert "Include default index option type to defaults"
This reverts commit b08e2a1.
1 parent e993671 commit b843047

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ public final class IndexScopedSettings extends AbstractScopedSettings {
203203
IndexSettings.INDEX_MAPPER_SOURCE_MODE_SETTING,
204204
IndexSettings.RECOVERY_USE_SYNTHETIC_SOURCE_SETTING,
205205
InferenceMetadataFieldsMapper.USE_LEGACY_SEMANTIC_TEXT_FORMAT,
206-
InferenceMetadataFieldsMapper.DEFAULT_SEMANTIC_TEXT_INDEX_OPTIONS,
207206

208207
// validate that built-in similarities don't get redefined
209208
Setting.groupSetting("index.similarity.", (s) -> {

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
import java.util.Map;
2323
import java.util.function.Function;
2424

25-
import static org.elasticsearch.index.mapper.vectors.DenseVectorFieldMapper.VectorIndexType.BBQ_HNSW;
26-
2725
/**
2826
* An abstract {@link MetadataFieldMapper} used as a placeholder for implementation
2927
* in the inference module. It is required by {@link SourceFieldMapper} to identify
@@ -44,14 +42,6 @@ public abstract class InferenceMetadataFieldsMapper extends MetadataFieldMapper
4442
Setting.Property.InternalIndex
4543
);
4644

47-
public static final Setting<String> DEFAULT_SEMANTIC_TEXT_INDEX_OPTIONS = Setting.simpleString(
48-
"index.mapping.semantic_text.default_index_options_type",
49-
BBQ_HNSW.getName(),
50-
Setting.Property.Final,
51-
Setting.Property.IndexScope,
52-
Setting.Property.InternalIndex
53-
);
54-
5545
// Check index version SOURCE_MAPPER_MODE_ATTRIBUTE_NOOP because that index version was added in the same serverless promotion
5646
// where the new format was enabled by default
5747
public static final IndexVersion USE_NEW_SEMANTIC_TEXT_FORMAT_BY_DEFAULT = IndexVersions.SOURCE_MAPPER_MODE_ATTRIBUTE_NOOP;

0 commit comments

Comments
 (0)