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

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

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

case class SpanFieldMaskingQuery(field: String, query: SpanQuery, boost: Option[Double] = None, queryName: Option[String] = None)
  extends SpanQuery {

  def boost(boost: Double): SpanFieldMaskingQuery = copy(boost = Option(boost))
  def queryName(queryName: String): SpanFieldMaskingQuery = withQueryName(queryName)
  def withQueryName(queryName: String): SpanFieldMaskingQuery = copy(queryName = Option(queryName))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy