diff --git a/docs-core/src/main/java/com/sismics/docs/core/dao/lucene/LuceneDao.java b/docs-core/src/main/java/com/sismics/docs/core/dao/lucene/LuceneDao.java index 7add3341..8e9f4675 100644 --- a/docs-core/src/main/java/com/sismics/docs/core/dao/lucene/LuceneDao.java +++ b/docs-core/src/main/java/com/sismics/docs/core/dao/lucene/LuceneDao.java @@ -201,6 +201,8 @@ public class LuceneDao { documentIdList.add(documentId); } + reader.close(); + return documentIdList; } diff --git a/docs-parent/TODO b/docs-parent/TODO index fe7beb2e..d0460833 100644 --- a/docs-parent/TODO +++ b/docs-parent/TODO @@ -1,2 +1,7 @@ - New image rescale between thumbnail and original (client/server) -- Batch to regenerate all thumbnails (server) \ No newline at end of file +- 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) \ No newline at end of file diff --git a/docs-web/src/main/webapp/partial/docs/document.html b/docs-web/src/main/webapp/partial/docs/document.html index e60aac84..0b2e0a67 100644 --- a/docs-web/src/main/webapp/partial/docs/document.html +++ b/docs-web/src/main/webapp/partial/docs/document.html @@ -8,7 +8,7 @@
- +