@InterfaceStability.Uncommitted @InterfaceAudience.Public public class BooleanQuery extends AbstractFtsQuery
| Constructor and Description |
|---|
BooleanQuery() |
| Modifier and Type | Method and Description |
|---|---|
BooleanQuery |
boost(double boost) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export(). |
BooleanQuery |
must(AbstractFtsQuery... mustQueries) |
BooleanQuery |
mustNot(AbstractFtsQuery... mustNotQueries) |
BooleanQuery |
should(AbstractFtsQuery... shouldQueries) |
BooleanQuery |
shouldMin(int minForShould) |
injectParamsAndBoost, toStringpublic BooleanQuery shouldMin(int minForShould)
public BooleanQuery must(AbstractFtsQuery... mustQueries)
public BooleanQuery mustNot(AbstractFtsQuery... mustNotQueries)
public BooleanQuery should(AbstractFtsQuery... shouldQueries)
public BooleanQuery boost(double boost)
boost in class AbstractFtsQueryprotected void injectParams(JsonObject input)
AbstractFtsQuerySearchQuery.export().injectParams in class AbstractFtsQueryinput - the prepared JsonObject that will represent the query.Copyright © 2015 Couchbase, Inc.