Bug 1131576 - SOLR: minus sign is not escaped
Summary: SOLR: minus sign is not escaped
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.1.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-19 15:19 UTC by Filip Elias
Modified: 2016-02-10 08:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-10 08:49:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log with the exception (504.52 KB, text/x-log)
2014-08-19 15:19 UTC, Filip Elias
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-3094 0 Major Closed SOLR: minus sign is not escaped 2014-11-20 15:06:53 UTC

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


Note You need to log in before you can comment on or make changes to this bug.