[Elasticsearch] es 7.12 Root mapping definition has unsupported parameters: _all

1. Scenario 1

1.1 general

An environment was upgraded from ES 6.8 to es 7.12, and then I executed a rollover API and found that an error could not be reported successfully.

Root mapping definition has unsupported parameters: _ all

Finally, I checked the template and found that the old template has_ All field, just remove this. This is not supported in the new version


Read More: