Apache Lucene open-source search software
fix javaodcs
Michael McCandlessc2150e86a9bc
diff --git a/lucene/core/src/java/org/apache/lucene/index/CompositeReader.java b/lucene/core/src/java/org/apache/lucene/index/CompositeReader.javaindex 47b48220882..74697c78f1b 100644--- a/lucene/core/src/java/org/apache/lucene/index/CompositeReader.java+++ b/lucene/core/src/java/org/apache/lucene/index/CompositeReader.java@@ -28,7 +28,7 @@ import org.apache.lucene.store.*;by wrapping composite readers with {@link SlowCompositeReaderWrapper}.<p>IndexReader instances for indexes on disk are usually constructed- with a call to one of the static <code>DirectoryReader,open()</code> methods,+ with a call to one of the static <code>DirectoryReader.open()</code> methods,e.g. {@link DirectoryReader#open(Directory)}. {@link DirectoryReader} implementsthe {@code CompositeReader} interface, it is not possible to directly get postings.<p> Concrete subclasses of IndexReader are usually constructed with a call todiff --git a/lucene/core/src/java/org/apache/lucene/index/IndexReader.java b/lucene/core/src/java/org/apache/lucene/index/IndexReader.javaindex de116623c57..3952fc704ed 100644--- a/lucene/core/src/java/org/apache/lucene/index/IndexReader.java+++ b/lucene/core/src/java/org/apache/lucene/index/IndexReader.java@@ -52,7 +52,7 @@ import org.apache.lucene.util.ReaderUtil; // for javadocs</ul><p>IndexReader instances for indexes on disk are usually constructed- with a call to one of the static <code>DirectoryReader,open()</code> methods,+ with a call to one of the static <code>DirectoryReader.open()</code> methods,e.g. {@link DirectoryReader#open(Directory)}. {@link DirectoryReader} implementsthe {@link CompositeReader} interface, it is not possible to directly get postings.