AggHistogram

October 22, 2025 ยท View on GitHub

Object to use histograms in aggregation, i.e., grouping search results by histogram values

Properties

NameTypeDescriptionNotes
fieldStringField to group by
intervalIntegerInterval of the histogram values
offsetIntegerOffset of the histogram values. Default value is 0.[optional]
keyedBooleanFlag that defines if a search response will be a dictionary with the bucket keys. Default value is false.[optional]