Common error when storing docs to Elasticsearch:
RequestError(400, 'illegal_argument_exception', 'Limit of total fields [] in index [] has been exceeded')
Solution (currently done manually): The limit can be increased using Elasticsearch query:
PUT //_settings {"index.mapping.total_fields.limit": }
This error can be handled automatically within the Elasticseach component.
Check for returned errors
Identify the error and parse the current limit.
Identify the number of fields in the current doc (?)
Calculate the new limit: eg. curent doc fileds + margin OR 2 * current limit
Common error when storing docs to Elasticsearch:] in index [] has been exceeded')
RequestError(400, 'illegal_argument_exception', 'Limit of total fields [
Solution (currently done manually): The limit can be increased using Elasticsearch query: PUT //_settings {"index.mapping.total_fields.limit": }
This error can be handled automatically within the Elasticseach component.