2011-07-20 16:29:25 -04:00
|
|
|
# The cluster name
|
|
|
|
#cluster.name: elasticsearch
|
2011-01-19 05:08:48 -05:00
|
|
|
|
2011-05-29 09:03:58 -04:00
|
|
|
# Path Settings
|
2011-07-20 16:29:25 -04:00
|
|
|
#path.conf: /path/to/conf
|
|
|
|
#path.data: /path/to/data
|
|
|
|
#path.work: /path/to/work
|
|
|
|
#path.logs: /path/to/logs
|
2011-09-09 10:25:25 -04:00
|
|
|
#path.plugins: /path/to/plugins
|
2011-05-29 09:03:58 -04:00
|
|
|
|
2011-08-02 07:07:27 -04:00
|
|
|
# Force all memory to be locked, forcing the JVM to never swap
|
2011-09-13 16:33:43 -04:00
|
|
|
# When setting it, make sure ES_MIN_MEM and ES_MAX_MEM are set to the same value
|
|
|
|
# and that the machine has enough memory to allocate.
|
2011-08-02 07:07:27 -04:00
|
|
|
#bootstrap.mlockall: true
|
|
|
|
|
2011-01-19 05:08:48 -05:00
|
|
|
# Gateway Settings
|
2011-07-20 16:29:25 -04:00
|
|
|
# Controls when to start the initial recovery process when starting a new cluster
|
2011-08-02 07:07:27 -04:00
|
|
|
# allowing for better reused of existing data during recovery.
|
2011-07-20 16:29:25 -04:00
|
|
|
#gateway.recover_after_nodes: 1
|
|
|
|
#gateway.recover_after_time: 5m
|
|
|
|
#gateway.expected_nodes: 2
|
2011-05-24 14:16:55 -04:00
|
|
|
|
2011-09-06 05:40:14 -04:00
|
|
|
# Recovery Throttling
|
|
|
|
# The number of concurrent recoveries happening on a node
|
|
|
|
#cluster.routing.allocation.node_initial_primaries_recoveries: 4
|
|
|
|
#cluster.routing.allocation.node_concurrent_recoveries: 2
|
|
|
|
# Peer shard recovery size based throttling (set to 100mb for example to enable)
|
|
|
|
#indices.recovery.max_size_per_sec: 0
|
|
|
|
# Number open concurrent recovery streams allows
|
|
|
|
#indices.recovery.concurrent_streams: 5
|
|
|
|
|
2011-07-20 16:29:25 -04:00
|
|
|
# Controls the minimum number of master eligible nodes this node should "see"
|
|
|
|
# in order to operate within the cluster.
|
|
|
|
# Set this to a higher value (2-4) when running more than 2 nodes in the cluster
|
|
|
|
#discovery.zen.minimum_master_nodes: 1
|
|
|
|
|
|
|
|
# The time to wait for ping responses from other nodes when doing node discovery
|
|
|
|
#discovery.zen.ping.timeout: 3s
|
2011-05-24 14:16:55 -04:00
|
|
|
|
|
|
|
# Unicast Discovery (disable multicast)
|
2011-07-20 16:29:25 -04:00
|
|
|
#discovery.zen.ping.multicast.enabled: false
|
|
|
|
#discovery.zen.ping.unicast.hosts: ["host1", "host2"]
|