Class ConjunctionQuery
- java.lang.Object
-
- com.couchbase.client.java.search.SearchQuery
-
- com.couchbase.client.java.search.queries.AbstractCompoundQuery
-
- com.couchbase.client.java.search.queries.ConjunctionQuery
-
public class ConjunctionQuery extends AbstractCompoundQuery
A compound FTS query that performs a logical AND between all its sub-queries (conjunction).- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor Description ConjunctionQuery(SearchQuery... queries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConjunctionQuery
and(SearchQuery... queries)
ConjunctionQuery
boost(double boost)
protected void
injectParams(JsonObject input)
-
Methods inherited from class com.couchbase.client.java.search.queries.AbstractCompoundQuery
addAll, childQueries
-
Methods inherited from class com.couchbase.client.java.search.SearchQuery
booleanField, booleans, conjuncts, dateRange, disjuncts, docId, export, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoPolygon, injectParamsAndBoost, match, matchAll, matchNone, matchPhrase, numericRange, phrase, prefix, queryString, regexp, term, termRange, toString, wildcard
-
-
-
-
Constructor Detail
-
ConjunctionQuery
public ConjunctionQuery(SearchQuery... queries)
-
-
Method Detail
-
boost
public ConjunctionQuery boost(double boost)
- Overrides:
boost
in classSearchQuery
-
and
public ConjunctionQuery and(SearchQuery... queries)
-
injectParams
protected void injectParams(JsonObject input)
- Specified by:
injectParams
in classSearchQuery
-
-