Class BooleanQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.BooleanQuery
public class BooleanQuery extends SearchQuery
A compound FTS query that allows various combinations of sub-queries.
- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description BooleanQuery()
-
Method Summary
Modifier and Type Method Description BooleanQuery
boost(double boost)
protected void
injectParams(JsonObject input)
BooleanQuery
must(SearchQuery... mustQueries)
BooleanQuery
mustNot(SearchQuery... mustNotQueries)
BooleanQuery
should(SearchQuery... shouldQueries)
BooleanQuery
shouldMin(int minForShould)
Methods inherited from class com.couchbase.client.java.search.SearchQuery
booleanField, booleans, conjuncts, dateRange, disjuncts, docId, export, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoPolygon, injectParamsAndBoost, match, matchAll, matchNone, matchPhrase, numericRange, phrase, prefix, queryString, regexp, term, termRange, toString, wildcard
-
Constructor Details
-
BooleanQuery
public BooleanQuery()
-
-
Method Details
-
shouldMin
-
must
-
mustNot
-
should
-
boost
- Overrides:
boost
in classSearchQuery
-
injectParams
- Specified by:
injectParams
in classSearchQuery
-