Homepage

AggregationTypeEnum

Last edit: Nov 10, 2026

Kind of aggregation computed for a field

enum AggregationTypeEnum {
  avg
  max
  min
  terms
}

Values

avg

Returns the average value of the field among the matching documents

max

Returns the maximum value of the field among the matching documents

min

Returns the minimum value of the field among the matching documents

terms

Groups the matching documents into one bucket per unique value of the field and counts the documents in each bucket

Questions?

We are always happy to help with any questions you may have.

contact us