Re: filtering on blank OR specific range

2008-11-23 Thread Chris Hostetter
: I'm having difficultly filtering my documents when a field is either : blank or set to a specific value. I would have thought this would work : : fq=-Type:[* TO *] OR Type:blue Rule#1 don't try to mix AND/OR syntax with +/- syntax ... it never works the way you want. a OR b is just

Re: filtering on blank OR specific range

2008-11-20 Thread Thijs Vonk
I actually am looking for the same answer. I have worked around it by indexing 'empty' fields with a dumpy value but this isn't an ideal situation Thijs On 11/19/08 10:38 PM, Geoffrey Young wrote: Lance Norskog wrote: Try: Type:blue OR -Type:[* TO *] You can't have a negative clause

RE: filtering on blank OR specific range

2008-11-19 Thread Lance Norskog
Try: Type:blue OR -Type:[* TO *] You can't have a negative clause at the beginning. Yes, Lucene should barf about this. -Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 12:17 PM To: solr-user@lucene.apache.org Subject: filtering on

Re: filtering on blank OR specific range

2008-11-19 Thread Geoffrey Young
Lance Norskog wrote: Try: Type:blue OR -Type:[* TO *] You can't have a negative clause at the beginning. Yes, Lucene should barf about this. I did try that, before and again now, and still no luck. anything else? --Geoff