August 2019
Intermediate to advanced
560 pages
13h 41m
English
The purpose of this is to perform aggregation with all documents in the index by ignoring the query:
"query":{"prefix": {"family":"iShares"}},"aggs": {"ishares_avg_rating": {"avg": {"field":"rating"}},"overall_avg_rating": {"global":{}, "aggs":{"global_avg_rating":{"avg":{"field":"rating"}}}}}
"overall_avg_rating": {"doc_count": 314,"global_avg_rating": {"value": 3.2489451476793247}}, "ishares_avg_rating": {"value": 3.311111111111111}
Read now
Unlock full access