AggBucket

August 4, 2026 ยท View on GitHub

Single bucket in an aggregation result

Properties

NameTypeDescriptionNotes
keyobject[optional]
doc_countintNumber of documents in the bucket
statusFacetBucketStatus[optional]

Example

from manticoresearch.models.agg_bucket import AggBucket

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

# convert the object into a dict
agg_bucket_dict = agg_bucket_instance.to_dict()
# create an instance of AggBucket from a dict
agg_bucket_from_dict = AggBucket.from_dict(agg_bucket_dict)

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