From b8dfb8d3304520345c369eb3682832e7580f9823 Mon Sep 17 00:00:00 2001 From: lingyfh Date: Thu, 4 Aug 2016 19:24:53 +0800 Subject: [PATCH] add config for start multiple nodes on the same machine --- config/elasticsearch.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/config/elasticsearch.yml b/config/elasticsearch.yml index d0fb2ae..175237a 100644 --- a/config/elasticsearch.yml +++ b/config/elasticsearch.yml @@ -1,3 +1,24 @@ +# custom config + +# cluster.name: my_cluster +# node.name: lingyfh + +# network.bind_host: 0.0.0.0 +# network.publish_host: _en0:ipv4_ + +# transport.bind_host: 0.0.0.0 +# transport.publish_host: _en0:ipv4_ +# transport.tcp.compress: true +# ex: discovery.zen.ping.unicast.hosts: ["host1", "host2"] +# discovery.zen.ping.unicast.hosts: ["localhost"] +# discovery.zen.ping_timeout: 3s +# discovery.zen.ping_retries: 3 + +# script.inline: on +# script.indexed: on + + + # ======================== Elasticsearch Configuration ========================= # # NOTE: Elasticsearch comes with reasonable defaults for most settings.