Index.translog.sync_interval is non dynamic settings?

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?

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

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.

1 Like