Error Setting ignore_dynamic_beyond_limit to false

Hi,
I am trying to set the setting, index.mapping.total_fields.ignore_dynamic_beyond_limit to equal false.

This is mentioned in the documentation here.

When I run the request below, I am getting an error

PUT /test-index/_settings 
{
  "index" : {
       "mapping" : {
         "total_fields" : {
           "ignore_dynamic_beyond_limit": false
           }
       }
     }
}

I am getting the following error:

{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "unknown setting [index.mapping.total_fields.ignore_dynamic_beyond_limit] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "unknown setting [index.mapping.total_fields.ignore_dynamic_beyond_limit] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
  },
  "status": 400
}

I am on Elasticsearch 8.8.1.

From what it sounds like, it sounds like they are saying that index.mapping.total_fields.ignore_dynamic_beyond_limit does not exist, but it's documented many times in the Elasticsearch documentation.

Just bumping this post since I got no response. :slight_smile:

I see that setting in the documentation for version 8.15, but not in the documentation for version 8.8. It looks like it was added in a newer version than you are using, so I would recommend upgrading.