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

SOLR: minus sign is not escaped

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: