On 09/08/07, Yonik Seeley <[EMAIL PROTECTED] > wrote:
>
> A null field (meaning no value) can be indexed by leaving it out, and
> searched with a negative filter or query clause:
> -field:[* TO *]
>
> -Yonik
>


Ah, that's a much more elegant solution, is this query syntax specific to
Solr? (I don't recall seeing it in the Lucene query parser syntax
documentation).  Also, is there a simple method to search for fields
containing an empty string?

Thanks,
Piete

Reply via email to