Apache Lucene open-source search software
improve flex javadocs
Michael McCandlesse5e05ae8bac8
diff --git a/lucene/src/java/org/apache/lucene/index/DocsEnum.java b/lucene/src/java/org/apache/lucene/index/DocsEnum.javaindex 2364b6cf06e..44dab4eee28 100644--- a/lucene/src/java/org/apache/lucene/index/DocsEnum.java+++ b/lucene/src/java/org/apache/lucene/index/DocsEnum.java@@ -60,16 +60,23 @@ public abstract class DocsEnum extends DocIdSetIterator {}}+ /** Call this once, up front, and hold a reference to the+ * returned bulk result. When you call {@link #read}, it+ * fills the docs and freqs of this pre-shared bulk+ * result. */public BulkReadResult getBulkResult() {initBulkResult();return bulkResult;}/** Bulk read (docs and freqs). After this is called,- * {@link #docID()} and {@link #freq} are undefined. This- * returns the count read, or 0 if the end is reached.- * The IntsRef for docs and freqs will not have their- * length set.+ * {@link #docID()} and {@link #freq} are undefined.+ * This returns the count read, or 0 if the end is+ * reached. The resulting docs and freqs are placed into+ * the pre-shard {@link BulkReadResult} instance returned+ * by {@link #getBulkResult}. Note that the {@link+ * IntsRef} for docs and freqs will not have their length+ * set.** <p>NOTE: the default impl simply delegates to {@link* #nextDoc}, but subclasses may do this more