On Thu, Apr 9, 2009 at 6:46 PM, Chris Hostetter
<hossman_luc...@fucit.org> wrote:
>
> : The second stage index failed an optimization with a disk full exception
> : (I had to move it to another lucene machine with a larger disk partition
> : to complete the optimization. Is there a reason why a 22 day index would
> : be 10x the size of an 8 day index when the document indexing rate is
> : fairly constant? Also, is there a way to shrink the index without
> : regenerating it?
>
> did you run CheckIndex after it failed to optimize the first time?  the
> failure may have left old temp files arround that aren't actually part of
> the index but are taking up space.
>
> (Actually: does CheckIndex warn about unused files in the index directory
> so people can clean them up? i'm not sure)

Actually, it doesn't (it only checks the "live" index files).

But: IndexWriter will remove unreferenced files as soon as it's instantiated.

Mike

---------------------------------------------------------------------
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