Class BooleanFieldQuery
java.lang.Object
com.couchbase.client.java.search.queries.AbstractFtsQuery
com.couchbase.client.java.search.queries.BooleanFieldQuery
@Uncommitted @Public public class BooleanFieldQuery extends AbstractFtsQuery
A FTS query that queries fields explicitly indexed as boolean.
- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description BooleanFieldQuery(boolean value) -
Method Summary
Modifier and Type Method Description BooleanFieldQueryboost(double boost)BooleanFieldQueryfield(String field)protected voidinjectParams(JsonObject input)Override to inject query-specific parameters when doing theSearchQuery.export().Methods inherited from class com.couchbase.client.java.search.queries.AbstractFtsQuery
injectParamsAndBoost, toString
-
Constructor Details
-
BooleanFieldQuery
public BooleanFieldQuery(boolean value)
-
-
Method Details
-
field
-
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.
-