Apache Lucene open-source search software
fix javadocs bugs
Robert Muir7bce9c8fb76d
diff --git a/lucene/src/java/org/apache/lucene/index/IndexReader.java b/lucene/src/java/org/apache/lucene/index/IndexReader.javaindex 19e14e6188f..23a79b2afbe 100644--- a/lucene/src/java/org/apache/lucene/index/IndexReader.java+++ b/lucene/src/java/org/apache/lucene/index/IndexReader.java@@ -31,6 +31,7 @@ import org.apache.lucene.document.DocumentStoredFieldVisitor;import org.apache.lucene.index.codecs.PerDocValues;import org.apache.lucene.index.values.IndexDocValues;import org.apache.lucene.search.FieldCache; // javadocs+import org.apache.lucene.search.SearcherManager; // javadocsimport org.apache.lucene.search.similarities.Similarity;import org.apache.lucene.store.*;import org.apache.lucene.util.ArrayUtil;@@ -484,8 +485,7 @@ public abstract class IndexReader implements Cloneable,Closeable {* for doing so); if a new reader is returned you also* must eventually close it. Be sure to never close a* reader while other threads are still using it; see- * <code>SearcherManager</code> in- * <code>contrib/misc</code> to simplify managing this.+ * {@link SearcherManager} to simplify managing this.** <p>If a new reader is returned, it's safe to make changes* (deletions, norms) with it. All shared mutable state@@ -543,7 +543,7 @@ public abstract class IndexReader implements Cloneable,Closeable {* <p>This provides "near real-time" searching, in that* changes made during an {@link IndexWriter} session can be* quickly made available for searching without closing- * the writer nor calling {@link #commit}.+ * the writer nor calling {@link IndexWriter#commit}.** <p>It's <i>near</i> real-time because there is no hard* guarantee on how quickly you can get a new reader after