Index template regression when composed of component template with different mapping notations #105482
Labels
>regression
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Description
On 8.11.0+, if we have a component templates that defines a mapping with a different notation than the index template that uses it (dotted notation vs object with property subobject) we get a mapper parsing exception.
A concrete example of this (component template defined as object with property subobject):
While the index template that uses the component template has in the mapping definition the dotted notation:
throws this error:
The same happens if the dotted notation is used in the component template while the object with property subobject is used in the index template.
This was not the case in versions < 8.11.0. The regression was possibly introduced by #97317
The text was updated successfully, but these errors were encountered: