Browse Source

fix #1614 add auto_expand_replicas

Shinsuke Sugaya 7 năm trước cách đây
mục cha
commit
119a3d99bd
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      src/main/resources/suggest_indices/suggest_analyzer.json

+ 3 - 2
src/main/resources/suggest_indices/suggest_analyzer.json

@@ -1,8 +1,9 @@
 {
   "index": {
     "refresh_interval": "1s",
-    "number_of_shards": 5,
-    "number_of_replicas": 0
+    "number_of_shards": 1,
+    "number_of_replicas": 0,
+    "auto_expand_replicas": "0-1"
   },
   "analysis" : {
     "tokenizer" : {