Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1226

BooleanQuery JSON structure is invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.3.9
    • None
    • None

    Description

      The output JSON when building a BooleanQuery is invalid for a number of reasons:

      • 'must', 'must_not' and 'should' should be a query object with a conjuncts/disjunct property that contains an array of sub-queries
      • conjuncts & disjuncts sub-queries should not be wrapped in an object with an additional "query" property
      • field and analyzer should be omitted if null

      Attachments

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

        Activity

          People

            mike.goldsmith Michael Goldsmith
            mike.goldsmith Michael Goldsmith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty