Also note that the dismax parser does NOT support fielded clauses, so fieldname:"some phrase" is not parsed as you might expect with dismax.

        Erik

On Apr 3, 2009, at 3:41 AM, dabboo wrote:


Hi,

I am implementing phrase search query using my application. I am trying to search "Glorious Revolution", I am expecting all the records which contains
this as whole string in any of its field should display.

Below is my query:

?q=fieldname:"Glorious Revolution"&qt=dismaxrequest

I am passing this to my solr search engine using httpclient. But it is
thrwoing me Invaild Query exception. If I append double quotes with
backslash, it passes the query but it doesnt shows the right values.

Instead it creates the query like:

isbn13_product_s:\"Glorious Revolution\"

Please suggest how I should tackle this. If I give the phrase search in my
solr console, it returns me the correct results.

Thanks,
Amit Garg


--
View this message in context: 
http://www.nabble.com/Phrase-Query-Issue-tp22863529p22863529.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to