FacetResult

interface FacetResult<T : Category>

Parameters

T

For a numeric facet, this is NumericRange. For a date facet, it's DateRange. For a term facet, it's FrequentTerm.

Properties

Link copied to clipboard
abstract val categories: List<CategoryResult<T>>

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

Link copied to clipboard
abstract val field: String

The name of the field the facet was built on.

Link copied to clipboard
abstract val missing: Long

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

Link copied to clipboard
abstract val name: String

The arbitrary name associated with this facet.

Link copied to clipboard
abstract 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
abstract val total: Long

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

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard