RangeBucket

fun RangeBucket(    key: String,     docCount: Long,     from: Double? = null,     fromAsString: String? = null,     to: Double? = null,     toAsString: String? = null,     aggs: Map<String, AggregationResult> = emptyMap())