Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3094

SOLR: minus sign is not escaped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.7.1, 8.9
    • 8.7
    • None

      Minus sign is not escaped in SOLR translator which causes parse exception, because the "-" is a special character.

      Example of query:
      Query:

      SELECT BQT1.SmallA.IntNum FROM BQT1.SmallA WHERE BQT1.SmallA.IntNum = -1

      Query parameter q is set to:

      IntNum:-1

      but it should be:

      IntNum:\-1

      Log is in the attachment.

              rhn-engineering-rareddy Ramesh Reddy
              felias_jira Filip Elias (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: