Re: Rejecting fields with null values

2007-06-20 Thread Yonik Seeley
Keep in mind filters too... they can be much more efficient if used often: ?q=test&fq=field_b:[* TO *] -Yonik On 6/20/07, Thiago Jackiw <[EMAIL PROTECTED]> wrote: Hoss, > As an inverted index, the Lucene index Solr uses doesn't know when > documents have an "empty" value ... it stores the inve

Re: Rejecting fields with null values

2007-06-20 Thread Thiago Jackiw
Hoss, As an inverted index, the Lucene index Solr uses doesn't know when documents have an "empty" value ... it stores the inverted mapping of value=>documents, so there is no way to query for field_b:NULL, let alone "NOT field_b:bull" I see what you mean. I guess searching for fields that re

Re: Rejecting fields with null values

2007-06-20 Thread Chris Hostetter
: I'm not sure if this is possible or not, but, is there a way to do a : search and reject fields that are empty or have null values like the : pseudo code below? As an inverted index, the Lucene index Solr uses doesn't know when documents have an "empty" value ... it stores the inverted mapping o