lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Young <bubble...@gmail.com>
Subject Re: restart interrupted index
Date Tue, 21 Mar 2006 09:13:09 GMT
Paulo Silveira wrote:

>Chris,
>
>I really would like only this extra files, but I have the same problem here.
>
>If I interrupt my IndexWriter with a kill signal, must of the time I
>will be left with a lock file AND corrupted index files (the searcher
>will throw some IllegalStateExceptions after the lock file is
>deleted).
>  
>
I have found that if I send a HUP it shuts down cleanly and leaves no 
lock file (assuming you're on a *nix machine)

kill -HUP [pid]

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