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

DefaultIndexingChain swallows useful information from MaxBytesLengthExceededException

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.8.1
    • 4.9, 6.0
    • core/index
    • None
    • New

    Description

      In DefaultIndexingChain, when a MaxBytesLengthExceededException is caught, the original message is discarded, however, the message contains useful information like the size that exceeded the limit.

      Lucene should make this information included in the newly thrown IllegalArgumentException.

      Attachments

        1. LUCENE-5710.patch
          3 kB
          Lee Hinman
        2. LUCENE-5710.patch
          2 kB
          Lee Hinman

        Activity

          People

            Unassigned Unassigned
            dakrone Lee Hinman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment