【发布时间】:2014-02-15 23:15:02
【问题描述】:
当我通过
获取我的 ElasticSearch 服务器设置时curl -XGET localhost:9200/_cluster/settings
我看到了持久性和暂时性设置。
{
"persistent": {
"cluster.routing.allocation.cluster_concurrent_rebalance": "0",
"threadpool.index.size": "20",
"threadpool.search.size": "30",
"cluster.routing.allocation.disable_allocation": "false",
"threadpool.bulk.size": "40"
},
"transient": {}
}
如果我设置了一个持久设置,它不会将它保存到我的config/elasticsearch.yml 配置文件中吗?所以我的问题是当我的服务器重新启动时,它如何知道我的持久设置是什么?
不要告诉我不要担心,因为我几乎丢失了整个集群的数据,因为它在重新启动后拾取了我的配置文件中的所有设置,而不是上面显示的持久设置:)
【问题讨论】:
标签: lucene elasticsearch