You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/04/07 18:47:40 UTC

svn commit: r1310799 - in /lucene/dev/trunk/lucene: CHANGES.txt core/src/java/org/apache/lucene/index/IndexWriter.java

Author: rmuir
Date: Sat Apr  7 16:47:39 2012
New Revision: 1310799

URL: http://svn.apache.org/viewvc?rev=1310799&view=rev
Log:
LUCENE-3958: javadocs corrections for IndexWriter

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

Modified: lucene/dev/trunk/lucene/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/CHANGES.txt?rev=1310799&r1=1310798&r2=1310799&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/CHANGES.txt (original)
+++ lucene/dev/trunk/lucene/CHANGES.txt Sat Apr  7 16:47:39 2012
@@ -716,6 +716,11 @@ Bug fixes
 * LUCENE-3589: BytesRef copy(short) didnt set length.
   (Peter Chang via Robert Muir)
 
+Documentation
+
+* LUCENE-3958: Javadocs corrections for IndexWriter.
+  (Iulius Curt via Robert Muir)
+
 ======================= Lucene 3.6.0 =======================
 
 Changes in backwards compatibility policy

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java?rev=1310799&r1=1310798&r2=1310799&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java Sat Apr  7 16:47:39 2012
@@ -1345,7 +1345,7 @@ public class IndexWriter implements Clos
   final InfoStream infoStream;
 
   /**
-   * Forces merge policy to merge segments until there's <=
+   * Forces merge policy to merge segments until there are <=
    * maxNumSegments.  The actual merges to be
    * executed are determined by the {@link MergePolicy}.
    *
@@ -1371,14 +1371,14 @@ public class IndexWriter implements Clos
    * <p>The actual temporary usage could be much less than
    * these figures (it depends on many factors).</p>
    *
-   * <p>In general, once the this completes, the total size of the
+   * <p>In general, once this completes, the total size of the
    * index will be less than the size of the starting index.
    * It could be quite a bit smaller (if there were many
    * pending deletes) or just slightly smaller.</p>
    *
    * <p>If an Exception is hit, for example
-   * due to disk full, the index will not be corrupt and no
-   * documents will have been lost.  However, it may have
+   * due to disk full, the index will not be corrupted and no
+   * documents will be lost.  However, it may have
    * been partially merged (some segments were merged but
    * not all), and it's possible that one of the segments in
    * the index will be in non-compound format even when