Re: Can lucene index survives a machine crash during the merge or optimize operation?

2010-12-29 Thread Jiang mingyuan
thanks for you patient answer and advice. I will pick up my lucene in action 2nd soon. On Wed, Dec 29, 2010 at 8:12 PM, Anshum wrote: > It pretty much can. > Generally, those operations happen on a copy of the index and hence are > pretty much atomic. That is the reason why 2X the size of th

Re: Can lucene index survives a machine crash during the merge or optimize operation?

2010-12-29 Thread Anshum
It pretty much can. Generally, those operations happen on a copy of the index and hence are pretty much atomic. That is the reason why 2X the size of the index is required only for the optimize operation. You should get (buy) a copy of lucene in action 2nd ed from manning for a lot of such info.