lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyril Barlow" <i...@fantasyfooty.org>
Subject Re: IndexWriter.optimize() need to much time.
Date Wed, 05 Oct 2005 14:18:45 GMT
Just use 2 different indices? One temp one that is being optimized and one
current being used. Then switch the paths on your application when the temp
one is ready.

----- Original Message -----
From: "Eric Louvard" <eric.louvard@hauk-sasko.de>
To: <java-user@lucene.apache.org>
Sent: Wednesday, October 05, 2005 3:10 PM
Subject: IndexWriter.optimize() need to much time.


> Hello,
>
> my problem is that IndexWriter.optimize() take 20 minutes. OK it is not
> a lot of time, but I can't allow me to block the system such a long time
> :-(.
> I don't know when I can take the time for optimize().
>
> Has someone allready find a workarround for this problem ?
> Is it possible to make a sleep in the 'optimize() while' so that the
> index is avaible for another Thread ? Would it be usefull ?
>
> thanks
>     √Čric.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

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


Mime
View raw message