소스 검색

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" : {