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

com.sksamuel.elastic4s.fields.BooleanField.scala Maven / Gradle / Ivy

There is a newer version: 8.15.1
Show newest version
package com.sksamuel.elastic4s.fields

object BooleanField {
  val `type`: String = "boolean"
}

case class BooleanField(name: String,
  boost: Option[Double] = None,
  copyTo: Seq[String] = Nil, // https://www.elastic.co/guide/en/elasticsearch/reference/current/copy-to.html
  docValues: Option[Boolean] = None,
  index: Option[Boolean] = None,
  nullValue: Option[Boolean] = None,
  store: Option[Boolean] = None,
  meta: Map[String, Any] = Map.empty) extends ElasticField {
  override def `type`: String = BooleanField.`type`
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy