concept has_child in category elasticsearch
appears as: has_child

This is an excerpt from Manning's book Elasticsearch in Action.
With parent-child relationships, you can use completely different Elasticsearch documents by putting them in different types and defining their relationship in the mapping of each type. For example, you can have events in one mapping type and groups in another and you can specify in the mapping that groups are parents of events. Also, when you index an event, you can point it to the group that it belongs to, as in figure 8.3. At search time, you can use has_parent or has_child queries and filters to take the other part of the relationship into account. We’ll discuss them later in this chapter as well.