You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (Commented) (JIRA)" <ji...@apache.org> on 2011/11/05 05:05:53 UTC
[jira] [Commented] (SOLR-2875) Incorrect url of
tika-data-config.xml in example-DIH
[ https://issues.apache.org/jira/browse/SOLR-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144558#comment-13144558 ]
Koji Sekiguchi commented on SOLR-2875:
--------------------------------------
I can reproduce the problem and the patch looks good!
> Incorrect url of tika-data-config.xml in example-DIH
> ----------------------------------------------------
>
> Key: SOLR-2875
> URL: https://issues.apache.org/jira/browse/SOLR-2875
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.0
> Environment: solr boot:java -Dsolr.solr.home=~/trunk/solr/example/example-DIH/solr/tika -jar start.jar
> Reporter: Shinichiro Abe
> Priority: Trivial
> Fix For: 4.0
>
> Attachments: SOLR-2875.patch
>
>
> The specified url in tika-data-config.xml is not correct path. So when running full-import, exception is thrown.
> {quote}
> 2011/11/04 16:48:26 org.apache.solr.common.SolrException log
> ?v???I: Full Import failed:java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: ../contrib/extraction/src/test/resources/solr-word.pdf
> at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:261)
> at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:372)
> :
> :
> Caused by: java.io.FileNotFoundException: Could not find file: ../contrib/extraction/src/test/resources/solr-word.pdf
> at org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.java:110)
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org