Class WildcardQuery
- java.lang.Object
-
- com.couchbase.client.java.search.SearchQuery
-
- com.couchbase.client.java.search.queries.WildcardQuery
-
public class WildcardQuery extends SearchQuery
An FTS query that allows for simple matching using wildcard characters (* and ?).- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor Description WildcardQuery(String wildcard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WildcardQuery
boost(double boost)
WildcardQuery
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 Detail
-
WildcardQuery
public WildcardQuery(String wildcard)
-
-
Method Detail
-
field
public WildcardQuery field(String field)
-
boost
public WildcardQuery boost(double boost)
- Overrides:
boost
in classSearchQuery
-
injectParams
protected void injectParams(JsonObject input)
- Specified by:
injectParams
in classSearchQuery
-
-