Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27124

Improve error log for Elasticsearch query syntax error

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Elasticsearch

      Description

      Currently an NXQL query with a syntax error passed to Elasticsearch can give non-informative messages like:

      WARN [ElasticSearchNxqlPageProvider] Lexical Error: Illegal character </> at offset 61

      The full query is available at DEBUG level but it would be simpler to add it to main exception.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m