When to use nested type Elasticsearch?
The nested type should only be used in special cases, when arrays of objects need to be queried independently of each other.
Does Elasticsearch support joins?
Instead, Elasticsearch offers two forms of join which are designed to scale horizontally. Documents may contain fields of type nested . These fields are used to index arrays of objects, where each object can be queried (with the nested query) as an independent document.