Increase default timeout of TesseractOCRParser conf
<!-- Parsers specific config -->
<parsers>
<parser class="org.apache.tika.parser.DefaultParser">
+ <!-- comment this parser-exclude tag to activate OCR parser -->
<parser-exclude class="org.apache.tika.parser.ocr.TesseractOCRParser" />
</parser>
<parser class="org.apache.tika.parser.pdf.PDFParser">
<!-- <param name="skipOcr" type="bool">false</param> -->
<!-- <param name="tessdataPath" type="string"></param> -->
<!-- <param name="tesseractPath" type="string"></param> -->
- <!-- <param name="timeoutSeconds" type="int">120</param> -->
+ <!-- <param name="timeoutSeconds" type="int">1200</param> -->
<!-- </params> -->
<!-- </parser> -->
</parsers>
