lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akos Tajti <akos.ta...@gmail.com>
Subject shared IndexSearcher (lucene 3.0.3)
Date Fri, 25 Feb 2011 13:11:52 GMT
Hi all,

in our project we're using lucene in tomcat. To avoid some overhead we have
a shared IndexSearcher instance. In the past we had too many open files
errors many times. To prevent this the IndexSearcher is closed and reopened
after indexing. The shared instance is not closed anywhere else in the code.
Is this the right way of preventing these kind of errors?

Thanks in advance for your answers,
Ákos Tajti

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message