Apache Lucene open-source search software
fix javadoc for addIndexes(IndexReader[]) to remove incorrect warning that a writer cannot be changing the underlying index
Michael McCandless48fbdad30589
diff --git a/src/java/org/apache/lucene/index/IndexWriter.java b/src/java/org/apache/lucene/index/IndexWriter.javaindex bfb6bb9698f..31e814873ee 100644--- a/src/java/org/apache/lucene/index/IndexWriter.java+++ b/src/java/org/apache/lucene/index/IndexWriter.java@@ -3340,12 +3340,6 @@ public class IndexWriter {/** 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