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

com.sksamuel.elastic4s.requests.searches.span.SpanTermQuery.scala Maven / Gradle / Ivy

The newest version!
package com.sksamuel.elastic4s.requests.searches.span

case class SpanTermQuery(field: String, value: Any, queryName: Option[String] = None, boost: Option[Double] = None)
  extends SpanQuery {

  def boost(boost: Double): SpanTermQuery = copy(boost = Some(boost))
  def queryName(queryName: String): SpanTermQuery = copy(queryName = Some(queryName))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy