Переглянути джерело

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

Shinsuke Sugaya 8 місяців тому
батько
коміт
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",