lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelov, Rossen" <Rossen.Ange...@SourceMedia.com>
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.

Ross

-----Original Message-----
From: Dan Armbrust [mailto:daniel.armbrust.list@gmail.com]
Sent: Thursday, June 02, 2005 3:10 PM
To: java-user@lucene.apache.org
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 
documents. 

Dan

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.
>
>Ross
>
>  
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

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


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