Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
seems like parser exclude must be specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Mar 6, 2020
1 parent 346efc6 commit 1d9fedd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tika/tika-config.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<properties>
<parsers>
<parser class="org.apache.tika.parser.DefaultParser">
<parser-exclude class="org.apache.tika.parser.pdf.PDFParser"/>
</parser>
<parser class="org.apache.tika.parser.pdf.PDFParser">
<params>
<param name="ocrStrategy" type="string">ocr_and_text</param>
Expand Down

0 comments on commit 1d9fedd

Please sign in to comment.