Skip to content

Commit f0ba669

Browse files
authored
Change synonyms index auto-expand replicas to 0-1 (#115078)
1 parent 94720bb commit f0ba669

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
@@ -565,7 +565,7 @@ private static String internalSynonymRuleId(String synonymsSetId, String synonym
565565
static Settings settings() {
566566
return Settings.builder()
567567
.put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 1)
568-
.put(IndexMetadata.SETTING_AUTO_EXPAND_REPLICAS, "0-all")
568+
.put(IndexMetadata.SETTING_AUTO_EXPAND_REPLICAS, "0-1")
569569
.put(IndexMetadata.INDEX_FORMAT_SETTING.getKey(), SYNONYMS_INDEX_FORMAT)
570570
.build();
571571
}

0 commit comments

Comments
 (0)