You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2022/11/04 22:13:00 UTC

[jira] [Commented] (TIKA-3918) AutoDetectParserConfig spoolToDisk=0 should ignore content-length

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

Hudson commented on TIKA-3918:
------------------------------

UNSTABLE: Integrated in Jenkins build Tika ยป tika-main-jdk8 #901 (See [https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/901/])
TIKA-3918 -- special handling when spoolToDisk == 0 (tallison: [https://github.com/apache/tika/commit/0bffbb44c34b6ccbbd2eda8b0e813e51750cf857])
* (edit) tika-core/src/main/java/org/apache/tika/parser/AutoDetectParser.java


> AutoDetectParserConfig spoolToDisk=0 should ignore content-length
> -----------------------------------------------------------------
>
>                 Key: TIKA-3918
>                 URL: https://issues.apache.org/jira/browse/TIKA-3918
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Trivial
>
> In the AutoDetectParserConfig, users can set a length for when to spool to disk.  If there's a content-length in the metadata, and that length is greater than the spoolToDisk value, the the file is spooled to disk.
> There are some use cases where users may want to spool to disk all the time.  Let's slightly modify the behavior to not require Content-Length, if spoolToDisk is set to 0.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)