$_name
$_name : string
Class Range.
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 |
addRange(integer|float $fromValue = null, integer|float $toValue = null, string $key = null) : $this
Add a range to this aggregation.
integer|float | $fromValue | low end of this range, exclusive (greater than or equal to) |
integer|float | $toValue | high end of this range, exclusive (less than) |
string | $key | customized key value |