elasticsearch Indicates the aggregation query

kritos 注册会员
2023-02-28 10:08

There are three common types of aggregation:

Bucket aggregation: Used to group documents

Termaguid: Grouped by document field values, e.g., by brand value, by country

Date Histogram: histogram by date ladder, such as one week or one month

Metric aggregation: Used to calculate values such as maximum, minimum, average, etc.

Avg: average value

Max: Find the maximum value

Min: Find the minimum value

Stats: max, min, avg, sum, etc.

pipeline aggregation: Do aggregation based on other aggregation results
Is it possible to add

when defining aggregation buckets?

About the Author

Question Info

Publish Time
2023-02-28 10:08
Update Time
2023-02-28 10:08