lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Index empty fields
Date Mon, 31 Jul 2006 18:40:48 GMT
On 7/31/06, Simon Willnauer <> wrote:
> Hello,
> I do have a question about fields with empty content should be added
> to the document / index or not. I do have a index schema, which
> defines all field a document can have. if one of the real documents
> has no content for a certain field. should that field be added to the
> index or not.
> Would it make any difference at all?
> regards Simon

Unless you need to distinguish "" (field exists, zero length content)
from null (field does not exist), then you shouldn't bother indexing
the field... it would just be a waste of space.

-Yonik Solr, the open-source Lucene search server

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message