# Elasticsearch refresh interval

**URL:** <https://discuss.elastic.co/t/elasticsearch-refresh-interval/12202>\
**Category:** Elasticsearch\
**Created:** [May 31, 2013, 8:00am UTC](https://discuss.elastic.co/t/elasticsearch-refresh-interval/12202 "2013-05-31T08:00:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankit\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@Ankit\_Jain](https://discuss.elastic.co/u/Ankit_Jain)\
**Post date:** [May 31, 2013, 8:00am UTC](https://discuss.elastic.co/t/elasticsearch-refresh-interval/12202/1 "2013-05-31T08:00:46Z")

</div>

Hi All,

We are ingesting records continuously on elalsticsearch cluster and also  
firing search and update queries in parallel.

We are refreshing elasticsearch indices in every 1 sec using http call.

As we are observing, the elasticsearch got hung after certain amount of  
time. Are this problem is occurring due to continuous refreshing of indices?

We also want to achieve near real time search.

Thanks,  
Ankit Jain

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![shadyabhi](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shadyabhi](https://discuss.elastic.co/u/shadyabhi)\
**Post date:** [May 31, 2013, 9:14am UTC](https://discuss.elastic.co/t/elasticsearch-refresh-interval/12202/2 "2013-05-31T09:14:43Z")

</div>

When it hangs, it might help if you give us the output using hot\_threads  
API.

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Also, you don't need to use an http call to refresh indices. You can just  
provide the option index.refresh\_interval in the index template or  
elasticsearch.yml

On Fri, May 31, 2013 at 1:30 PM, Ankit Jain [ankitjaincs06@gmail.com](mailto:ankitjaincs06@gmail.com) wrote:

> Hi All,
> 
> We are ingesting records continuously on elalsticsearch cluster and also  
> firing search and update queries in parallel.
> 
> We are refreshing elasticsearch indices in every 1 sec using http call.
> 
> As we are observing, the elasticsearch got hung after certain amount of  
> time. Are this problem is occurring due to continuous refreshing of indices?
> 
> We also want to achieve near real time search.
> 
> Thanks,  
> Ankit Jain
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Regards,  
Abhijeet Rastogi (shadyabhi)  
[http://blog.abhijeetr.com](http://blog.abhijeetr.com)

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:33am UTC](https://discuss.elastic.co/t/elasticsearch-refresh-interval/12202/3 "2017-07-06T02:33:39Z")

</div>


