NestedQuery

A query that is applicable to nested objects.

Properties

path (string, required)
The path to the nested object.
query (QueryContainer)
Container for all of the allowed Elasticsearch queries. Only one can be specified.
score_mode (string; allowed values: [avg, sum, min, max, none])
Allows to specify how inner children matching affects score of the parent. Refer to the Elasticsearch documentation for details.