Class PhraseQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.PhraseQuery
A FTS query that matches several terms (a "phrase") as is. The order of the terms mater and no
further processing is applied to them, so they must appear in the index exactly as provided.
Usually for debugging purposes, prefer
MatchPhraseQuery
.- 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
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
-
PhraseQuery
-
-
Method Details
-
field
-
boost
- Overrides:
boost
in classSearchQuery
-
toCore
- Specified by:
toCore
in classSearchQuery
-