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