You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Evgeniy Strokin <ev...@yahoo.com> on 2008/03/20 20:20:21 UTC
Does emty fields affect index size?
Hello, lets say I have 10 fields and usually some 5 of them are present in each document. And the size of my index is 100Mb.
I want to change my schema and I'll have 100 fields, but each document will still have only 5 fields present.
After I reindex my data, will the size be affected? Could you guess how big the increase will be?
Any related information, suggestions will be helpful as well.
Thanks in advance,
Eugene
Re: Does emty fields affect index size?
Posted by Yonik Seeley <yo...@apache.org>.
Make sure you omit norms for those fields if possible. If you do
that, the index should only be marginally bigger.
-Yonik
On Thu, Mar 20, 2008 at 3:20 PM, Evgeniy Strokin
<ev...@yahoo.com> wrote:
> Hello, lets say I have 10 fields and usually some 5 of them are present in each document. And the size of my index is 100Mb.
> I want to change my schema and I'll have 100 fields, but each document will still have only 5 fields present.
> After I reindex my data, will the size be affected? Could you guess how big the increase will be?
> Any related information, suggestions will be helpful as well.
>
> Thanks in advance,
> Eugene