You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2020/07/16 20:21:00 UTC
[jira] [Resolved] (TIKA-3139) Use static AutoDetectParser in
tika-server
[ https://issues.apache.org/jira/browse/TIKA-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Allison resolved TIKA-3139.
-------------------------------
Resolution: Not A Problem
<face_palm/> We use a static TikaConfig, and that's the thing that takes a while to initialize. Creating an AutoDetectParser from that is trivial...
> Use static AutoDetectParser in tika-server
> ------------------------------------------
>
> Key: TIKA-3139
> URL: https://issues.apache.org/jira/browse/TIKA-3139
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Major
>
> I just realized that we're creating a new AutoDetectParser for _every_ parse in tika-server. When I looked at the diff in tika-batch, it took a bit less than a second to load the mime-types.
> Let's try to make that static.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)