@InterfaceStability.Uncommitted @InterfaceAudience.Public public class RegexpQuery extends AbstractFtsQuery
A FTS query that allows for simple matching of regular expressions.
| Constructor and Description |
|---|
RegexpQuery(String regexp) |
| Modifier and Type | Method and Description |
|---|---|
RegexpQuery |
boost(double boost) |
RegexpQuery |
field(String field) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export(). |
injectParamsAndBoost, toStringpublic RegexpQuery(String regexp)
public RegexpQuery field(String field)
public RegexpQuery boost(double boost)
boost in class AbstractFtsQueryprotected void injectParams(JsonObject input)
AbstractFtsQueryOverride to inject query-specific parameters when doing the SearchQuery.export().
injectParams in class AbstractFtsQueryinput - the prepared JsonObject that will represent the query.Copyright © 2015 Couchbase, Inc.