Amit,

Append &debugQuery=true to the search request URL and you'll see how your query 
string was interpreted.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: dabboo <ag...@sapient.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, May 21, 2009 3:48:45 AM
> Subject: Re: Phrase Search Issue
> 
> 
> This problem is related with the default operator in dismax. Currently OR is
> the default operator and it is behaving perfectly fine. I have changed the
> default operator in schema.xml to AND, I also have changed the minimum match
> to 100%.
> 
> But it seems like AND as default operator doesnt work with Dismax.
> Please suggest.
> 
> Thanks,
> Amit Garg
> 
> 
> 
> dabboo wrote:
> > 
> > Hi,
> > 
> > I am facing one issue in phrase query. I am entering 'Top of the world' as
> > my search criteria. I am expecting it to return all the records in which,
> > one field should all these words in any order. 
> > 
> > But it is treating as OR and returning all the records, which are having
> > either of these words. I am doing this using dismax request. 
> > 
> > I would appreciate if somebody can provide me some pointers.
> > 
> > Thanks,
> > Amit Garg
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Phrase-Search-Issue-tp23648813p23649189.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to