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

openReaderPassed not populated in CheckIndex.Status.SegmentInfoStatus

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.9
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      When using CheckIndex programatically, the openReaderPassed flag on the SegmentInfoStatus is never populated (so it always comes back false)

      looking at the code, its clear that openReaderPassed is defined, but never used

      furthermore, it appears that not all information that is propagated to the "InfoStream" is available via SegmentIinfoStatus

      All of the following information should be able to be gather from public properties on the SegmentInfoStatus:
      test: open reader.........OK
      test: fields, norms.......OK [2 fields]
      test: terms, freq, prox...OK [101 terms; 133 terms/docs pairs; 133 tokens]
      test: stored fields.......OK [100 total field count; avg 1 fields per doc]
      test: term vectors........OK [0 total vector count; avg 0 term/freq vector fields per doc]

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: