lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Armbrust <>
Subject Re: how long should optimizing take
Date Thu, 02 Jun 2005 20:10:00 GMT
You should be careful, however, not to end up with two VM instances each 
trying to open an index writer at the same time - one of them is going 
to fail.

Aka, if someone using your web interface tries to add a new document to 
the index while you have the optimizer running standalone, the web 
interface is not going to be able to get a lock on the index to add the 


Angelov, Rossen wrote:

>Thanks for the suggestion, Jian Chen's idea is very similar too.
>Probably optimizing that often is not necessary and not that critical for
>speeding up the searches.
>I'll try changing the index process not to optimize at all and execute the
>optimization independently of the indexing on a weekly bases.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message