NumericFacetResult

class NumericFacetResult : FacetResult<NumericRange>

Functions

Link copied to clipboard
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.

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.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val categories: List<CategoryResult<NumericRange>>

The categories returned by the server, and the number of query results whose facet field matched each category.

Link copied to clipboard
open override val field: String

The name of the field the facet was built on.

Link copied to clipboard
open override val missing: Long

The number of query results that did not have a value for the facet field.

Link copied to clipboard
open override val name: String

The arbitrary name associated with this facet.

Link copied to clipboard
open override val other: Long

The number of query results that had a value for the facet field, but whose value was not in any of the returned categories.

Link copied to clipboard
open override val total: Long

The number of query results that had a value for the facet field.