case class ConjunctionQuery(queries: Seq[SearchQuery] = Seq.empty, field: Option[String] = None, boost: Option[Double] = None) extends AbstractCompoundQuery with Product with Serializable

A compound FTS query that performs a logical AND between all its sub-queries (conjunction).

Since

1.0.0

Linear Supertypes
Serializable, Serializable, Product, Equals, AbstractCompoundQuery, SearchQuery, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConjunctionQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AbstractCompoundQuery
  7. SearchQuery
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConjunctionQuery(queries: Seq[SearchQuery] = Seq.empty, field: Option[String] = None, boost: Option[Double] = None)

Value Members

  1. def and(queries: SearchQuery*): ConjunctionQuery

    Adds more sub-queries to the conjunction.

    Adds more sub-queries to the conjunction.

    returns

    a copy of this, for chaining

  2. def boost(boost: Double): ConjunctionQuery

    The boost parameter is used to increase the relative weight of a clause (with a boost greater than 1) or decrease the relative weight (with a boost between 0 and 1)

    The boost parameter is used to increase the relative weight of a clause (with a boost greater than 1) or decrease the relative weight (with a boost between 0 and 1)

    boost

    the boost parameter, which must be >= 0

    returns

    a copy of this, for chaining

  3. def toString(): String

    returns

    the String representation of the FTS query, which is its JSON representation without global parameters.

    Definition Classes
    SearchQuery → AnyRef → Any