# Index.mapping.total\_fields.limit for multiple indices in an elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/index-mapping-total-fields-limit-for-multiple-indices-in-an-elasticsearch-cluster/264101>\
**Category:** Elasticsearch\
**Created:** [February 12, 2021, 9:18am UTC](https://discuss.elastic.co/t/index-mapping-total-fields-limit-for-multiple-indices-in-an-elasticsearch-cluster/264101 "2021-02-12T09:18:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deb/32/46162_2.png) [@Deb](https://discuss.elastic.co/u/Deb)\
**Post date:** [February 12, 2021, 9:18am UTC](https://discuss.elastic.co/t/index-mapping-total-fields-limit-for-multiple-indices-in-an-elasticsearch-cluster/264101/1 "2021-02-12T09:18:22Z")

</div>

How does [index.mapping.total\_field.limit](https://www.elastic.co/guide/en/elasticsearch/reference/7.7/mapping.html#mapping-limit-settings) works with multiple indices in an elasticsearch cluster?

Let's say if I need to increase the `index.mapping.total_field.limit` from the default 1000 to 2000 then will it be better to split the indices into two (in the same elasticsearch cluster) with each having `index.mapping.total_field.limit` set to the default 1000.

Elasticsearch Version - 7.7.1

---

<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:** [February 14, 2021, 11:14pm UTC](https://discuss.elastic.co/t/index-mapping-total-fields-limit-for-multiple-indices-in-an-elasticsearch-cluster/264101/2 "2021-02-14T23:14:25Z")

</div>

That setting applies _per index_, so you can have (eg) 2 indices with less than the limit, 2 with 2000, 1 with 3000 etc.

---

<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:** [March 14, 2021, 11:15pm UTC](https://discuss.elastic.co/t/index-mapping-total-fields-limit-for-multiple-indices-in-an-elasticsearch-cluster/264101/3 "2021-03-14T23:15:00Z")

</div>

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