Class TermQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.TermQuery
A FTS query that matches terms (without further analysis). Usually for debugging purposes,
prefer using
MatchQuery
.- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboost
(double boost) fuzziness
(int fuzziness) protected void
injectParams
(JsonObject input) prefixLength
(int prefixLength) 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
-
TermQuery
-
-
Method Details
-
field
-
fuzziness
-
prefixLength
-
boost
- Overrides:
boost
in classSearchQuery
-
injectParams
- Specified by:
injectParams
in classSearchQuery
-