Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-353

FTS BooleanQuery with Should not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.1
    • 2.3.0
    • library
    • None
    • All

    Description

      The BooleanQuery doesn't work with .should(query), as it sets .should to empty object within the code. Cost me a bit of time to understand why it wasn't sending the should: {} properly.

      I found out the following part of the code causes the .should to be reset to an empty object:

      https://github.com/couchbase/couchnode/blob/master/lib/searchquery_queries.js#L576

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            Rene René
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty