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

Expose version and resource description in CorruptIndexException and friends

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.1
    • 5.3, 6.0
    • None
    • None
    • New, Patch Available

    Description

      It would be nice to access the minVersion, maxVersion in IndexTooNewException and IndexTooOldException as well as the resoruce description in CorruptIndexException programmatically. I'd love to use this to support better serialization on top of those exception as well as structured responses from the individual values.

      Attachments

        1. LUCENE-6714.patch
          13 kB
          Simon Willnauer
        2. LUCENE-6714.patch
          12 kB
          Simon Willnauer
        3. LUCENE-6714.patch
          8 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: