Re: negative query OR positive query

2010-04-14 Thread Ahmet Arslan
> Using Solr 1.4 I wanted to construct a query that returns > documents that > have a particular field value or are missing the field. The > first thing I > came up with was: > > field1:particularvalue OR -field1:[* TO *] > > It turns out the -field1:[* TO *] was being ignored. If > particularval

negative query OR positive query

2010-04-14 Thread Jon Brock
Hi, Using Solr 1.4 I wanted to construct a query that returns documents that have a particular field value or are missing the field. The first thing I came up with was: field1:particularvalue OR -field1:[* TO *] It turns out the -field1:[* TO *] was being ignored. If particularvalue wasn't found