是否可以动态设置为index-indexs.ttl.interval?
我试过了,并得到了这个异常(exception):无法更新非动态设置。
最佳答案
Didn't find correct documentation for the correct syntax, so with fews try i succeeded :
PUT to : localhost:9200/_cluster/settings
body:
{
"persistent" : {
"indices.ttl.interval" : "120"
}
}
it will survive the restart.
or
{
"transient" : {
"indices.ttl.interval" : "120"
}
}
it will take effect until you restart the service
关于indexing - elasticsearch-是否可以动态设置index.ttl.interval,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29006709/