lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r895704 - in /lucene/java/trunk/src/java/org/apache/lucene/index: IndexFileDeleter.java IndexWriter.java
Date Mon, 04 Jan 2010 17:09:12 GMT
Author: mikemccand
Date: Mon Jan  4 17:09:11 2010
New Revision: 895704

URL: http://svn.apache.org/viewvc?rev=895704&view=rev
Log:
small fixes to IW's infoStream output

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

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexFileDeleter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/IndexFileDeleter.java?rev=895704&r1=895703&r2=895704&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/IndexFileDeleter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexFileDeleter.java Mon Jan  4 17:09:11
2010
@@ -512,7 +512,7 @@
         // the file for subsequent deletion.
 
         if (infoStream != null) {
-          message("IndexFileDeleter: unable to remove file \"" + fileName + "\": " + e.toString()
+ "; Will re-try later.");
+          message("unable to remove file \"" + fileName + "\": " + e.toString() + "; Will
re-try later.");
         }
         if (deletable == null) {
           deletable = new ArrayList<String>();

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=895704&r1=895703&r2=895704&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 Mon Jan  4 17:09:11
2010
@@ -1490,7 +1490,8 @@
             " maxBufferedDocs=" + docWriter.getMaxBufferedDocs() +
             " maxBuffereDeleteTerms=" + docWriter.getMaxBufferedDeleteTerms() +
             " maxFieldLength=" + maxFieldLength +
-            " index=" + segString());
+            " index=" + segString() +
+            " version=" + Constants.LUCENE_VERSION);
   }
 
   /**



Mime
View raw message