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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          150 kB
          Adrien Grand
        2. LUCENE-7756.patch
          147 kB
          Adrien Grand
        3. LUCENE-7756.patch
          18 kB
          Adrien Grand

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jpountz Adrien Grand

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment