elasticsearch.yml常用配置

cluster.name: recomm_scorer_xs144_cluster
node.name: "10.2.34.144"
node.master: true
【elasticsearch.yml常用配置】node.data: true
index.number_of_shards: 5
index.number_of_replicas: 2
path.conf: /opt/elasticsearch-1.6/config
path.data: /data/elasticsearch-1.6/data
path.work: /data/elasticsearch-1.6/work
path.logs: /data/elasticsearch-1.6/logs
path.plugins: /opt/elasticsearch-1.6/sys
network.bind_host: 0.0.0.0
network.publish_host: 10.2.34.144
network.host: 10.2.34.144
http.compression: true
http.compression_level: 3
discovery.zen.minimum_master_nodes: 3
discovery.zen.ping.timeout: 10s
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["10.2.34.144:9300", "10.2.34.145:9300", "10.2.34.146:9300", "10.2.34.147:9300", "10.2.34.148:9300"]
index.search.slowlog.threshold.query.warn: 10s
index.search.slowlog.threshold.query.info: 5s
index.search.slowlog.threshold.query.debug: 2s
index.search.slowlog.threshold.query.trace: 100ms
index.search.slowlog.threshold.fetch.warn: 1s
index.search.slowlog.threshold.fetch.info: 800ms
index.search.slowlog.threshold.fetch.debug: 500ms
index.search.slowlog.threshold.fetch.trace: 50ms
index.indexing.slowlog.threshold.index.warn: 10s
index.indexing.slowlog.threshold.index.info: 5s
index.indexing.slowlog.threshold.index.debug: 2s
index.indexing.slowlog.threshold.index.trace: 500ms
script.engine.groovy.inline.search: on


elasticsearch.yml常用配置
文章图片

    推荐阅读