[jira] [Commented] (TIKA-3382) Improve writelimitreached handling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (TIKA-3382) Improve writelimitreached handling

ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/TIKA-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338693#comment-17338693 ]

Tim Allison commented on TIKA-3382:

I agree that it isn’t the best option. However, I’m not sure how we interrupt a parse and stop processing without an exception.

We could hide the exception from most users by catching it in DefaultParser or AutoDetectParser, obv we’d report WriteLimitReached in Metadata.

Any recs?

> Improve writelimitreached handling
> ----------------------------------
>                 Key: TIKA-3382
>                 URL: https://issues.apache.org/jira/browse/TIKA-3382
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
> In a number of places in our parsers, we're swallowing WriteLimitReached exceptions.  We should make sure to let these bubble up.

This message was sent by Atlassian Jira