Lucene: Fix deprecated IndexWriter.close() call

Change-Id: Id5296a32e6d3d6ef62e02b0492875528d06b5041
This commit is contained in:
Dave Borowitz 2014-09-05 15:30:51 -07:00
parent 90f9447e18
commit 7d28fe8e9e

View File

@ -159,7 +159,7 @@ class SubIndex {
try {
writer.getIndexWriter().commit();
try {
writer.getIndexWriter().close(true);
writer.getIndexWriter().close();
} catch (AlreadyClosedException e) {
// Ignore.
}