SOLR: minus sign is not escaped
-------------------------------
Key: TEIID-3094
URL:
https://issues.jboss.org/browse/TEIID-3094
Project: Teiid
Issue Type: Bug
Affects Versions: 8.7
Reporter: Filip Elias
Assignee: Ramesh Reddy
Labels: Alpha2
Fix For: 8.7.1, 8.9
Attachments: server.log
Minus sign is not escaped in SOLR translator which causes parse exception, because the
"-" is a special character.
Example of query:
Query: {code}SELECT BQT1.SmallA.IntNum FROM BQT1.SmallA WHERE BQT1.SmallA.IntNum =
-1{code}
Query parameter q is set to: {code}IntNum:-1{code} but it should be:
{code}IntNum:\-1{code}
Log is in the attachment.