[
https://issues.apache.org/jira/browse/LUCENE-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012316#comment-14012316
]
Michael McCandless commented on LUCENE-5710:
--------------------------------------------
Thanks Lee, this looks great, I'll commit shortly!
> DefaultIndexingChain swallows useful information from
> MaxBytesLengthExceededException
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-5710
> URL: https://issues.apache.org/jira/browse/LUCENE-5710
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/index
> Affects Versions: 4.8.1
> Reporter: Lee Hinman
> Priority: Minor
> Attachments: LUCENE-5710.patch, LUCENE-5710.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]