diff options
Diffstat (limited to 'src/main/java/com/gitblit/service/LuceneService.java')
-rw-r--r-- | src/main/java/com/gitblit/service/LuceneService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/service/LuceneService.java b/src/main/java/com/gitblit/service/LuceneService.java index 798edb0a..285ea8d7 100644 --- a/src/main/java/com/gitblit/service/LuceneService.java +++ b/src/main/java/com/gitblit/service/LuceneService.java @@ -615,7 +615,7 @@ public class LuceneService implements Runnable { }
// finished
- reader.release();
+ reader.close();
// commit all changes and reset the searcher
config.setInt(CONF_INDEX, null, CONF_VERSION, INDEX_VERSION);
|