lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelov, Rossen" <>
Subject RE: how long should optimizing take
Date Thu, 02 Jun 2005 20:17:55 GMT
I'll make sure no indexing is started before the optimization is done.
Most likely Sunday will be the optimization day for the indexes and every
other night the documents will be added to the index.

Only searching will be available through the web service while optimizing,
but this should not be a problem as an IndexReader will be opened, not a
second IndexWriter.


-----Original Message-----
From: Dan Armbrust []
Sent: Thursday, June 02, 2005 3:10 PM
Subject: Re: how long should optimizing take

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:

"This communication is intended solely for the addressee and is
confidential and not for third party unauthorized distribution."

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message