Thanks for the details Chris. Regards, Modassar
On Fri, Jun 27, 2014 at 3:33 AM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : *ab:(system entity) OR ab:authorization* : Number of results returned 2 > : which is not expected. > : It seems this query makes the previous terms as OR if the next term is > : introduced by an OR. > > in general, that's they way the "boolean" operators like AND/OR work in > all of the various parser variants that use that syntax... > > http://searchhub.org//2011/12/28/why-not-and-or-and-not/ > > ...if you want only one clause to be required, and one to be optional, > then you need to use the prefix notation and leave the default q.op=OR > (ie: by default, clauses are SHOULD -- since there is no prefix operator > for that).... > > +ab:(system entity ab:authorization > > : For the reference mm (Minimum 'Should' match) is set to 100% and parser > : used is edismax. > > in the specific case of edismax, the fact that mm is ignored when > operators are specified is a long standing issue with much debate as to > what the "correct" behavior should be... > > https://issues.apache.org/jira/browse/SOLR-2649 > > > -Hoss > http://www.lucidworks.com/ >