lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Jaquemet <olivier.jaque...@jalios.com>
Subject Re: Renewing IndexSearcher on index change.
Date Tue, 04 Oct 2005 16:39:28 GMT
Volodymyr Bychkoviak wrote:

> I'm using following code during program startup 

[...]

> but this method should be used if you are running only one instance of 
> such program (because one program can unlock index locked by another 
> program for indexing for example)
>
Okay this perfect for our application as only one instance can be 
launched at the same time. thank you very much.

In every case I think I will use this to prevent any problem but why 
nobody uses finalize methods? is it somehow bad to try to close things 
correctly that way?

Olivier



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