@InterfaceStability.Experimental @InterfaceAudience.Public public class ConjunctionQuery extends AbstractCompoundQuery
A compound FTS query that performs a logical AND between all its sub-queries (conjunction).
Constructor and Description |
---|
ConjunctionQuery(AbstractFtsQuery... queries) |
Modifier and Type | Method and Description |
---|---|
ConjunctionQuery |
and(AbstractFtsQuery... queries) |
ConjunctionQuery |
boost(double boost) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
addAll, childQueries
injectParamsAndBoost, toString
public ConjunctionQuery(AbstractFtsQuery... queries)
public ConjunctionQuery boost(double boost)
boost
in class AbstractFtsQuery
public ConjunctionQuery and(AbstractFtsQuery... queries)
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.