You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/05/15 10:07:50 UTC

[GitHub] [lucene] mocobeta commented on a diff in pull request #884: LUCENE-10568: fix javadocs errors in IndexWriter.DocStats

mocobeta commented on code in PR #884:
URL: https://github.com/apache/lucene/pull/884#discussion_r873143938


##########
lucene/core/src/java/org/apache/lucene/index/IndexWriter.java:
##########
@@ -6198,14 +6198,15 @@ public synchronized DocStats getDocStats() {
   /** DocStats for this index */
   public static final class DocStats {
     /**
-     * The total number of docs in this index, including docs not yet flushed (still in the RAM
-     * buffer), not counting deletions.
+     * The total number of docs in this index, counting docs not yet flushed (still in the RAM
+     * buffer), and counting deleted docs. <b>NOTE:</b> buffered deletions are not counted. If you

Review Comment:
   Minor suggestion - `and also counting deleted docs` may be a bit clear as suggested in https://github.com/apache/lucene/pull/884#discussion_r871492434.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org