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

DefaultIndexingChain swallows useful information from MaxBytesLengthExceededException

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.8.1
    • Fix Version/s: 4.9, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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
          2 kB
          Lee Hinman
        2. LUCENE-5710.patch
          3 kB
          Lee Hinman

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: