> I'm not sure, theoretically fields with a null value
> (php-side) should end
> up not having the field. But then again i don't think it's
> relevant just
> yet. What bugs me is that if I add the -puid:[* TO *], all
> results for
> puid:[0 TO *] disappear, even though I am using "OR".

- operator does not work with OR operator as you think. 
Your query can be re-written as (puid:[0 TO *] OR (*:* -puid:[* TO *]))

This new query satisfies your needs? And more importantly does type="integer"  
supports correct numeric range queries? In Solr 1.4.0 range queries work 
correctly with type="tint".


      

Reply via email to