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

Rename SegmentInfo.docCount -> .maxDoc

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      We already have maxDoc and numDocs, I think it's crazy we have a 3rd one docCount.

      We should just rename to maxDoc.

        Attachments

        1. LUCENE-6307.patch
          94 kB
          Michael McCandless
        2. LUCENE-6307.patch
          82 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: