get

operator fun get(range: NumericRange): CategoryResult<NumericRange>?

Returns results for range, or null if no documents matched the range, or if the range was excluded due to the facet's size.

Parameters

range

Range to fetch.


operator fun get(name: String): CategoryResult<NumericRange>?

Returns results for the range named name, or null if no documents matched the range, or if the range was excluded due to the facet's size.

Parameters

name

Name of the range to return.