Explorar o código

fix #1614 add auto_expand_replicas

Shinsuke Sugaya %!s(int64=7) %!d(string=hai) anos
pai
achega
119a3d99bd
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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" : {