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

Only record the major that was used to create the index rather than the full version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 7.0
    • None
    • None
    • New

    Description

      LUCENE-7703 added information about the Lucene version that was used to create the index to the segment infos. But since there is a single creation version, it means we need to reject calls to addIndexes that can mix indices that have different creation versions, which might be seen as an important regression by some users. So I have been thinking about only recording the major version that was used to create the index, which is still very valuable information and would allow us to accept calls to addIndexes when all merged indices have the same major version. This looks like a better trade-off to me.

      Attachments

        1. LUCENE-7756.patch
          18 kB
          Adrien Grand
        2. LUCENE-7756.patch
          147 kB
          Adrien Grand
        3. LUCENE-7756.patch
          150 kB
          Adrien Grand

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpountz Adrien Grand
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: