Class BooleanQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.BooleanQuery
A compound FTS query that allows various combinations of sub-queries.
- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboost
(double boost) protected void
injectParams
(JsonObject input) must
(SearchQuery... mustQueries) mustNot
(SearchQuery... mustNotQueries) should
(SearchQuery... shouldQueries) 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
-