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 BooleanQueryboost(double boost)protected voidinjectParams(JsonObject input)BooleanQuerymust(SearchQuery... mustQueries)BooleanQuerymustNot(SearchQuery... mustNotQueries)BooleanQueryshould(SearchQuery... shouldQueries)BooleanQueryshouldMin(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:
boostin classSearchQuery
-
injectParams
- Specified by:
injectParamsin classSearchQuery
-