# Configuring and better understanding index.refresh\_interval for an index updated twice a day

**URL:** <https://discuss.elastic.co/t/configuring-and-better-understanding-index-refresh-interval-for-an-index-updated-twice-a-day/271535>\
**Category:** Elasticsearch\
**Created:** [April 28, 2021, 3:30pm UTC](https://discuss.elastic.co/t/configuring-and-better-understanding-index-refresh-interval-for-an-index-updated-twice-a-day/271535 "2021-04-28T15:30:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Catalin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catalin/32/65314_2.png) [@Catalin](https://discuss.elastic.co/u/Catalin)\
**Post date:** [April 28, 2021, 3:30pm UTC](https://discuss.elastic.co/t/configuring-and-better-understanding-index-refresh-interval-for-an-index-updated-twice-a-day/271535/1 "2021-04-28T15:30:31Z")

</div>

How exactly does `index.refresh_interval` affect search performance ?

I have an index that is updated for 10 mins twice a day. Is it sufficient to refresh it 1 time, once the updating process finishes and disable `index.refresh_interval` for the rest of the time ? Or does the refresh process have other benefits even if the index isn't updated, like rearranging information, rearranging Lucene segments ?

Also, isn't the refresh management system able to see when the index hasn't been updated and not run the refresh process ? And how can this "resource consuming process" run every second ?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 28, 2021, 3:33pm UTC](https://discuss.elastic.co/t/configuring-and-better-understanding-index-refresh-interval-for-an-index-updated-twice-a-day/271535/2 "2021-04-28T15:33:27Z")

</div>

> [@Catalin](#):
>
> Is it sufficient to refresh it 1 time, once the updating process finishes and disable `index.refresh_interval` for the rest of the time ?

Yes.

> [@Catalin](#):
>
> Also, isn't the refresh management system able to see when the index hasn't been updated and not run the refresh process ?

Yes, it's a lightweight no-op if it's not necessary.

---

<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:** [May 26, 2021, 3:34pm UTC](https://discuss.elastic.co/t/configuring-and-better-understanding-index-refresh-interval-for-an-index-updated-twice-a-day/271535/3 "2021-05-26T15:34:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
