Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tika Wiki" for change 
notification.

The "CompositeParserDiscussion" page has been changed by NickBurch:
https://wiki.apache.org/tika/CompositeParserDiscussion?action=diff&rev1=6&rev2=7

Comment:
Show how a parser-exclude (blacklist) could work in config

    <parsers>
      <!-- Most things can use the default -->
      <parser class="org.apache.tika.parser.DefaultParser">
+       <!-- Don't use DefaultParser for these mimetypes, alternate config 
below -->
        <mime-exclude>image/jpeg</mime-exclude>
        <mime-exclude>application/xml</mime-exclude>
        <mime-exclude>application/pdf</mime-exclude>
+       <!-- Exclude (blacklist) these parsers, have them ignored by 
DefaultParser -->
+       <parser-exclude class="org.apache.tika.parser.jdbc.SQLite3Parser"/>
+       <parser-exclude 
class="org.apache.tika.parser.executable.ExecutableParser"/>
      </parser>
  
      <!-- No PDF, thank you! -->

Reply via email to