Class PrefixQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.PrefixQuery
public class PrefixQuery extends SearchQuery
A FTS query that allows for simple matching on a given prefix.
- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description PrefixQuery(String prefix)
-
Method Summary
Modifier and Type Method Description PrefixQuery
boost(double boost)
PrefixQuery
field(String field)
protected void
injectParams(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
-
Constructor Details
-
PrefixQuery
-
-
Method Details
-
field
-
boost
- Overrides:
boost
in classSearchQuery
-
injectParams
- Specified by:
injectParams
in classSearchQuery
-