LUCENE-10568: fix javadocs errors in IndexWriter.DocStats (#884)

This commit is contained in:
sunwq 2022-05-16 12:34:29 +08:00 committed by GitHub
parent c577508630
commit de8a6998d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -6198,14 +6198,15 @@ public class IndexWriter
/** DocStats for this index */ /** DocStats for this index */
public static final class DocStats { public static final class DocStats {
/** /**
* The total number of docs in this index, including docs not yet flushed (still in the RAM * The total number of docs in this index, counting docs not yet flushed (still in the RAM
* buffer), not counting deletions. * buffer), and also counting deleted docs. <b>NOTE:</b> buffered deletions are not counted. If
* you really need these to be counted you should call {@link IndexWriter#commit()} first.
*/ */
public final int maxDoc; public final int maxDoc;
/** /**
* The total number of docs in this index, including docs not yet flushed (still in the RAM * The total number of docs in this index, counting docs not yet flushed (still in the RAM
* buffer), and including deletions. <b>NOTE:</b> buffered deletions are not counted. If you * buffer), but not counting deleted docs.
* really need these to be counted you should call {@link IndexWriter#commit()} first.
*/ */
public final int numDocs; public final int numDocs;