Class BooleanFieldQuery
- java.lang.Object
-
- com.couchbase.client.java.search.SearchQuery
-
- com.couchbase.client.java.search.queries.BooleanFieldQuery
-
public class BooleanFieldQuery extends SearchQuery
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanFieldQueryboost(double boost)BooleanFieldQueryfield(String field)protected voidinjectParams(JsonObject input)-
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
-
-
-
-
Method Detail
-
field
public BooleanFieldQuery field(String field)
-
boost
public BooleanFieldQuery boost(double boost)
- Overrides:
boostin classSearchQuery
-
injectParams
protected void injectParams(JsonObject input)
- Specified by:
injectParamsin classSearchQuery
-
-