dateHistogram

fun dateHistogram(field: String, unit: AggregationDateUnit, alias: String, timeZone: ZoneId = UTC, dense: Boolean = false, scope: AggregationGroupScope? = null)
fun dateHistogram(field: QueryField<*>, unit: AggregationDateUnit, alias: String, timeZone: ZoneId = UTC, dense: Boolean = false, scope: AggregationGroupScope? = null)