Explicit refresh with bulk request

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.

--
Александр Свиридов

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1426695671.15906000%40f334.i.mail.ru.
For more options, visit https://groups.google.com/d/optout.

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.

It's not really worth doing both though.

On 18 March 2015 at 09:21, Александр Свиридов ooo_saturn7@mail.ru wrote:

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.

--
Александр Свиридов

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1426695671.15906000%40f334.i.mail.ru
https://groups.google.com/d/msgid/elasticsearch/1426695671.15906000%40f334.i.mail.ru?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X9TV%3DgZDC7Jk2GDfEnd3XnSO_qjLDUyPcCJT-oehQGh8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.