Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1131576

Summary: SOLR: minus sign is not escaped
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Filip Elias <felias>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: dlesage, vhalbert
Target Milestone: ER2Keywords: QA-Closed
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The minus sign was not escaped in the SOLR translator which caused a parse exception, This was because it is a special character. Escaping has now been added for symbols, so users will no longer encoutner this exception.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 08:49:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Log with the exception none

Description Filip Elias 2014-08-19 15:19:09 UTC
Created attachment 928402 [details]
Log with the exception

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.

Comment 1 JBoss JIRA Server 2014-08-20 15:24:17 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-3094 to Resolved

Comment 2 JBoss JIRA Server 2014-11-20 15:06:54 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3094 to Closed