Index.translog.sync_interval is non dynamic settings?


(Kewn21) #1

curl -XPUT 'http://localhost:9200/usertags/_settings' -d '
"index" : {
"translog.sync_interval" : "10s"
}
}'
above setting return:
Can't update non dynamic settings[[index.translog.sync_interval]]

Is there an other way to do that?


(Mark Walkom) #2

You may need to set it in elasticsearch.yml, but why do you want it so high?


(Kewn21) #3

Because my data were imported in one time at ervery early morning,and at that time there hadn't any user used it,so i want to increate the tranlog.sync_interval value for better import performace and shorter time.


(system) #4