Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1870

JAVA SDK FTS query: unsupported query attribute: operator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.2.0
    • FTS
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            daschl Michael Nitschinger
            evgeny.makarenko Evgeny Makarenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty