lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1531837 - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
Date Mon, 14 Oct 2013 10:13:26 GMT
Author: mikemccand
Date: Mon Oct 14 10:13:25 2013
New Revision: 1531837

URL: http://svn.apache.org/r1531837
Log:
LUCENE-5263: fix comment

Modified:
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java?rev=1531837&r1=1531836&r2=1531837&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java Mon Oct
14 10:13:25 2013
@@ -3357,14 +3357,14 @@ public class IndexWriter implements Clos
     assert merge.info.info.getDocCount() != 0 || keepFullyDeletedSegments || dropSegment;
 
     if (mergedDeletes != null) {
-      // Pass false for assertInfoLive because the merged
-      // segment is not yet live (only below do we commit it
-      // to the segmentInfos):
       boolean success = false;
       try {
         if (dropSegment) {
           mergedDeletes.dropChanges();
         }
+        // Pass false for assertInfoLive because the merged
+        // segment is not yet live (only below do we commit it
+        // to the segmentInfos):
         readerPool.release(mergedDeletes, false);
         success = true;
       } finally {



Mime
View raw message