Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1588

Conjunction and Disjunction queries always return invalid query error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.1
    • None
    • None
    • 0

    Description

      When performing a FTS Conjunction, Disjunction, or boolean query the query fails with invalid query error. The reason for this is that our signature is mapQueriesToPs(...Query) but we then use it like mustQueries, err := i.mapQueriesToPs(q.data.Must.conjuncts) which means that we are actually effectively passing [][]Query and so the mapQueryToPs function fails.

      Attachments

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

        Activity

          People

            jack.westwood Jack Westwood
            jack.westwood Jack Westwood
            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