Which query handler are you using? For a standard query handler you can set q.op per request or set defaultOperator in schema.xml.
For a dismax handler you will have to work with min should match. On Mon, Oct 25, 2010 at 6:41 AM, Swapnonil Mukherjee < swapnonil.mukher...@gettyimages.com> wrote: > Hi Everybody, > > I simply want to use AND as the default operator in queries. When a user > searches for Jennifer Lopez solr converts this to a Jennifer OR Lopez query. > On the other hand I want solr to treat this query as Jennifer AND Lopez and > not as Jennifer OR Lopez. > > In other words I want a default AND behavior in phrase queries instead of > OR. > > I have seen in this presentation > http://www.slideshare.net/pittaya/using-apache-solr on Slide number 52 > that this OR behavior is configurable. > > Could you please tell me where this configuration is located? I could not > locate it in schema.xml. > > Swapnonil Mukherjee > +91-40092712 > +91-9007131999 > > > >