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
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: [email protected]
For additional commands, e-mail: [email protected]