@InterfaceStability.Experimental @InterfaceAudience.Public public class QueryStringQuery extends AbstractFtsQuery
A FTS query that performs a search according to the “query string” syntax.
| Constructor and Description |
|---|
QueryStringQuery(String query) |
| Modifier and Type | Method and Description |
|---|---|
QueryStringQuery |
boost(double boost) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export(). |
injectParamsAndBoost, toStringpublic QueryStringQuery(String query)
public QueryStringQuery 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.