[
https://issues.apache.org/jira/browse/TIKA-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129744#comment-13129744
]
Nick Burch commented on TIKA-755:
---------------------------------
In r1185658 I've updated TikaConfig to create a DefaultDetector based on the
available MimeTypes and/or ClassLoader. I've also changed the Tika class and
AutoDetectParser to both get the Detector from TikaConfig, rather than creating
their own DefaultDetector internally.
However, various things broke when I switched the Tika class from using
AutoDetectParser to using the Parser from TikaConfig, so I haven't made that
change.
> Add getDetector() method to TikaConfig
> --------------------------------------
>
> Key: TIKA-755
> URL: https://issues.apache.org/jira/browse/TIKA-755
> Project: Tika
> Issue Type: Improvement
> Components: config
> Affects Versions: 0.10
> Reporter: Nick Burch
> Assignee: Nick Burch
> Fix For: 1.0
>
>
> As discussed on the mailing list, we should add a getDetector() method to
> TikaConfig. This would return a DefaultDetector that was created with the
> same classloader as the DefaultParser was
> As part of this, we should update the Tika class to get the DefaultDetector
> from the TikaConfig, rather than creating internally. We should also switch
> the Tika class to not create its own AutoDetectParser, but instead use the
> DefaultParser from TikaConfig
> Discussion is:
> http://mail-archives.apache.org/mod_mbox/tika-dev/201110.mbox/%[email protected]%3E
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira