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

Julien Nioche commented on NUTCH-967:
-------------------------------------

bq. perhaps it's wise to add parse-tika for HTML mime's to parse-plugins (now 
there's only parse-htm. Then we only have to set parse.includes in our 
configuration to switch between parse-tika and parse-html (if there is any need 
to).

If you look at parse-tika's plugin.xml you'll see that it is associated with 
any mimetype (value=*) so it does not need to be explicitely linked to the html 
mimetype in parse-plugins. I don't remember the exact mechanism, I think it 
tries to use any parser set explicitly for a given mime-type and if there 
aren't any or if they fail then it tries the default parsers.

We need to test parse-tika on html to make sure that it behaves exactly like 
the legacy html parser, which wasn't the case with 0.7; in the meantime it is 
advised to use parse-html and so we'll leave parse-html in parse-plugins.xml

Hope it makes sense




> Upgrade to Tika 0.9
> -------------------
>
>                 Key: NUTCH-967
>                 URL: https://issues.apache.org/jira/browse/NUTCH-967
>             Project: Nutch
>          Issue Type: Task
>          Components: parser
>    Affects Versions: 1.3, 2.0
>            Reporter: Markus Jelsma
>            Assignee: Julien Nioche
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-967-1.3-2.patch, NUTCH-967-1.3-3.patch, 
> NUTCH-967-1.3.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to