We need to make Solr Search like

"Success & Failure"
"Working 50%"

but Solr query parser eliminates all special characters from search.

my search query is as mentioned below

http://localhost:8080/solr/core/select?q=%22Success%20%26%20Failure%22&hl=on&hl.snippets=99&debugQuery=on

below is debugQuery for it.

<lst name="debug">
   <str name="rawquerystring">"Success & Failure"</str>
   <str name="querystring">Success & Failure"</str>
   <str name="parsedquery">PhraseQuery(text:"success failure")</str>
   <str name="parsedquery_toString">text:"success failure"</str>
   <lst name="explain"/>
    <str name="QParser">LuceneQParser</str>
    <lst name="timing"></lst>
 </lst>

We want to make, solr should search with "success & failure" , and should
not eliminate special character.

anybody have any idea, how to do this??




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Search-with-special-character-tp4054994.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to