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

Include diagnostics per-segment when writing a new segment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • None
    • None
    • New

    Description

      It would be very helpful if each segment in an index included
      diagnostic information, such as the current version of Lucene.

      EG, in LUCENE-1474 this would be very helpful to see if certain
      segments were written under 2.4.0.

      We can start with just the current version.

      We could also consider making this extensible, so you could provide
      your own arbitrary diagnostics, but SegmentInfo/s is not public so I
      think such an API would be "one-way" in that you'd have to use
      CheckIndex to check on it later. Or we could wait on such extensibility
      until we provide some consistent way to access per-segment details
      in the index.

      Attachments

        1. LUCENE-1654.patch
          107 kB
          Michael McCandless
        2. LUCENE-1654.patch
          105 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: