You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by mi...@apache.org on 2009/04/16 17:22:13 UTC
svn commit: r765663 -
/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Author: mikemccand
Date: Thu Apr 16 15:22:09 2009
New Revision: 765663
URL: http://svn.apache.org/viewvc?rev=765663&view=rev
Log:
message (to infoStream) when a merge exception is handled
Modified:
lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
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=765663&r1=765662&r2=765663&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 Apr 16 15:22:09 2009
@@ -4328,6 +4328,11 @@
}
final private void handleMergeException(Throwable t, MergePolicy.OneMerge merge) throws IOException {
+
+ if (infoStream != null) {
+ message("handleMergeException: merge=" + merge.segString(directory) + " exc=" + t);
+ }
+
// Set the exception on the merge, so if
// optimize() is waiting on us it sees the root
// cause exception: