Parent-child and Nested datatypes alternatives for ES 6.0 and beyond


(Moises Garcia Marquez) #1

Now that ES 6.0 is just around the corner and as a preparation for typeless mapping in ES 7.0, what alternatives are for parent-child and nested datatypes?

This thread will also be helpful for users of Kibana as part of the ELK stack.


(Martijn Van Groningen) #2

From 6.0, the _parent field mapping will be replaced by the new join field: https://www.elastic.co/guide/en/elasticsearch/reference/5.x/parent-join.html

This new field type is available starting from 5.6.0 to provide upgrading to it prior to moving to 6.0
The has_child, has_parent, parent_id queries remain to work the same and are compatible with the new join field. (same applies for the children aggregation and inner hits)

Nested type hasn't changed and remains to work like before in 6.0 and beyond.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.