Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-88213

Elasticsearch query string is not compatible with a 6.1.3 Kibana server

    Details

      Description

      Steps to reproduce

      1. Start portal with elasticsearch 6.1.3 in remote mode
      2. Start a kibana 6.1.3 server to connect to the remote elasticsearch server
      3. Add a search insights portlet to a page and execute a search
      4. Copy the query string from the search insights portlet into kibana and execute it

      Expected Result
      The search query would be successfully executed

      Actual Result
      The search query is not executed and this error is shown:

      {
        "error": {
          "root_cause": [
            {
              "type": "parsing_exception",
              "reason": "[match_phrase] query does not support [zero_terms_query]",
              "line": 1,
              "col": 561
            }
          ],
          "type": "parsing_exception",
          "reason": "[match_phrase] query does not support [zero_terms_query]",
          "line": 1,
          "col": 561
        },
        "status": 400
      }
      

      Reproduced on master - 8c57e44

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joshua.chong Joshua Chong
                Reporter:
                bryan.engler Bryan Engler
                Participants of an Issue:
                Recent user:
                Tibor Lipusz
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  49 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP80
                  7.0.10.11 DXP SP11
                  7.0.X
                  7.1.10 DXP FP5
                  7.1.10.1 SP1
                  7.1.X
                  7.2.0 GA1