: -filterMinutes:[* TO *] should return documents that do not have a value 
assigned to that field.

correct, but combining a negative filter with another filter can be 
confusing for people, you can't just use this...

  fq=filterMinutes:[* TO 50] -filterMinutes:[* TO *]

..because it finds hte set of all things under 50 minutes, and then 
excludes all things with any minutes at all.

you need to compute "the set of all things with no minutes" as a full 
independent clause in the filter query...

  fq=filterMinutes:[* TO 50] (*:* -filterMinutes:[* TO *])


If this is a type of query you know you are going to need to do often, you 
can make it faster by adding a "has_minutes" boolean field and 
doing...

  fq=filterMinutes:[* TO 50] has_minutes:false

-Hoss

Reply via email to