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

com.sksamuel.elastic4s.requests.searches.queries.ExistsQuery.scala Maven / Gradle / Ivy

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

case class ExistsQuery(field: String, boost: Option[Double] = None, queryName: Option[String] = None) extends Query {

  def boost(boost: Double): ExistsQuery = copy(boost = Option(boost))
  def withBoost(boost: Double): ExistsQuery = copy(boost = Option(boost))

  def queryName(queryName: String): ExistsQuery = copy(queryName = Option(queryName))
  def withQueryName(queryName: String): ExistsQuery = copy(queryName = Option(queryName))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy