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); documentIdList.add(documentId);
} }
reader.close();
return documentIdList; return documentIdList;
} }

View File

@ -1,2 +1,7 @@
- New image rescale between thumbnail and original (client/server) - New image rescale between thumbnail and original (client/server)
- Batch to regenerate all thumbnails (server) - Batch to regenerate all thumbnails (server)
- Delete files on FS when a file in database is deleted (server)
- Batch to delete unused files on FS (server)
- Special criteria to search inside OCR-ed content (eg. full:uranium) (server)
- Special criteria to search on a specific time span (eg. at:2013-06) (server)
- Show help on special criterias (client)

View File

@ -8,7 +8,7 @@
<p class="input-prepend text-center input-block-level"> <p class="input-prepend text-center input-block-level">
<span class="add-on"><span class="icon-search"></span></span> <span class="add-on"><span class="icon-search"></span></span>
<input type="text" placeholder="Search" ng-model="search" /> <input type="text" placeholder="Search" ng-model="search" class="span10" />
</p> </p>
<table class="table table-striped table-hover table-documents"> <table class="table table-striped table-hover table-documents">