TermBucket

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