浏览代码

fix #2850 Enable batch mode in shard allocator to suppress WARN log for single shard assignment fallback

Shinsuke Sugaya 9 月之前
父节点
当前提交
a6f7abf4ec
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/esclient.xml

+ 1 - 0
src/main/resources/esclient.xml

@@ -7,6 +7,7 @@
 			{"http.cors.enabled":"true",
 			 "http.cors.allow-origin":"*",
 			 "discovery.type":"single-node",
+			 "cluster.allocator.existing_shards_allocator.batch_enabled":"true",
 			 <!--
 			 "node.name":"search_engine",
 			 "discovery.seed_hosts":"search_engine",