Class DocIdQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.DocIdQuery
A FTS query that matches on Couchbase document IDs. Useful to restrict the search space to a list of keys
(by using this in a
compound query
).- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboost
(double boost) protected void
injectParams
(JsonObject input) 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 Details
-
DocIdQuery
-
-
Method Details
-
docIds
-
boost
- Overrides:
boost
in classSearchQuery
-
injectParams
- Specified by:
injectParams
in classSearchQuery
-