Hi,
We are defining mappings within index templates in Elastic. In V6.x, I could PUT the following JSON to make a template:
Now when I try to create the same exact template in V7.x, I get the error message:
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [item : {properties={search_all={search_analyzer=search_analyzer, analyzer=index_analyzer, type=text}}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [item : {properties={search_all={search_analyzer=search_analyzer, analyzer=index_analyzer, type=text}}}]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [item : {properties={search_all={search_analyzer=search_analyzer, analyzer=index_analyzer, type=text}}}]"
}
},
"status": 400
}
Can I set include_type_name to true within my template? How do I migrate the mappings from my templates into V7.x?
Thanks