On Wed, Apr 8, 2009 at 11:45 AM, addman <addiek...@yahoo.com> wrote:
>
> Hi,
>   Is it possible to create a query to search a field for any value?  I just
> need to know if the optional field contain any data at all.

google for:  lucene field existence

There's no way built in, one strategy[1] is to have a 'meta field'
that contains the names of the fields the document contains.

--tim

[1] - http://www.mail-archive.com/lucene-u...@jakarta.apache.org/msg07703.html

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to