lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r636893 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/index/IndexWriter.java
Date Thu, 13 Mar 2008 20:57:33 GMT
Author: buschmi
Date: Thu Mar 13 13:57:32 2008
New Revision: 636893

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

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

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=636893&r1=636892&r2=636893&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Thu Mar 13 13:57:32 2008
@@ -71,6 +71,9 @@
  4. LUCENE-1213: MultiFieldQueryParser was ignoring slop in case
     of a single field phrase. (Trejkaz via Doron Cohen)
 
+ 5. LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit
+    successfully created compound files. (Michael Busch)
+	
 New features
 
  1. LUCENE-1137: Added Token.set/getFlags() accessors for passing more information about
a Token through the analysis

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



Mime
View raw message