Skip to main content

BucketAggregation

Properties

NameTypeDescriptionNotes
namestringThe name of the bucket aggregate to be included in the result.[default to undefined]
type(optional) BucketType[default to undefined]
fieldstringThe field to bucket on. Prefix the field name with '@' to reference a nested object.[default to undefined]
size(optional) numberMaximum number of buckets to include.[default to undefined]
minDocCount(optional) numberMinimum number of documents a bucket should have.[default to undefined]