August 2019
Intermediate to advanced
560 pages
13h 41m
English
Compute the min, max, sum, count, and avg of the numeric field values of the records in one shot. This example aims to find the stats value of the open price of the ACWF ETF in the cf_etf_hist_price index:
"query": { "match": { "symbol": "ACWF"}},"aggs": {"stats_open_price": {"stats": {"field": "open"}}}
Read now
Unlock full access