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

to Lucene's Confluence.
* also corrected some trivial errors in javadocs & comments
This commit is contained in:
Lu Xugang 2021-02-12 04:25:28 +08:00 committed by GitHub
parent 8662121ca5
commit 9837bc4a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -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 {

View File

@ -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;