# Closed index error

**URL:** <https://discuss.elastic.co/t/closed-index-error/142557>\
**Category:** Elasticsearch\
**Created:** [August 1, 2018, 11:54am UTC](https://discuss.elastic.co/t/closed-index-error/142557 "2018-08-01T11:54:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rso249](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rso249/32/41992_2.png) [@rso249](https://discuss.elastic.co/u/rso249)\
**Post date:** [August 1, 2018, 11:54am UTC](https://discuss.elastic.co/t/closed-index-error/142557/1 "2018-08-01T11:54:54Z")

</div>

Dear all, latelly I get the following unexpected error: index\_closed\_exception. I dont really why... I recently have also added alias names to my indexes. Is that causing the problem? After I recreate the indexes I am also setting the following : index.max\_result\_window = 100.000.  
I am using Elastic Search 5.6.8

Thank you!

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 2, 2018, 9:23am UTC](https://discuss.elastic.co/t/closed-index-error/142557/2 "2018-08-02T09:23:50Z")

</div>

This means, that someone closed the index - which means you cannot search or index against this index anymore.

You can just try to open your index again and then searches should work. Also you should find out what closed this index. Must have been some script or maybe curator?

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

---

<div class="post-metadata">

**Author:** ![rso249](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rso249/32/41992_2.png) [@rso249](https://discuss.elastic.co/u/rso249)\
**Post date:** [August 2, 2018, 1:52pm UTC](https://discuss.elastic.co/t/closed-index-error/142557/3 "2018-08-02T13:52:33Z")

</div>

Thank you. I really dont know what closed my Index. Only our application creates the index and the data. I am really worried about that.. I have ES for 2 years and it happened the last months. The only changes that I dod make was to add alliases to my indexes and setting index.max\_result\_window = 100.000 from the application after I create the index. Then I run a indexing task to reindex all the data...

I think about to set **cluster.indices.close.enable** to false... thanks for the link

---

<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:** [August 30, 2018, 1:52pm UTC](https://discuss.elastic.co/t/closed-index-error/142557/4 "2018-08-30T13:52:36Z")

</div>

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