Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DS-1970 to many open files exception

 when update lucene index
  • Loading branch information...
commit ef1cb4ee0f72cdb806eee2177a4e0b7df537b8ff 1 parent 0cd0882
rradillen rradillen authored hardyoyo committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  dspace-api/src/main/java/org/dspace/search/DSQuery.java
3  dspace-api/src/main/java/org/dspace/search/DSQuery.java
View
@@ -475,6 +475,9 @@ protected static synchronized IndexSearcher getSearcher(Context c)
lastModified = reader.getVersion();
searcher = new IndexSearcher(reader);
+ } else {
+ reader.close();
+ searchDir.close();
}
return searcher;
Please sign in to comment.
Something went wrong with that request. Please try again.