Would like to get some thoughts on 
https://issues.apache.org/jira/browse/TIKA-3296.  I originally implemented this 
where the environment variables would override what is specified in 
TesseractOCRConfig.  Only if the environment variables are not specified would 
the config variables be used.

Luís Filipe Nassif</jira/secure/ViewProfile.jspa?name=lfcnassif> suggested 
doing it the other way.  The values in config will override, so you can specify 
global, system-wide defaults with the environment variables, but then 
individual systems can override by specifying in config.

Either way can be done in an upward compatible, non-breaking way.  If the 
environment variables are not specified, everything continues to work as before.

Any suggestions on which way to go?  I'm seeing the benefit of doing it the way 
Luis suggested.

Reply via email to