Set the default query operator (q.op parameter) to AND, or enclosed the full phrase in quotes.

-- Jack Krupansky

-----Original Message----- From: Sohan Kalsariya
Sent: Friday, February 14, 2014 4:29 AM
To: solr-user@lucene.apache.org
Subject: Exact word match

Hello,
I want to the exact results for my query.
For e.g. when i search "New york" , then it doesn't give me exact results
about New York
But it also give me results like:
New York
New Delhi
And other cities starting from "New"
So how can i get only results for "New York" ?

--
Regards,
*Sohan Kalsariya*

Reply via email to