# How do I handle mapping explosion?

**URL:** <https://discuss.elastic.co/t/how-do-i-handle-mapping-explosion/116914>\
**Category:** Elasticsearch\
**Created:** [January 24, 2018, 7:04pm UTC](https://discuss.elastic.co/t/how-do-i-handle-mapping-explosion/116914 "2018-01-24T19:04:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zachy](https://avatars.discourse-cdn.com/v4/letter/z/9d8465/32.png) [@zachy](https://discuss.elastic.co/u/zachy)\
**Post date:** [January 24, 2018, 7:04pm UTC](https://discuss.elastic.co/t/how-do-i-handle-mapping-explosion/116914/1 "2018-01-24T19:04:49Z")

</div>

I understand that the default index number is 1000, and that increasing it can work in the short term, but is not a viable long term solution, especially if there is a spike in the ingestion of data.

I haven't seen any methods / workaround to this issue. What is the best way to handle explosion mapping? How do I do this?

Thanks

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [January 24, 2018, 7:22pm UTC](https://discuss.elastic.co/t/how-do-i-handle-mapping-explosion/116914/2 "2018-01-24T19:22:26Z")

</div>

Are the mappings static or dynamic?

Some interesting things to note here also: [https://www.elastic.co/guide/en/elasticsearch/reference/6.1/mapping.html#mapping-limit-settings](https://www.elastic.co/guide/en/elasticsearch/reference/6.1/mapping.html#mapping-limit-settings)

---

<div class="post-metadata">

**Author:** ![zachy](https://avatars.discourse-cdn.com/v4/letter/z/9d8465/32.png) [@zachy](https://discuss.elastic.co/u/zachy)\
**Post date:** [January 24, 2018, 7:40pm UTC](https://discuss.elastic.co/t/how-do-i-handle-mapping-explosion/116914/3 "2018-01-24T19:40:28Z")

</div>

They are dynamic.

I did take a look at that link before, but it tells me how Elastic prevents explosion mapping. What I'm looking for is ways to work around this issue, apart from increasing the limit size

---

<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:** [February 21, 2018, 7:41pm UTC](https://discuss.elastic.co/t/how-do-i-handle-mapping-explosion/116914/4 "2018-02-21T19:41:11Z")

</div>

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