How to escape the special character in the Apache solr example "&" between
strings
----------------------------------------------------------------------------------
Key: SOLR-2122
URL: https://issues.apache.org/jira/browse/SOLR-2122
Project: Solr
Issue Type: Bug
Components: web gui
Affects Versions: 1.4
Environment: Linux Environment
Reporter: JAYABAALAN V
Priority: Critical
Having a special character "&" between the string like Arts & Culture.If the
user the selecting this value in web gui we need to display the corresponding
records from the solr.
http://localhost:8983/solr/select/?q=rsprimarysub:Arts\&Culture&fl=rsprimarysub&debugQuery=true
Error Message
HTTP ERROR: 400
org.apache.lucene.queryParser.ParseException: Cannot parse
'rsprimarysub:Arts\': Lexical error at line 1, column 19. Encountered: <EOF>
after : ""
RequestURI=/solr/select/
Powered by Jetty://
Do provide inputs for the same.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]