Re: combining negative queries and OR

2008-11-04 Thread Yonik Seeley
On Tue, Nov 4, 2008 at 1:21 AM, Joe Pollard <[EMAIL PROTECTED]> wrote: > I am trying to decide if this is a solr or a lucene problem, using solr > 1.3: > > take this example -- > > (-productName:"whatever") OR (anotherField:"Johnny") > > I would expect to get back records that have anotherField=Joh

combining negative queries and OR

2008-11-03 Thread Joe Pollard
I am trying to decide if this is a solr or a lucene problem, using solr 1.3: take this example -- (-productName:"whatever") OR (anotherField:"Johnny") I would expect to get back records that have anotherField=Johnny, but also, any records that don't have 'whatever' as the productName. However