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 ot...@apache.org on 2008/02/17 05:15:31 UTC

svn commit: r628423 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java

Author: otis
Date: Sat Feb 16 20:15:30 2008
New Revision: 628423

URL: http://svn.apache.org/viewvc?rev=628423&view=rev
Log:
- Fixed javadoc typos for expungeDeletes()

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=628423&r1=628422&r2=628423&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 Sat Feb 16 20:15:30 2008
@@ -2266,10 +2266,10 @@
   }
 
 
-  /** Expunges all deletes from the index.  When and index
+  /** Expunges all deletes from the index.  When an index
    *  has many document deletions (or updates to existing
    *  documents), it's best to either call optimize or
-   *  expungeDeletes to remove all unusged data in the index
+   *  expungeDeletes to remove all unused data in the index
    *  associated with the deleted documents.  To see how
    *  many deletions you have pending in your index, call
    *  {@link IndexReader#maxDoc - IndexReader#numDocs}.
@@ -2281,7 +2281,7 @@
    *  MergePolicy#findMergesToExpungeDeletes}.). Note that
    *  this call does not first commit any buffered
    *  documents, so you must do so yourself if necessary.
-   *  See also {@link #expungeDeletes(boolean)}*/
+   *  See also {@link #expungeDeletes(boolean)} */
   public void expungeDeletes() throws CorruptIndexException, IOException {
     expungeDeletes(true);
   }