Optimization used to have a very noticeable impact
on search speed prior to some index format changes
from quite a while ago.

At this point the effect is much less noticeable, but
the thing optimize does do is reclaim resources
from deleted documents. If you have lots of deletions,
it's a good idea to periodically optimize, but in that
case it's often done pretty infrequently (once a
day/week/month) rather than as part of any ongoing
indexing process.

Best
Erick

2011/6/14 Yury Kats <yuryk...@yahoo.com>:
> On 6/14/2011 4:28 AM, Uwe Schindler wrote:
>> indexing and optimizing was only a
>> good idea pre Lucene-2.9, now it's mostly obsolete)
>
> Could you please elaborate on this? Is optimizing obsolete
> in general or after indexing new documents? Is it obsolete
> after deletions? And what it "mostly"?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to