Total Fields Limit setting

Hi Roger,

This was implemented in the following Github issue
The setting you referenced to was the correct one, but it's an index specific setting :slight_smile:
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 :smiley:

13 Likes