AggTerms

October 23, 2025 ยท View on GitHub

Object containing term fields to aggregate on

Properties

NameTypeDescriptionNotes
var_fieldstrName of attribute to aggregate by
sizeintMaximum number of buckets in the result[optional]

Example

from manticoresearch.models.agg_terms import AggTerms

# TODO update the JSON string below
json = "{}"
# create an instance of AggTerms from a JSON string
agg_terms_instance = AggTerms.from_json(json)
# print the JSON string representation of the object
print(AggTerms.to_json())

# convert the object into a dict
agg_terms_dict = agg_terms_instance.to_dict()
# create an instance of AggTerms from a dict
agg_terms_from_dict = AggTerms.from_dict(agg_terms_dict)

[Back to Model list] [Back to API list] [Back to README]