Elasticsearch Aggregations - GetArgon.io
getargon.io › elasticsearch-aggregationsThe following is the format of an aggregation request without a query. We have an object definition for aggregation (or short form aggs), which defines a field called count consisting of the value_count metric over the column called first_name. We also set the size to 0 to indicate that we are not interested in the hits comprising the aggregation.