# Search counts changing while refresh is disabled

**URL:** <https://discuss.elastic.co/t/search-counts-changing-while-refresh-is-disabled/25507>\
**Category:** Elasticsearch\
**Created:** [July 14, 2015, 9:47am UTC](https://discuss.elastic.co/t/search-counts-changing-while-refresh-is-disabled/25507 "2015-07-14T09:47:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![orenor](https://avatars.discourse-cdn.com/v4/letter/o/e95f7d/32.png) [@orenor](https://discuss.elastic.co/u/orenor)\
**Post date:** [July 14, 2015, 9:47am UTC](https://discuss.elastic.co/t/search-counts-changing-while-refresh-is-disabled/25507/1 "2015-07-14T09:47:28Z")

</div>

Hello,  
I've set my cluster configuration to have refresh\_interval = -1 so I can ask for explicit refresh after completing my index update. This is to avoid numbers changing for users while making queries (count typed) until completing the update and calling refresh.  
Unfortunately query results keep changing even though refresh is not being called at all.

Is there something I'm missing?  
According to documentation, new documents (updated documents are also new in a way) should not be visible until refresh is being performed.

Thanks,  
Oren

---

<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, 12:01am UTC](https://discuss.elastic.co/t/search-counts-changing-while-refresh-is-disabled/25507/2 "2017-07-06T00:01:37Z")

</div>


