We have recently update to ElasticSearch 8 and since we can see following errors:
dynamic template [template_meta_types] has invalid content, attempted to validate it with the following match_mapping_type:
[object, string, long, double, boolean, date, binary], last error:[Unknown mapping attributes [{path=full}].
The relevant portion of the mapping is:
{
"template_meta_types" : {
"path_match" : "meta.*",
"mapping" : {
"path" : "full",
"properties" : {
"date" : {
"format" : "yyyy-MM-dd",
"type" : "date"
},
},
{…},
"type" : "object"
}
}
}
As I took over managing the ES server, I am not entirely sure the reason for this as this field seems to be either deprecated or removed.
What is the correct solution for this? Should I completely remove this field? What would be the correct way?