[
https://issues.apache.org/jira/browse/TIKA-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17829574#comment-17829574
]
ASF GitHub Bot commented on TIKA-4215:
--------------------------------------
tballison merged PR #1672:
URL: https://github.com/apache/tika/pull/1672
> Avoid loading resources in Tika() just to get version number
> ------------------------------------------------------------
>
> Key: TIKA-4215
> URL: https://issues.apache.org/jira/browse/TIKA-4215
> Project: Tika
> Issue Type: New Feature
> Reporter: Tim Allison
> Priority: Major
>
> In tika-server, we call {{new Tika()}} twice simply to get the version
> string. This forces Tika to load all the default parsers and other default
> resources. Let's make the version string accessible via a static call and
> avoid loading all the resources twice just to get the version number.
> We should confirm that we're not doing this in tika-app, tika-batch and
> tika-pipes as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)