TermBucket

fun <T> TermBucket(key: T & Any, docCount: Long, docCountErrorUpperBound: Long? = null, aggs: Map<String, AggregationResult> = emptyMap())