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

Remove support for pre-3.0 indexes

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • core/index
    • None
    • New, Patch Available

    Description

      We should remove support for 2.x (and 1.9) indexes in 4.0. It seems that nothing can be done in 3x because there is no special code which handles 1.9, so we'll leave it there. This issue should cover:

      1. Remove the .zip indexes
      2. Remove the unnecessary code from SegmentInfo and SegmentInfos. Mike suggests we compare the version headers at the top of SegmentInfos, in 2.9.x vs 3.0.x, to see which ones can go.
      3. remove FORMAT_PRE from FieldInfos
      4. Remove old format from TermVectorsReader

      If you know of other places where code can be removed, then please post a comment here.

      I don't know when I'll have time to handle it, definitely not in the next few days. So if someone wants to take a stab at it, be my guest.

      Attachments

        1. LUCENE-2480.patch
          52 kB
          Shai Erera
        2. LUCENE-2480.patch
          92 kB
          Earwin Burrfoot
        3. LUCENE-2480.patch
          96 kB
          Shai Erera
        4. LUCENE-2480.patch
          96 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: