August 2019
Intermediate to advanced
560 pages
13h 41m
English
Obtain the percentage of a given value in the percentiles generated from the numeric field value of the records. This example obtains a measure of the ACWF ETF at the open price of 28.5 in the cf_etf_hist_price index. The result is 51.29%:
"query": { "match": { "symbol": "ACWF"}},"aggs":"open_price_percentile_rank: { "percentile_ranks":{"field":"open","values":28.5}}
Read now
Unlock full access