# Getting error index.max\_inner\_result\_window during rolling upgrade of ES from 5.6.10 to 6.8.10

**URL:** <https://discuss.elastic.co/t/getting-error-index-max-inner-result-window-during-rolling-upgrade-of-es-from-5-6-10-to-6-8-10/242210>\
**Category:** Elasticsearch\
**Created:** [July 22, 2020, 2:12pm UTC](https://discuss.elastic.co/t/getting-error-index-max-inner-result-window-during-rolling-upgrade-of-es-from-5-6-10-to-6-8-10/242210 "2020-07-22T14:12:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![het](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@het](https://discuss.elastic.co/u/het)\
**Post date:** [July 22, 2020, 2:12pm UTC](https://discuss.elastic.co/t/getting-error-index-max-inner-result-window-during-rolling-upgrade-of-es-from-5-6-10-to-6-8-10/242210/1 "2020-07-22T14:12:08Z")

</div>

Hi team,

I have **2 data nodes and 3 master nodes** in an ES cluster. I was doing a rolling upgrade as ES suggested moving from 5.6.10 to 6.8.10.

As there should be zero downtime, I was testing that and getting one error.

I have upgraded the 1 data node and do basic search testing. It is working fine. When I have upgraded 2nd node search is breaking with the below Error.

`java.lang.IllegalArgumentException: Top hits result window is too large, the top hits aggregator [top]'s from + size must be less than or equal to: [100] but was [999]. This limit can be set by changing the [index.max_inner_result_window] index level setting.`

**index.max\_inner\_result\_window** -- This property was introduced in the 6.X version, and the master node is still on 5.6.10. So what will be the solution with 0 downtimes?

Note: My indexing is stopped completely.

Thanks,  
Het

---

<div class="post-metadata">

**Author:** ![het](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@het](https://discuss.elastic.co/u/het)\
**Post date:** [July 24, 2020, 1:09pm UTC](https://discuss.elastic.co/t/getting-error-index-max-inner-result-window-during-rolling-upgrade-of-es-from-5-6-10-to-6-8-10/242210/2 "2020-07-24T13:09:12Z")

</div>

Hi @elasticsearch,

Can anybody help to solve the problem?

---

<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 21, 2020, 1:09pm UTC](https://discuss.elastic.co/t/getting-error-index-max-inner-result-window-during-rolling-upgrade-of-es-from-5-6-10-to-6-8-10/242210/3 "2020-08-21T13:09:13Z")

</div>

Closed on August 21, 2020, 1:09pm UTC

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