Hi Ahmet, The default operator is set to AND. In the query I explicitly define (...) OR (...). In solrconfing more requestHandlers are defined. How do I find out which one is the default?
Thanks for help, Georg On Thu, Feb 25, 2010 at 3:34 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > > > --- On Thu, 2/25/10, György Frivolt <gyorgy.friv...@gmail.com> wrote: > > I run into an unexpected behaviour for Solr > > with query parsing. I need > > to fetch article which contain several expressions. > > However, I noticed the > > following behaviour: > > > > - when I fetch results for query A I get a number of > > results X > > - for query B I get a number of results Y > > - for query A B and also for A OR B I get results less then > > X and Y - I > > expected that in this case I receive the union of results. > > > > For some queries containing more expressions, but of which > > all give results > > separately I even get zero results. What is the reason for > > this? How can I > > reach to get all the results for the query with more > > expressions? > > What is your default operator defined in schema.xml? > <solrQueryParser defaultOperator="OR"/> > > Are you using standard requestHandler or dismax? > > > >