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

Expose version and resource description in CorruptIndexException and friends

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: