# Index Level Setting in 5.2.2 after migration from 2.3.1

**URL:** <https://discuss.elastic.co/t/index-level-setting-in-5-2-2-after-migration-from-2-3-1/87074>\
**Category:** Elasticsearch\
**Created:** [May 25, 2017, 5:32am UTC](https://discuss.elastic.co/t/index-level-setting-in-5-2-2-after-migration-from-2-3-1/87074 "2017-05-25T05:32:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eramitsinha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eramitsinha/32/35032_2.png) [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Post date:** [May 25, 2017, 5:32am UTC](https://discuss.elastic.co/t/index-level-setting-in-5-2-2-after-migration-from-2-3-1/87074/1 "2017-05-25T05:32:40Z")

</div>

Hi,

I am migrating to Elastic Search 5.2.2 from 2.3.1, we have successfully migrated index from 2.3.1 to 5.2.2 through Snapshot and Restore.

I have following Index level settings in 2.3.1(Configured in yml), so will migrated indices have this setting at index of 5.2.2

index.query.bool.max\_clause\_count: 1000000  
index.merge.scheduler.max\_thread\_count: 1  
index.max\_result\_window: 10000

Or do I have to add this setting explicitly on all indices.  
If yes, then what is recommended way from ElasticSearch to assign setting to migrated indices.

Thanks,  
Amit

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 25, 2017, 9:17am UTC](https://discuss.elastic.co/t/index-level-setting-in-5-2-2-after-migration-from-2-3-1/87074/2 "2017-05-25T09:17:41Z")

</div>

Some of those settings are pretty excessive, why do you have them?

You will need to set them per index using the APIs.

---

<div class="post-metadata">

**Author:** ![eramitsinha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eramitsinha/32/35032_2.png) [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Post date:** [May 25, 2017, 4:51pm UTC](https://discuss.elastic.co/t/index-level-setting-in-5-2-2-after-migration-from-2-3-1/87074/3 "2017-05-25T16:51:17Z")

</div>

> [@eramitsinha](#):
>
> index.max\_result\_window: 10000

Thanks for Response.

So suppose I have to apply "index.max\_result\_window: 10000" to indices migrated from 2.3.1 to 5.2.2, so should I Re-Index it?

---

<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:** [June 22, 2017, 4:51pm UTC](https://discuss.elastic.co/t/index-level-setting-in-5-2-2-after-migration-from-2-3-1/87074/4 "2017-06-22T16:51:28Z")

</div>

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