Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.2.0
-
None
-
1
Description
According to official Couchbase Server documentation
https://docs.couchbase.com/server/current/fts/fts-query-types.html
for Match Query we need to support "operator" field for queries like this:
{ "match": "location hostel", |
"field": "reviews.content", |
"analyzer": "standard", |
"fuzziness": 2, |
"prefix_length": 4, |
"operator": "and" |
}
|
When an operator field is used, the operator decides the boolean logic used to interpret the text in match field. For example, an operator value of "and" means the match query text would be treated like location AND hostel. The default operator value of "or" means the match query text would be treated like location OR hostel.