addRange()
addRange(integer|float $fromValue = null, integer|float $toValue = null, string $key = null) : $this
Add a range to this aggregation.
Parameters
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 |
Throws
- \Elastica\Exception\InvalidException