lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r750851 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Date Fri, 06 Mar 2009 11:24:56 GMT
Author: mikemccand
Date: Fri Mar  6 11:24:55 2009
New Revision: 750851

URL: http://svn.apache.org/viewvc?rev=750851&view=rev
Log:
fix javadoc for addIndexes(IndexReader[]) to remove incorrect warning that a writer cannot
be changing the underlying index

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=750851&r1=750850&r2=750851&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 Fri Mar  6 11:24:55
2009
@@ -3340,12 +3340,6 @@
   /** Merges the provided indexes into this index.
    * <p>After this completes, the index is optimized. </p>
    * <p>The provided IndexReaders are not closed.</p>
-
-   * <p><b>NOTE:</b> the index in each Directory must not be
-   * changed (opened by a writer) while this method is
-   * running.  This method does not acquire a write lock in
-   * each input Directory, so it is up to the caller to
-   * enforce this.
    *
    * <p><b>NOTE:</b> while this is running, any attempts to
    * add or delete documents (with another thread) will be



Mime
View raw message