The quotes are probably indexed correctly. You need to escape the quotes in
your query:
"Hi how r u \"Test\""
-- Jack Krupansky
-----Original Message-----
From: ravicv
Sent: Wednesday, June 27, 2012 8:50 AM
To: solr-user@lucene.apache.org
Subject: How to index and search string which contains double quotes ("")
Hi,
*My input string is *: Hi how r u "Test"
I need to index this input text with double quotes. but solr is removing
double quotes while indexing .
I am using *string *as the data type
if test is searched then i am able to get result as Hi how r u Test (without
double quotes)
How to get search result as the input string as Hi how r u "Test" when i
searched for test
Thanks
Ravi
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-index-and-search-string-which-contains-double-quotes-tp3991586.html
Sent from the Solr - User mailing list archive at Nabble.com.