./config/elasticsearch.yml
cluster.name: local_cluster
node.name: node3
node.master: true
node.data: true
#path.data: /data/node3/data
#path.logs: /data/node3/logs
cluster.routing.allocation.enable: all
cluster.routing.allocation.allow_rebalance: always
network.host: 127.0.0.1
discovery.seed_hosts: ["127.0.0.1:9300","127.0.0.1:9310","127.0.0.1:9320"]
cluster.initial_master_nodes: ["127.0.0.1:9300","127.0.0.1:9310","127.0.0.1:9320"]
gateway.recover_after_nodes: 2
gateway.recover_after_time: 5m
gateway.expected_nodes: 3
http.cors.enabled: true
http.cors.allow-origin: "*"
transport.tcp.port: 9320