SignificantTermBucket

data class SignificantTermBucket<T>(val key: T, val docCount: Long, val bgCount: Long, val score: Float, val docCountErrorUpperBound: Long? = null, val aggs: Map<String, AggregationResult> = emptyMap()) : KeyedBucket<T>

Constructors

Link copied to clipboard
fun <T> SignificantTermBucket(key: T, docCount: Long, bgCount: Long, score: Float, docCountErrorUpperBound: Long? = null, aggs: Map<String, AggregationResult> = emptyMap())

Functions

Link copied to clipboard
inline fun <A : AggregationResult> agg(name: String): A
Link copied to clipboard
inline fun <A : AggregationResult> aggIfExists(name: String): A?

Properties

Link copied to clipboard
open override val aggs: Map<String, AggregationResult>
Link copied to clipboard
Link copied to clipboard
open override val docCount: Long
Link copied to clipboard
Link copied to clipboard
open override val key: T
Link copied to clipboard