$_name
$_name : string
Class Terms.
This function can be used to handle params for queries, filter
setScript(string|\Elastica\Script\AbstractScript $script) : $this
Set a script for this aggregation.
string|\Elastica\Script\AbstractScript | $script |
addAggregation(\Elastica\Aggregation\AbstractAggregation $aggregation) : $this
Add a sub-aggregation.
\Elastica\Aggregation\AbstractAggregation | $aggregation |