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/02/24 02:20:12 UTC
svn commit: r747247 -
/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Author: mikemccand
Date: Tue Feb 24 01:20:11 2009
New Revision: 747247
URL: http://svn.apache.org/viewvc?rev=747247&view=rev
Log:
clarify IndexWriter.rollback javadoc
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=747247&r1=747246&r2=747247&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 Tue Feb 24 01:20:11 2009
@@ -2861,8 +2861,9 @@
/**
* Close the <code>IndexWriter</code> without committing
- * any of the changes that have occurred since it was
- * opened. This removes any temporary files that had been
+ * any changes that have occurred since the last commit
+ * (or since it was opened, if commit hasn't been called).
+ * This removes any temporary files that had been
* created, after which the state of the index will be the
* same as it was when this writer was first opened. This
* can only be called when this IndexWriter was opened