On Tue, Nov 27, 2012 at 3:21 PM, Shawn Heisey <s...@elyograg.org> wrote:
>  but even way back then, rumblings on the mailing list said "don't optimize 
> for performance reasons."

Count me amongst the dissenters.  Optimize can make a lot of sense,
and that's why it still exists.
People should be careful to not assume they need to optimize to get
good performance, but people assuming that no one should optimize are
making just as big of a mistake IMO.

> When/if a configuration option becomes available so I can do a commit that
> expunges deletes even when there are only a few deleted documents, or if I
> can figure out how to add that option myself, I will be able to eliminate
> full optimization entirely.

Expunging a single delete from a segment involves re-writing the
entire segment, so it's just as bad as optimize (assuming most
segments have a deletion).  You might as well get the benefit of the
optimize as well.

-Yonik
http://lucidworks.com

Reply via email to