August 2019
Intermediate to advanced
560 pages
13h 41m
English
The purpose of this is to group results in buckets based on the field values. It provides a document count for each field value:
"aggs":{"terms_on_rating": {"terms":{"field":"rating"}}}
"terms_on_rating": {"doc_count_error_upper_bound": 0,"sum_other_doc_count": 0,"buckets": [{"key": 3,"doc_count": 77},{"key": 4,"doc_count": 69},{"key": 2,"doc_count": ...Read now
Unlock full access