Is your feature request related to a problem? Please describe
Currently, the index setting "index.mapping.depth.limit" allows us to specify a maximum depth limit for mapping.
However this limit only causes OpenSearch to reject documents beyond the limit, with the error "The depth of the field has exceeded the allowed limit of [X]. This limit can be set by changing the [index.mapping.depth.limit] index level setting."
While helpful at keeping the OpenSearch cluster performance in check, this limit is difficult to work with if there is data beyond the depth limit that needs to be ingested.
Describe the solution you'd like
Add a setting such as "index.mapping.depth.ignore_fields_beyond_limit: boolean" that allows us to ignore fields beyond the depth limit while still ingesting the document into the index.
Related component
Indexing
Describe alternatives you've considered
No response
Additional context
Originally brought up in the forum here
Is your feature request related to a problem? Please describe
Currently, the index setting "index.mapping.depth.limit" allows us to specify a maximum depth limit for mapping.
However this limit only causes OpenSearch to reject documents beyond the limit, with the error "The depth of the field has exceeded the allowed limit of [X]. This limit can be set by changing the [index.mapping.depth.limit] index level setting."
While helpful at keeping the OpenSearch cluster performance in check, this limit is difficult to work with if there is data beyond the depth limit that needs to be ingested.
Describe the solution you'd like
Add a setting such as "index.mapping.depth.ignore_fields_beyond_limit: boolean" that allows us to ignore fields beyond the depth limit while still ingesting the document into the index.
Related component
Indexing
Describe alternatives you've considered
No response
Additional context
Originally brought up in the forum here