You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/05/12 15:41:42 UTC

[jira] Commented: (TIKA-242) Incremental configuration AutoDetectParser

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

Jukka Zitting commented on TIKA-242:
------------------------------------

I'm wondering if this would be better handled with the existing fallback parser support:

    TikaConfig config = new TikaConfig("my-custom-tika-config.xml");
    AutoDetectParser parser = new AutoDetectParser(config);
    parser.setFallback(new AutoDetectParser());

Of course this only covers the parser classes and not the mime type registry, but we could perhaps do something similar also with the Detector interface to cover that part.

> Incremental configuration AutoDetectParser
> ------------------------------------------
>
>                 Key: TIKA-242
>                 URL: https://issues.apache.org/jira/browse/TIKA-242
>             Project: Tika
>          Issue Type: Improvement
>          Components: config
>    Affects Versions: 0.3
>            Reporter: Jan Goyvaerts
>         Attachments: TikaConfig-patch
>
>
> The AutoDetectParser accepts one totally new configuration or no configuration. For the latter case a default configuration is used. It would be nice if the former case is a configuration on top of the default configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.