Module joining

Source
Expand description

Performing full SQL-style joins in a distributed system like Elasticsearch is prohibitively expensive. Instead, Elasticsearch offers two forms of join which are designed to scale horizontally.

https://www.elastic.co/guide/en/elasticsearch/reference/current/joining-queries.html

Structsยง

HasChildQuery
Returns parent documents whose joined child documents match a provided query. You can create parent-child relationships between documents in the same index using a join field mapping.
HasParentQuery
Returns child documents joined to a specific parent document. You can use a join field mapping to create parent-child relationships between documents in the same index.
NestedQuery
Wraps another query to search nested fields.
ParentIdQuery
Returns child documents joined to a specific parent document. You can use a join field mapping to create parent-child relationships between documents in the same index.