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

Tim Allison commented on TIKA-3296:
-----------------------------------

May or may not be relevant: tika-app looks for a TikaConfig file's path as 
specified in an environment variable if it isn't specified on the commandline.

 

Can you do something like that?  I understand that environment variables are 
exceedingly useful in container environments, etc, but I'm hesitant to add a 
third way of setting the path: SPI, config and now environment variables.

 

If you want to specify something outside of the jar, why not use a tikaconfig 
file?

> Allow tesseract/tessdata path to be specified by environment variables
> ----------------------------------------------------------------------
>
>                 Key: TIKA-3296
>                 URL: https://issues.apache.org/jira/browse/TIKA-3296
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Peter Kronenberg
>            Priority: Trivial
>
> Allow tesseract/tessdata path to be specified by environment variables, 
> overriding whatever is specified in TesseractOCRConfig.properties.  This 
> allows the paths to be specified externally from the jar, allowing for easier 
> execution on multiple systems



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to