lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <>
Subject Re: shared IndexSearcher (lucene 3.0.3)
Date Fri, 25 Feb 2011 18:13:20 GMT

the too many open files can be prevented by raising the limit of open files ;)

there is a nice summary on the FAQ you might wanna look at:

if you have further questions just come back here!


On Fri, Feb 25, 2011 at 2:11 PM, Akos Tajti <> wrote:
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message