All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.elastic4s.requests.searches.aggs.HistogramOrder.scala Maven / Gradle / Ivy

There is a newer version: 8.15.4
Show newest version
package com.sksamuel.elastic4s.requests.searches.aggs

case class HistogramOrder(name: String, asc: Boolean)

object HistogramOrder {
  val KEY_ASC    = HistogramOrder("_key", asc = true)
  val KEY_DESC   = HistogramOrder("_key", asc = false)
  val COUNT_ASC  = HistogramOrder("_count", asc = true)
  val COUNT_DESC = HistogramOrder("_count", asc = false)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy