Lucene: Fix deprecated IndexWriter.close() call
Change-Id: Id5296a32e6d3d6ef62e02b0492875528d06b5041
This commit is contained in:
parent
90f9447e18
commit
7d28fe8e9e
@ -159,7 +159,7 @@ class SubIndex {
|
||||
try {
|
||||
writer.getIndexWriter().commit();
|
||||
try {
|
||||
writer.getIndexWriter().close(true);
|
||||
writer.getIndexWriter().close();
|
||||
} catch (AlreadyClosedException e) {
|
||||
// Ignore.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user