# Setting Index.max\_result\_window to less than default value

**URL:** <https://discuss.elastic.co/t/setting-index-max-result-window-to-less-than-default-value/305305>\
**Category:** Elasticsearch\
**Created:** [May 20, 2022, 5:25pm UTC](https://discuss.elastic.co/t/setting-index-max-result-window-to-less-than-default-value/305305 "2022-05-20T17:25:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kishore\_Pothireddy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kishore_pothireddy/32/102497_2.png) [@Kishore\_Pothireddy](https://discuss.elastic.co/u/Kishore_Pothireddy)\
**Post date:** [May 20, 2022, 5:25pm UTC](https://discuss.elastic.co/t/setting-index-max-result-window-to-less-than-default-value/305305/1 "2022-05-20T17:25:53Z")

</div>

Hi,  
I would like to know if there will be any performance improvement if we set the Index.max\_result\_window to 5000 upfront and adverse effects if any in doing so.  
Can someone pls explain?

Thank you.

---

<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 17, 2022, 5:26pm UTC](https://discuss.elastic.co/t/setting-index-max-result-window-to-less-than-default-value/305305/2 "2022-06-17T17:26:06Z")

</div>

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