Object to perform composite aggregation, i.e., grouping search results by multiple fields
Name | Type | Description | Notes |
---|---|---|---|
size | int | Maximum number of composite buckets in the result | [optional] |
sources | List[Dict[str, AggCompositeSource]] | [optional] |
from manticoresearch.models.agg_composite import AggComposite
# create an instance of AggComposite from a JSON string
agg_composite_instance = AggComposite.from_json(json)
# print the JSON string representation of the object
print(AggComposite.to_json())
# convert the object into a dict
agg_composite_dict = agg_composite_instance.to_dict()
# create an instance of AggComposite from a dict
agg_composite_from_dict = AggComposite.from_dict(agg_composite_dict)