On Wed, Oct 7, 2009 at 3:31 PM, Mark Miller <markrmil...@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