Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10568

Javadocs errors in IndexWriter.DocStats

Details

    • Bug
    • Status: Reopened
    • Trivial
    • Resolution: Fixed
    • 8.0, 9.1
    • 10.0 (main), 9.2
    • general/javadocs
    • None
    • New

    Description

      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.

      Attachments

        1. Image 007.png
          101 kB
          sun wuqiang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wormday sun wuqiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m