Class DisjunctionQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.AbstractCompoundQuery
com.couchbase.client.java.search.queries.DisjunctionQuery
A compound FTS query that performs a logical OR between all its sub-queries (disjunction).
It requires that a minimum of the queries match. The
minimum
is configurable (default 1).- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Field Summary
Fields inherited from class com.couchbase.client.java.search.SearchQuery
boost
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboost
(double boost) min
(int min) or
(SearchQuery... queries) 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 Details
-
DisjunctionQuery
-
-
Method Details
-
boost
- Overrides:
boost
in classSearchQuery
-
min
-
or
-
toCore
- Specified by:
toCore
in classSearchQuery
-