# How are Index Limits Reached?

**URL:** <https://discuss.elastic.co/t/how-are-index-limits-reached/304489>\
**Category:** Elasticsearch\
**Created:** [May 11, 2022, 4:38pm UTC](https://discuss.elastic.co/t/how-are-index-limits-reached/304489 "2022-05-11T16:38:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ezekiel.buck](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@ezekiel.buck](https://discuss.elastic.co/u/ezekiel.buck)\
**Post date:** [May 11, 2022, 4:38pm UTC](https://discuss.elastic.co/t/how-are-index-limits-reached/304489/1 "2022-05-11T16:38:50Z")

</div>

I'm attempting to estimate a reasonable limit to the index mappings variable and I'm in dire need of knowledge regarding what all contributes to the limit (I've read field/object mappings and field aliases go toward this limit, but I'm unsure what those look like).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 11, 2022, 11:14pm UTC](https://discuss.elastic.co/t/how-are-index-limits-reached/304489/2 "2022-05-11T23:14:24Z")

</div>

Welcome to our community! 😃

Are you referring to the number of mapped fields in an index, as per [Mapping limit settings | Elasticsearch Guide [8.2] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.2/mapping-settings-limit.html)?

---

<div class="post-metadata">

**Author:** ![ezekiel.buck](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@ezekiel.buck](https://discuss.elastic.co/u/ezekiel.buck)\
**Post date:** [May 12, 2022, 1:57pm UTC](https://discuss.elastic.co/t/how-are-index-limits-reached/304489/3 "2022-05-12T13:57:22Z")

</div>

Yeah, that is the limit I'm going past

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 16, 2022, 12:36am UTC](https://discuss.elastic.co/t/how-are-index-limits-reached/304489/4 "2022-05-16T00:36:40Z")

</div>

Take a look at the `_mapping` endpoint on the index you are getting these warnings from. This will show you the fields that are being created and causing the warning.

---

<div class="post-metadata">

**Author:** ![ezekiel.buck](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@ezekiel.buck](https://discuss.elastic.co/u/ezekiel.buck)\
**Post date:** [May 16, 2022, 2:08pm UTC](https://discuss.elastic.co/t/how-are-index-limits-reached/304489/5 "2022-05-16T14:08:11Z")

</div>

Yep, I've taken a look at the `/_mapping/<index name>` endpoint. I've made a preliminary guess at how to predict the number of mapping index slots(?) that are being used by counting the number of times `"type"` (including the quotes) is used. This isn't an exact number though, its usually ~4 below what is required for the index to not throw errors.

---

<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 13, 2022, 2:08pm UTC](https://discuss.elastic.co/t/how-are-index-limits-reached/304489/6 "2022-06-13T14:08:14Z")

</div>

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