FacetFilterValue

data class FacetFilterValue<T>(bucket: <ERROR CLASS><T>, selected: Boolean)

FacetFilterValue represents bucket of the corresponding terms aggregation.

Parameters

bucket
  • corresponding aggregation bucket

selected
  • flag whether the value is selected

Constructors

FacetFilterValue
Link copied to clipboard
fun <T> FacetFilterValue(bucket: <ERROR CLASS><T>, selected: Boolean)
  • corresponding aggregation bucket

Properties

aggs
Link copied to clipboard
open val aggs: Map<String, <ERROR CLASS>>
bucket
Link copied to clipboard
val bucket: <ERROR CLASS><T>
  • corresponding aggregation bucket

count
Link copied to clipboard
val count: Long
Number of the documents that have such a value
selected
Link copied to clipboard
val selected: Boolean
  • flag whether the value is selected

value
Link copied to clipboard
val value: T
Value of the FacetFilter