瀏覽代碼

fix #1614 add auto_expand_replicas

Shinsuke Sugaya 7 年之前
父節點
當前提交
119a3d99bd
共有 1 個文件被更改,包括 3 次插入2 次删除
  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" : {