1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 17:56:20 +00:00

Close IndexReader after search

This commit is contained in:
jendib
2013-08-17 23:16:19 +02:00
parent e7629eb6a0
commit 00ed2e3c25
3 changed files with 9 additions and 2 deletions

View File

@@ -201,6 +201,8 @@ public class LuceneDao {
documentIdList.add(documentId);
}
reader.close();
return documentIdList;
}