# Elasticsearch version 7.17 - reindex with important nested documents

**URL:** <https://discuss.elastic.co/t/elasticsearch-version-7-17-reindex-with-important-nested-documents/366301>\
**Category:** Logs\
**Created:** [September 10, 2024, 9:28am UTC](https://discuss.elastic.co/t/elasticsearch-version-7-17-reindex-with-important-nested-documents/366301 "2024-09-10T09:28:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ulyss](https://avatars.discourse-cdn.com/v4/letter/u/90ced4/32.png) [@Ulyss](https://discuss.elastic.co/u/Ulyss)\
**Post date:** [September 10, 2024, 9:28am UTC](https://discuss.elastic.co/t/elasticsearch-version-7-17-reindex-with-important-nested-documents/366301/1 "2024-09-10T09:28:08Z")

</div>

The aim is to reindex an index (from a backup of an ES6.8 version) with important nested documents.

The max\_result\_window parameter was increased, but without success.  
I still get the error:  
`The number of nested documents has exceeded the allowed limit [10000].`  
Question:

- Is there a limit to the max\_result\_window parameter?
- What other solutions are there (bearing in mind that my other indexes in the same cluster reindex correctly)?

---

<div class="post-metadata">

**Author:** ![Ulyss](https://avatars.discourse-cdn.com/v4/letter/u/90ced4/32.png) [@Ulyss](https://discuss.elastic.co/u/Ulyss)\
**Post date:** [September 10, 2024, 12:25pm UTC](https://discuss.elastic.co/t/elasticsearch-version-7-17-reindex-with-important-nested-documents/366301/2 "2024-09-10T12:25:11Z")

</div>

I thinch I find the solution : the parameter index.mapping.nested\_fields.limit.

```auto
PUT my_index\_settings
{
 "index.mapping.nested_fields.limit": my_max_value
}

```
