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

Hudson commented on TIKA-2669:
------------------------------

SUCCESS: Integrated in Jenkins build tika-branch-1x #54 (See 
[https://builds.apache.org/job/tika-branch-1x/54/])
TIKA-2669 -- pdf and tesseract config set in a tika-config.xml file on 
(tallison: 
[https://github.com/apache/tika/commit/6933efd56ab28113b81d2a37abae00fef64bd878])
* (add) 
tika-server/src/test/resources/org/apache/tika/server/tika-config-for-server-tests.xml
* (add) tika-server/src/test/resources/testPDFTwoTextBoxes.pdf
* (edit) 
tika-server/src/main/java/org/apache/tika/server/resource/TikaResource.java
* (edit) tika-server/src/test/java/org/apache/tika/server/TikaParsersTest.java
* (edit) tika-server/src/test/java/org/apache/tika/server/TikaResourceTest.java
* (edit) tika-server/src/test/java/org/apache/tika/server/CXFTestBase.java


> Tika JAX-RS PDF parser option / custom config issue
> ---------------------------------------------------
>
>                 Key: TIKA-2669
>                 URL: https://issues.apache.org/jira/browse/TIKA-2669
>             Project: Tika
>          Issue Type: Bug
>          Components: config
>    Affects Versions: 1.18
>            Reporter: Annie Didier
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 1.19, 2.0.0
>
>
> PDF parsing using a config file behaves differently in Tika app than in Tika 
> server. Tika server reads the custom config file, but the PDF parsing options 
> are not being set. 
> Here is an excerpt of output from the app:
> <p>WINS No: B29017 APACHE 27-38 UNIT 1H Date: 5/4/2017
> </p>
> <p>AFE No: 1704555 Daily Completion and Workover Report DOL: 
> </p>
> However, with the same configuration file the output from tika server is:
> <p>Daily Completion and Workover Report
> </p>
> <p>WINS No: 
> </p>
> <p>AFE No: 
> </p>
> <p>Date: 
> </p>
> <p>DOL: 
> </p>
> <p>APACHE 27-38 UNIT B29017
> </p>
> <p>1704555
> </p>
> <p>5/4/2017
> </p>
>  
>  
> The tika config is:
> <?xml version="1.0" encoding="UTF-8"?>
> <properties>
>  <parsers>
>  <parser class="org.apache.tika.parser.pdf.PDFParser">
>  <params>
>  <param name="sortByPosition" type="bool">true</param>
>  </params>
>  </parser>
>  </parsers>
> </properties>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to