@InterfaceStability.Uncommitted @InterfaceAudience.Public public class TermQuery extends AbstractFtsQuery
MatchQuery
.Modifier and Type | Method and Description |
---|---|
TermQuery |
boost(double boost) |
TermQuery |
field(String fieldName) |
TermQuery |
fuzziness(int fuzziness) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
TermQuery |
prefixLength(int prefixLength) |
injectParamsAndBoost, toString
public TermQuery(String term)
public TermQuery fuzziness(int fuzziness)
public TermQuery prefixLength(int prefixLength)
public TermQuery boost(double boost)
boost
in class AbstractFtsQuery
protected void injectParams(JsonObject input)
AbstractFtsQuery
SearchQuery.export()
.injectParams
in class AbstractFtsQuery
input
- the prepared JsonObject
that will represent the query.Copyright © 2015 Couchbase, Inc.