com.sksamuel.elastic4s.fields.HalfFloatField.scala Maven / Gradle / Ivy
The newest version!
package com.sksamuel.elastic4s.fields
object HalfFloatField {
val `type`: String = "half_float"
}
case class HalfFloatField(name: String,
boost: Option[Double] = None,
coerce: Option[Boolean] = None,
copyTo: Seq[String] = Nil,
docValues: Option[Boolean] = None,
ignoreMalformed: Option[Boolean] = None,
index: Option[Boolean] = None,
nullValue: Option[Float] = None,
store: Option[Boolean] = None,
meta: Map[String, Any] = Map.empty) extends NumberField[Float] {
override def `type`: String = HalfFloatField.`type`
}