lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r636894 - in /lucene/java/branches/lucene_2_3: CHANGES.txt src/java/org/apache/lucene/index/IndexWriter.java
Date Thu, 13 Mar 2008 21:02:02 GMT
Author: buschmi
Date: Thu Mar 13 14:02:00 2008
New Revision: 636894

URL: http://svn.apache.org/viewvc?rev=636894&view=rev
Log:
LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit successfully created compound
files.

Modified:
    lucene/java/branches/lucene_2_3/CHANGES.txt
    lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/java/branches/lucene_2_3/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_3/CHANGES.txt?rev=636894&r1=636893&r2=636894&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_3/CHANGES.txt (original)
+++ lucene/java/branches/lucene_2_3/CHANGES.txt Thu Mar 13 14:02:00 2008
@@ -27,6 +27,9 @@
 
  8. LUCENE-1222: Fix IndexWriter.doAfterFlush to always be called on
     flush (Mark Ferguson via Mike McCandless)
+	
+ 9. LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit
+    successfully created compound files. (Michael Busch)
 
 ======================= Release 2.3.1 2008-02-22 =======================
 

Modified: lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java?rev=636894&r1=636893&r2=636894&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java Thu
Mar 13 14:02:00 2008
@@ -2451,6 +2451,9 @@
           synchronized(this) {
             info.setUseCompoundFile(true);
           }
+		  
+		  success = true;
+		  
         } finally {
           if (!success) {
             if (infoStream != null)



Mime
View raw message