lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Koch" <TheRan...@gmx.net>
Subject Closing the IndexSearcher object
Date Sat, 17 Jan 2004 21:01:29 GMT
Hi all,

I have a search method who is used by many programs with different queries.
I therefore do not want to close the IndexSearch object to allow other
programs to reuse it. Does this have any side effects (e.g. does the IndexSearcher
object contain state information)? Would it be better to instanciate always a
new IndexSearch object and close it after usage? 

Cheers,
Karl


-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail


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


Mime
View raw message