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