Well, if nothing is going on at all, it's hard to see why the index would
increase. So I suspect _something_ is going on. Possibilities:

1> you have indexing activity going on. Even if it's just replacing docs
that already exist, which is actually an add and a delete the index will
grow for a while; the deleted info isn't removed from the index until the
segment is merged, which happens unpredictably (well, actually predictably
but not on a schedule you enforce). So the index would
grow/shrink/grow/shrink. Do you have automatic process in the background
that push docs to the index?

2> You forceMerge (optimize), in which case the index will at least double
in size temporarily.

3> You are replicating. While the replication goes on, especially if your
index has changed greatly, then your index could double.

None of these fit the symptoms you describe very well mind you. It's
suspicious that these increases last long enough for you to see them
predictably in the morning, unless, say, a background process indexes
things regularly and you always look at the same time... unlikely at best.

But the fact that your index goes from 18G to 8G strongly suggests that
you're doing a forceMerge/optimize when you see it bump up to 18G.

Best
Erick




On Sat, Mar 16, 2013 at 4:52 AM, eanand333 <eanand....@gmail.com> wrote:

> Hi, I am kind of new in here. Got the same question...
> I am using Java version 1.6 and Lucene version 3.3.
> Can the index file size increase automatically over night?
> During the evening i see the size around 11GB, next day morning i see it to
> be 18GB and again the size reduces around 8GB.
> I have checked the logs and i am sure that there was no user activity
> during
> this period.
>
> Mr. Eric has suggested this to be a user error, if that s true, i would
> like
> to know what are the possible errors which could result in the rapid
> increase in index file size ?
>
> Or what are the other possibilities for the index size to increase
> exponentially?
>
> Thanks
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Can-index-size-increase-when-no-updates-optimizes-are-happening-tp3334022p4047945.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to