You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael McCandless (Jira)" <ji...@apache.org> on 2022/05/12 15:04:00 UTC

[jira] [Commented] (LUCENE-10568) Javadocs errors in IndexWriter.DocStats

    [ https://issues.apache.org/jira/browse/LUCENE-10568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17536173#comment-17536173 ] 

Michael McCandless commented on LUCENE-10568:
---------------------------------------------

Thanks [~wormday] – the wording is indeed VERY confusing :)   I commented on the PR.

> Javadocs errors in IndexWriter.DocStats
> ---------------------------------------
>
>                 Key: LUCENE-10568
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10568
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/javadocs
>    Affects Versions: 8.0, 9.1
>            Reporter: sun wuqiang
>            Priority: Trivial
>         Attachments: Image 007.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> *org.apache.lucene.index.IndexWriter.DocStats*
> This class has two fields
> The field maxDoc should contain numDeletedDocs, and numDocs does not contain numDeletedDocs
> However, the javadocs are just the opposite.
> !Image 007.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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