Class BooleanQuery
java.lang.Object
com.couchbase.client.java.search.queries.AbstractFtsQuery
com.couchbase.client.java.search.queries.BooleanQuery
@Uncommitted @Public public class BooleanQuery extends AbstractFtsQuery
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)Override to inject query-specific parameters when doing theSearchQuery.export().BooleanQuerymust(AbstractFtsQuery... mustQueries)BooleanQuerymustNot(AbstractFtsQuery... mustNotQueries)BooleanQueryshould(AbstractFtsQuery... shouldQueries)BooleanQueryshouldMin(int minForShould)Methods inherited from class com.couchbase.client.java.search.queries.AbstractFtsQuery
injectParamsAndBoost, toString
-
Constructor Details
-
BooleanQuery
public BooleanQuery()
-
-
Method Details
-
shouldMin
-
must
-
mustNot
-
should
-
boost
- Overrides:
boostin classAbstractFtsQuery
-
injectParams
Description copied from class:AbstractFtsQueryOverride to inject query-specific parameters when doing theSearchQuery.export().- Specified by:
injectParamsin classAbstractFtsQuery- Parameters:
input- the preparedJsonObjectthat will represent the query.
-