# Closing and reopening index

**URL:** <https://discuss.elastic.co/t/closing-and-reopening-index/111037>\
**Category:** Elasticsearch\
**Created:** [December 11, 2017, 8:58am UTC](https://discuss.elastic.co/t/closing-and-reopening-index/111037 "2017-12-11T08:58:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hemanth\_Gowda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hemanth_gowda/32/23886_2.png) [@Hemanth\_Gowda](https://discuss.elastic.co/u/Hemanth_Gowda)\
**Post date:** [December 11, 2017, 8:58am UTC](https://discuss.elastic.co/t/closing-and-reopening-index/111037/1 "2017-12-11T08:58:35Z")

</div>

Hi,

What are the pros and cons of closing and reopening of an index.I am using this for updating my synonyms file. Will it have any impact on performance perspective of cluster.I have gone through below link.But didn't find any performance related impacts.

[https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html)

And also when reopen index i am seeing "**Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[appliancesynonym][0]] ...]).**" .  
Seems like it is restarting the shards.Will it have impact on other indexes when i close one particular index.

Regards,  
Hemanth

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [December 15, 2017, 10:52am UTC](https://discuss.elastic.co/t/closing-and-reopening-index/111037/2 "2017-12-15T10:52:29Z")

</div>

if you close your index we basically drop all in-memory representations of it and unload the index. If you reopen it then we go an reload these structures. Now, once you do that none of the shards are allocated so the cluster turns red for a second. The only impact it has on perf is that you can't search on this index while you close /reopen it.

---

<div class="post-metadata">

**Author:** ![Hemanth\_Gowda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hemanth_gowda/32/23886_2.png) [@Hemanth\_Gowda](https://discuss.elastic.co/u/Hemanth_Gowda)\
**Post date:** [December 20, 2017, 10:02am UTC](https://discuss.elastic.co/t/closing-and-reopening-index/111037/3 "2017-12-20T10:02:02Z")

</div>

> [@s1monw](#):
>
> The only impact it has on perf

Thanks for the information

---

<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:** [January 17, 2018, 10:02am UTC](https://discuss.elastic.co/t/closing-and-reopening-index/111037/4 "2018-01-17T10:02:13Z")

</div>

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