[
https://issues.apache.org/jira/browse/TIKA-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282543#comment-17282543
]
Peter Kronenberg commented on TIKA-3297:
----------------------------------------
The reason I want to explicitly set the path to Tika is because of the new code
that I added to check if the language files exist. I much prefer the cleaner
error checking that occurs if Tika knows where the _tessdata_ directory is.
But as you recall, if the path is not set, we just go ahead and pass it to
Tesseract, and if the lanaguages are incorrect, Tesseract returns a very ugly,
misleading error message.
> Simplify parser configuration in 2.x
> ------------------------------------
>
> Key: TIKA-3297
> URL: https://issues.apache.org/jira/browse/TIKA-3297
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Assignee: Tim Allison
> Priority: Major
> Fix For: 2.0.0
>
>
> We currently have .properties files and tika-config.xml and runtime
> configuration. We should simplify to tika-config.xml.
> From a security perspective, I'm thinking we should also allow executable
> paths to be set only via tika-config.xml...not programmatically via a
> TesseractConfig.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)