# Can't get index.max\_result\_window for Elasticsearch 7 working

**URL:** <https://discuss.elastic.co/t/cant-get-index-max-result-window-for-elasticsearch-7-working/235189>\
**Category:** Elasticsearch\
**Created:** [June 1, 2020, 2:51pm UTC](https://discuss.elastic.co/t/cant-get-index-max-result-window-for-elasticsearch-7-working/235189 "2020-06-01T14:51:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexey\_Pshenichnov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexey_pshenichnov/32/69503_2.png) [@Alexey\_Pshenichnov](https://discuss.elastic.co/u/Alexey_Pshenichnov)\
**Post date:** [June 1, 2020, 2:51pm UTC](https://discuss.elastic.co/t/cant-get-index-max-result-window-for-elasticsearch-7-working/235189/1 "2020-06-01T14:51:36Z")

</div>

For some reason I cannot set **index.max\_result\_window** from [https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#dynamic-index-settings](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#dynamic-index-settings)

I have tried different options like  
`PUT /articles/_settings { "max_result_window" : 25000 }`  
and I can see that it was set when I run

`GET /articles/_settings`

but still, when I run any search like _match\_all_ I get only 10000 results back.

I'm aware about all memory complications associated with it but I have pretty small index less than 25K documents so I would like to enable it

Any suggestions what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![opanaaa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/opanaaa/32/70129_2.png) [@opanaaa](https://discuss.elastic.co/u/opanaaa)\
**Post date:** [June 11, 2020, 8:43am UTC](https://discuss.elastic.co/t/cant-get-index-max-result-window-for-elasticsearch-7-working/235189/2 "2020-06-11T08:43:13Z")

</div>

try  
PUT \_all/\_settings

{ "index" :

{ "max\_result\_window" : 25000

}

}

---

<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:** [July 9, 2020, 8:43am UTC](https://discuss.elastic.co/t/cant-get-index-max-result-window-for-elasticsearch-7-working/235189/3 "2020-07-09T08:43:30Z")

</div>

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