close resource after use
This commit is contained in:
parent
6dc34d0152
commit
27d9974c12
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ public class LuceneTest {
|
|||
|
||||
searcher.search(query, streamingHitCollector);
|
||||
|
||||
searcher.close();
|
||||
reader.close();
|
||||
|
||||
dir.close();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue