[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Re: Index empty fields
From:       "Yonik Seeley" <yonik () apache ! org>
Date:       2006-07-31 18:40:48
Message-ID: c68e39170607311140h7edaa09bo965688cd378b2035 () mail ! gmail ! com
[Download RAW message or body]

On 7/31/06, Simon Willnauer <simon.willnauer@googlemail.com> 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
http://incubator.apache.org/solr Solr, the open-source Lucene search server

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic