case class BooleanQuery extends SearchQuery with Product with Serializable
A compound FTS query that allows various combinations of sub-queries.
- Since
1.0.0
- Alphabetic
- By Inheritance
- BooleanQuery
- Serializable
- Product
- Equals
- SearchQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def boost(boost: Double): BooleanQuery
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
- def must(mustQueries: SearchQuery*): BooleanQuery
Results must satisfy all of these queries.
Results must satisfy all of these queries.
- returns
a copy of this, for chaining
- def mustNot(mustNotQueries: SearchQuery*): BooleanQuery
Results must not satisfy any of these queries.
Results must not satisfy any of these queries.
- returns
a copy of this, for chaining
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def should(shouldQueries: SearchQuery*): BooleanQuery
Results should satisfy all of these queries.
Results should satisfy all of these queries.
- returns
a copy of this, for chaining
- def shouldMin(minForShould: Int): BooleanQuery
If a hit satisfies at least this many queries in the
should
section, its score will be boosted.If a hit satisfies at least this many queries in the
should
section, its score will be boosted. By default, this is set to 1.- returns
a copy of this, for chaining
- def toString(): String
- returns
the String representation of the FTS query, which is its JSON representation without global parameters.
- Definition Classes
- SearchQuery → AnyRef → Any