@InterfaceStability.Uncommitted @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, toString
public QueryStringQuery(String query)
public QueryStringQuery boost(double boost)
boost
in class AbstractFtsQuery
protected void injectParams(JsonObject input)
AbstractFtsQuery
Override to inject query-specific parameters when doing the SearchQuery.export()
.
injectParams
in class AbstractFtsQuery
input
- the prepared JsonObject
that will represent the query.Copyright © 2015 Couchbase, Inc.