lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject Re: optimize() method call
Date Thu, 12 Apr 2007 01:41:44 GMT
Robert Engels wrote:
> I think this is great, and it gave me an idea. What if another thread could
> call a "stop optimize" which would stop the optimize after it came to a
> consistent state (not in the middle of a segment merge).
> 
> We schedule our optimizes for the "lull" time period, but with 24/7 operation
> this could be hard to find.
> 
> Being able to stop and then resume the optimize seems like a great idea.

+1.  It would be useful in shutdown cases where immediate shutdown is needed, or 
to allow a scheduled backup to kick in at a fixed time, rather than having to 
wait for optimize to complete.  Or is there another way to interrupt optmimize 
safely?

Antony



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


Mime
View raw message