What is a term aggregation in Elasticsearch?
A term aggregation is an aggregation type in Elasticsearch that is used to group documents based on the values of a specific field. This aggregation is useful for analyzing the distribution of data across different categories or terms. When a term aggregation is executed, Elasticsearch groups the documents in the result set based on the … Read more