lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: How much disk space does optimize really take
Date Wed, 07 Oct 2009 19:40:07 GMT
On Wed, Oct 7, 2009 at 3:31 PM, Mark Miller <markrmiller@gmail.com> wrote:
> I can't tell why calling a commit or restarting is going to help
> anything

Depends on what scenarios you consider, and what you are taking 2x of.

1) Open reader on index
2) Open writer and add two documents... the first causes a large
merge, and the second is just to make it a non-optimized index.
  At this point youre already at 2x of your original index size.
3) call optimize()... this will make a 3rd copy before deleting the 2nd.

-Yonik
http://www.lucidimagination.com

Mime
View raw message