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:23:14 UTC

svn commit: r747248 - /lucene/java/branches/lucene_2_4/src/java/org/apache/lucene/index/IndexWriter.java

Author: mikemccand
Date: Tue Feb 24 01:23:13 2009
New Revision: 747248

URL: http://svn.apache.org/viewvc?rev=747248&view=rev
Log:
clarify IndexWriter.rollback javadoc

Modified:
    lucene/java/branches/lucene_2_4/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/java/branches/lucene_2_4/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4/src/java/org/apache/lucene/index/IndexWriter.java?rev=747248&r1=747247&r2=747248&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/java/branches/lucene_2_4/src/java/org/apache/lucene/index/IndexWriter.java Tue Feb 24 01:23:13 2009
@@ -2661,8 +2661,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