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
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.java.search.SearchQuery
boost
-
-
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)
com.couchbase.client.core.api.search.queries.CoreConjunctionQuery
toCore()
-
Methods inherited from class com.couchbase.client.java.search.queries.AbstractCompoundQuery
addAll, childQueries, childQueriesAsCore
-
Methods inherited from class com.couchbase.client.java.search.SearchQuery
booleanField, booleans, conjuncts, dateRange, disjuncts, docId, export, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoPolygon, 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)
-
toCore
public com.couchbase.client.core.api.search.queries.CoreConjunctionQuery toCore()
- Specified by:
toCore
in classSearchQuery
-
-