October 2019
Beginner
186 pages
5h 39m
English
The min aggregation returns the minimum of the numeric values extracted from a document. In the following example, we are fetching the minimum value for the price field:
POST /sales/_search?size=0{ "aggs": { "min_price": { "min": { "field": "price" } } }}
Read now
Unlock full access