I insert documents using bulk request. If I set refresh interval to 60 seconds like this
"settings":{
"index.refresh_interval":"10"
},
but at the same time I will do explicit refresh every 10 seconds using cron like this
client.admin().indices().refresh(new RefreshRequest("elasticsearch")).actionGet();
Will elastic do auto refresh every 60 seconds? The question is about from what point of time elastic will count these 60 seconds.
It uses an internal timer, so you will get refreshes during both the 60s
for the ES setting (even though you have 10 there) and every time you call
it as well.
I insert documents using bulk request. If I set refresh interval to 60
seconds like this
"settings":{
"index.refresh_interval":"10"
},
but at the same time I will do explicit refresh every 10 seconds using
cron like this
client.admin().indices().refresh(new
RefreshRequest("elasticsearch")).actionGet();
Will elastic do auto refresh every 60 seconds? The question is about from
what point of time elastic will count these 60 seconds.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.