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

Tim Allison commented on TIKA-1986:
-----------------------------------

Hi [~thammegowda], I added an "Initializable" similar to your original 
"Configurable".  I _think_ this will be rarely used, but it will let users 
carry out the types of initialization that you pointed out might be crucial.

Going back to [~gagravarr]'s distinction between initialization and 
run-time/per document parameterization, I'm now thinking that it might be best 
to use the Param only at initialization...keep our current XParserConfig 
pattern for parameterization per document.  I think this cleans up quite a 
bit...if you like this simplification, we can also strip out the Param 
setting/getting in ParseContext entirely.

I just pushed a draft of this direction.  Let me know what you think.

Again, many thanks...this is a fantastic addition!!!

> support parser parameters with type (int, double, etc) in configuration XML 
> file
> --------------------------------------------------------------------------------
>
>                 Key: TIKA-1986
>                 URL: https://issues.apache.org/jira/browse/TIKA-1986
>             Project: Tika
>          Issue Type: Sub-task
>          Components: config
>            Reporter: Thamme Gowda
>             Fix For: 1.14
>
>
> Tika Configuration should be enhanced to support for basic types like int, 
> double, boolean, url, file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to