Skip to content

Commit 8e00d7e

Browse files
Change synonyms index auto-expand replicas to 0-1 (#115078) (#120534)
Co-authored-by: Elastic Machine <[email protected]>
1 parent c134e7d commit 8e00d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/synonyms/SynonymsManagementAPIService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ private static String internalSynonymRuleId(String synonymsSetId, String synonym
566566
static Settings settings() {
567567
return Settings.builder()
568568
.put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 1)
569-
.put(IndexMetadata.SETTING_AUTO_EXPAND_REPLICAS, "0-all")
569+
.put(IndexMetadata.SETTING_AUTO_EXPAND_REPLICAS, "0-1")
570570
.put(IndexMetadata.INDEX_FORMAT_SETTING.getKey(), SYNONYMS_INDEX_FORMAT)
571571
.build();
572572
}

0 commit comments

Comments
 (0)