Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1 KB

AggComposite.md

File metadata and controls

29 lines (20 loc) · 1 KB

AggComposite

Object to perform composite aggregation, i.e., grouping search results by multiple fields

Properties

Name Type Description Notes
size int Maximum number of composite buckets in the result [optional]
sources List[Dict[str, AggCompositeSource]] [optional]

Example

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)

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