Re: NOT NULL Query

2008-10-15 Thread Chris Hostetter
1) strictly speaking there is no such thing as a NULL field value in Solr -- there are fields that have a value and fields that don't and as mentioned yourField:[* TO *] will give you all docs that have a value in the yourField field. 2) http://people.apache.org/~hossman/#threadhijack Thread H

Re: NOT NULL Query

2008-10-15 Thread mike topper
I think you can do field:["" TO *] to grab everything that is not null. -Mike John E. McBride wrote: Hello All, I need to run a query which asks: field = NOT NULL should this perhaps be done with a filter? I can't find out how to do NOT NULL from the documentation, would appreciate any advi

Re: NOT NULL Query

2008-10-15 Thread Ryan McKinley
try: field:[* TO *] On Oct 15, 2008, at 9:44 AM, John E. McBride wrote: Hello All, I need to run a query which asks: field = NOT NULL should this perhaps be done with a filter? I can't find out how to do NOT NULL from the documentation, would appreciate any advice. Thanks, John