Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-51432

[FTS-UI] Certain query string query objects error out on unmarshalling from UI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • fts
    • Untriaged
    • 1
    • Unknown

    Description

      Passing in a query string as a query object causes a UI unmarshaling error ..

      json: cannot unmarshal string into Go value of type map[string]interface {} 

      For query string queries in this format ..

      {"query": "+paris +notre +dame"} 

      while these work just fine ..

      "+paris +notre +dame" 

      {"query": {"query": "+paris +notre +dame"}} 

      Attachments

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

        Activity

          People

            girish.benakappa Girish Benakappa
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty