Browse Source

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

Shinsuke Sugaya 8 tháng trước cách đây
mục cha
commit
a6f7abf4ec
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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.enabled":"true",
 			 "http.cors.allow-origin":"*",
 			 "http.cors.allow-origin":"*",
 			 "discovery.type":"single-node",
 			 "discovery.type":"single-node",
+			 "cluster.allocator.existing_shards_allocator.batch_enabled":"true",
 			 <!--
 			 <!--
 			 "node.name":"search_engine",
 			 "node.name":"search_engine",
 			 "discovery.seed_hosts":"search_engine",
 			 "discovery.seed_hosts":"search_engine",