August 2019
Intermediate to advanced
560 pages
13h 41m
English
The purpose of this is to perform aggregation on the field of the nested object pointing by the path parameter, following grouping by the field of the parent document:
"aggs": {"per_symbol":{"terms": {"field":"symbol", "size":3},"aggs":{"total_dividend": { "nested": {"path":"announcement"},"aggs": {"total_amount": {"sum": {"field": "announcement.amount"}}}}}}}
Read now
Unlock full access