Class QueryStringQuery
java.lang.Object
com.couchbase.client.java.search.queries.AbstractFtsQuery
com.couchbase.client.java.search.queries.QueryStringQuery
@Uncommitted @Public public class QueryStringQuery extends AbstractFtsQuery
A FTS query that performs a search according to the "query string" syntax.
- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description QueryStringQuery(String query)
-
Method Summary
Modifier and Type Method Description QueryStringQuery
boost(double boost)
protected void
injectParams(JsonObject input)
Override to inject query-specific parameters when doing theSearchQuery.export()
.Methods inherited from class com.couchbase.client.java.search.queries.AbstractFtsQuery
injectParamsAndBoost, toString
-
Constructor Details
-
QueryStringQuery
-
-
Method Details
-
boost
- Overrides:
boost
in classAbstractFtsQuery
-
injectParams
Description copied from class:AbstractFtsQuery
Override to inject query-specific parameters when doing theSearchQuery.export()
.- Specified by:
injectParams
in classAbstractFtsQuery
- Parameters:
input
- the preparedJsonObject
that will represent the query.
-