Re: Help in resolving the below retrieval issue

2013-09-10 Thread Prathik Puthran
phen in queries since it does mean >> exclude documents that contain the following term. >> >> Or, just escape any leading hyphen with a backslash. >> >> -- Jack Krupansky >> >> -Original Message- From: Prathik Puthran >> Sent: Tuesday, September 1

Re: Help in resolving the below retrieval issue

2013-09-10 Thread Prathik Puthran
Thanks Erick for the response. I tried to debug the query. Below is the response in the debug node Rahul - kumarRahul - kumar+text:Rahul -text:kumar+text:Rahul -text:kumarLuceneQParserRahul - kumar+text:rahul -text:kumar Does it mean the query parser has parsed it to tokens "Rahul -" and "kumar"

Re: Help in resolving the below retrieval issue

2013-09-10 Thread Erick Erickson
Try adding &debug=query to the url. What I think you'll find is that you're running into a common issue, the difference between query parsing and analysis. when you submit anything with whitespace in it, the query parser will break it up _before_ it gets to the analysis part, you should see someth

Help in resolving the below retrieval issue

2013-09-10 Thread Prathik Puthran
Hi, I am facing the below issue where in Solr is not retrieving the indexed word for some cases. This happens whenever the indexed word has string " - " (quotes for clarity) as substring i.e word prefix followed by a space which is followed by '-' again followed by a space and followed by the res