# Can I manage "index.max\_result\_window "on a cluster-by-cluster basis?

**URL:** <https://discuss.elastic.co/t/can-i-manage-index-max-result-window-on-a-cluster-by-cluster-basis/181949>\
**Category:** Elasticsearch\
**Created:** [May 21, 2019, 8:30am UTC](https://discuss.elastic.co/t/can-i-manage-index-max-result-window-on-a-cluster-by-cluster-basis/181949 "2019-05-21T08:30:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xodn0812](https://avatars.discourse-cdn.com/v4/letter/x/c5a1d2/32.png) [@xodn0812](https://discuss.elastic.co/u/xodn0812)\
**Post date:** [May 21, 2019, 8:30am UTC](https://discuss.elastic.co/t/can-i-manage-index-max-result-window-on-a-cluster-by-cluster-basis/181949/1 "2019-05-21T08:30:10Z")

</div>

If I change the `index.max_result_window` value, I need to change it by index.  
However, I want to change the `index.max_result_window` value of all indexes in the cluster.

Is there a way?

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [May 21, 2019, 8:51am UTC](https://discuss.elastic.co/t/can-i-manage-index-max-result-window-on-a-cluster-by-cluster-basis/181949/2 "2019-05-21T08:51:11Z")

</div>

You can apply the settings on all your indexes at once using the [`_all` endpoint](https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-index.html#multi-index):

```
PUT _all/_settings
{
  "index.max_result_window": "20000"
}
```

---

<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 18, 2019, 8:51am UTC](https://discuss.elastic.co/t/can-i-manage-index-max-result-window-on-a-cluster-by-cluster-basis/181949/3 "2019-06-18T08:51:15Z")

</div>

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