# Total Fields Limit setting

**URL:** <https://discuss.elastic.co/t/total-fields-limit-setting/53004>\
**Category:** Elasticsearch\
**Created:** [June 16, 2016, 2:17pm UTC](https://discuss.elastic.co/t/total-fields-limit-setting/53004 "2016-06-16T14:17:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![byronvoorbach](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/byronvoorbach/32/8283_2.png) [@byronvoorbach](https://discuss.elastic.co/u/byronvoorbach)\
**Post date:** [June 16, 2016, 2:30pm UTC](https://discuss.elastic.co/t/total-fields-limit-setting/53004/2 "2016-06-16T14:30:31Z")

</div>

Hi Roger,

This was implemented in the following Github [issue](https://github.com/elastic/elasticsearch/pull/17357)  
The setting you referenced to was the correct one, but it's an index specific setting 🙂  
You can update it after the index has been created, though.

For example:

```
PUT my_index/_settings
{
  "index.mapping.total_fields.limit": 2000
}

```

Or during index creation:

```
PUT test
{
  "settings": {
    "index.mapping.total_fields.limit": 2000,
    "number_of_shards": 1,
    "number_of_replicas": 0
  },
  "mappings": {
    ...
  }
}

```

Hope this helps 😃

---

_[View the full topic](https://discuss.elastic.co/t/total-fields-limit-setting/53004)._
