@InterfaceStability.Uncommitted @InterfaceAudience.Public public class BooleanFieldQuery extends AbstractFtsQuery
A FTS query that queries fields explicitly indexed as boolean.
Constructor and Description |
---|
BooleanFieldQuery(boolean value) |
Modifier and Type | Method and Description |
---|---|
BooleanFieldQuery |
boost(double boost) |
BooleanFieldQuery |
field(String field) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
injectParamsAndBoost, toString
public BooleanFieldQuery field(String field)
public BooleanFieldQuery 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.