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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboost(double boost) protected voidinjectParams(JsonObject input) min(int min) or(SearchQuery... queries) Methods inherited from class com.couchbase.client.java.search.queries.AbstractCompoundQuery
addAll, childQueriesMethods 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 Details
-
DisjunctionQuery
-
-
Method Details
-
boost
- Overrides:
boostin classSearchQuery
-
min
-
or
-
injectParams
- Specified by:
injectParamsin classSearchQuery
-