: Date: Thu, 27 Sep 2007 00:12:48 -0400 : From: Ryan McKinley <[EMAIL PROTECTED]> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: searching for non-empty fields : : > : > Your query will work if you make sure the URL field is omitted from the : > document at index time when the field is blank. : > : : adding something like: : <filter class="solr.LengthFilterFactory" min="1" max="10000" /> : : to the schema field should do it without needing to ensure it is not null or : "" on the client side.
...and to work arround the problem untill you reindex... q=(URL:[* TO *] -URL:"") ...at least: i'm 97% certain that will work. it won't help if you "empty" values are really " " or " " or ... -Hoss