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

Nick Burch commented on TIKA-1557:
----------------------------------

Being able to blacklist a parser is part of the work for TIKA-1509, but we've 
still got some outstanding design questions before we can do that. More help 
tackling those is needed!

One thing we can currently do though is exclude certain mimetypes from the 
default parser. You can use something like this to emulate it for now:

{code}
<properties>
  <parsers>
    <parser class="org.apache.tika.parser.DefaultParser">
      <mime-exclude>image/jpeg</mime-exclude>
    </parser>
    <parser class="org.apache.tika.parser.jpeg.JpegParser"/>
  </parsers>
</properties>
{/code}

That'll stop jpeg going through the default parser, and force it to go for the 
named jpeg parser

> Create TesseractOCR Option to Never Run
> ---------------------------------------
>
>                 Key: TIKA-1557
>                 URL: https://issues.apache.org/jira/browse/TIKA-1557
>             Project: Tika
>          Issue Type: New Feature
>          Components: parser
>            Reporter: Tyler Palsulich
>            Assignee: Tyler Palsulich
>            Priority: Minor
>         Attachments: TIKA-1557.palsulich.patch
>
>
> As brought up in TIKA-1555, TesseractOCRParser should have an option to never 
> be run. So, we can add an {{enabled}} option to the Config.



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

Reply via email to