Mapping inheritance in elasticsearch

There is another very good feature in the mappings in es. Properties from the default type are automatically inherited by special types you define. Let’s assume the following json used to create an index.

That creates an index with the following metadata.

As you see the properties and dynamic templates are also present in the specialized types now.

GD Star Rating
Mapping inheritance in elasticsearch, 7.8 out of 10 based on 5 ratings

Kommentar verfassen