Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-9590: Add javadoc for Lucene86PointsFormat class (#2194)

Lu Xugang9837bc4a4da1
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene86/Lucene86PointsFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene86/Lucene86PointsFormat.java
index 17594c05196..0714840a16e 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene86/Lucene86PointsFormat.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene86/Lucene86PointsFormat.java
@@ -35,9 +35,12 @@ import org.apache.lucene.index.SegmentWriteState;
* <li>A .kdm file that records metadata about the fields, such as numbers of dimensions or
* numbers of bytes per dimension.
* <li>A .kdi file that stores inner nodes of the tree.
- * <li>A .kdm file that stores leaf nodes, where most of the data lives.
+ * <li>A .kdd file that stores leaf nodes, where most of the data lives.
* </ul>
*
+ * See <a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=173081898">this
+ * wiki</a> for detailed data structures of the three files.
+ *
* @lucene.experimental
*/
public final class Lucene86PointsFormat extends PointsFormat {
diff --git a/lucene/core/src/java/org/apache/lucene/index/ReadersAndUpdates.java b/lucene/core/src/java/org/apache/lucene/index/ReadersAndUpdates.java
index 3746817d6ba..b917be579b3 100644
--- a/lucene/core/src/java/org/apache/lucene/index/ReadersAndUpdates.java
+++ b/lucene/core/src/java/org/apache/lucene/index/ReadersAndUpdates.java
@@ -66,8 +66,8 @@ final class ReadersAndUpdates {
// Indicates whether this segment is currently being merged. While a segment
// is merging, all field updates are also registered in the
- // mergingNumericUpdates map. Also, calls to writeFieldUpdates merge the
- // updates with mergingNumericUpdates.
+ // mergingDVUpdates map. Also, calls to writeFieldUpdates merge the
+ // updates with mergingDVUpdates.
// That way, when the segment is done merging, IndexWriter can apply the
// updates on the merged segment too.
private boolean isMerging = false;