# Increasing 'index.mapping.nested\_objects.limit' setting's value has no effect

**URL:** <https://discuss.elastic.co/t/increasing-index-mapping-nested-objects-limit-settings-value-has-no-effect/228242>\
**Category:** Elasticsearch\
**Created:** [April 16, 2020, 5:00am UTC](https://discuss.elastic.co/t/increasing-index-mapping-nested-objects-limit-settings-value-has-no-effect/228242 "2020-04-16T05:00:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elastic2](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@elastic2](https://discuss.elastic.co/u/elastic2)\
**Post date:** [April 16, 2020, 5:00am UTC](https://discuss.elastic.co/t/increasing-index-mapping-nested-objects-limit-settings-value-has-no-effect/228242/1 "2020-04-16T05:00:51Z")

</div>

Hello,

I am facing an issue, where i get the exception:

```auto
{
                "type": "mapper_parsing_exception",
                "reason": "The number of nested documents has exceeded the allowed limit of [10000]. This limit can be set by changing the [index.mapping.nested_objects.limit] index level setting."
 }

```

Even after increasing the limit suffeciently, and verifying that index settings have the changed value, i still get the above exception.

i checked the exception at prompt which executes elasticsearch , and it outputs this:

```auto
index {[temp_index][_doc][8K1CgXEBlO2SsOcq_eU6], source[n/a, actual length: [8.9mb], max length: 2kb]}
org.elasticsearch.index.mapper.MapperParsingException: The number of nested documents has exceeded the allowed limit of [10000]. This limit can be set by changing the [index.mapping.nested_objects.limit] index level setting.

```

It looks the setting does not have any effect?  
Also, i think this message : `actual length: [8.9mb], max length: 2kb]}`  
has anything to do with the exception?

Please let me know how do i solve this.  
Thanks.

---

<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:** [May 14, 2020, 5:00am UTC](https://discuss.elastic.co/t/increasing-index-mapping-nested-objects-limit-settings-value-has-no-effect/228242/2 "2020-05-14T05:00:56Z")

</div>

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