From 566dc2e73bf0ff3b67da414e2784d2853441df20 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Fri, 5 Sep 2014 13:53:09 +0000 Subject: [PATCH] remove extra deleter.refresh() call (we were calling it twice on IW.rollback) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622699 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/core/src/java/org/apache/lucene/index/IndexWriter.java | 1 - 1 file changed, 1 deletion(-) diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java index d99f5445700..1538945a890 100644 --- a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java +++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java @@ -2049,7 +2049,6 @@ public class IndexWriter implements Closeable, TwoPhaseCommit, Accountable { lastCommitChangeCount = changeCount; - deleter.refresh(); deleter.close(); IOUtils.close(writeLock); // release write lock