Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2875

Incorrect url of tika-data-config.xml in example-DIH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.0-ALPHA
    • 3.5, 4.0-ALPHA
    • None
    • solr boot:java -Dsolr.solr.home=~/trunk/solr/example/example-DIH/solr/tika -jar start.jar

    Description

      The specified url in tika-data-config.xml is not correct path. So when running full-import, exception is thrown.

      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)

      Attachments

        1. SOLR-2875.patch
          0.8 kB
          Shinichiro Abe

        Issue Links

          Activity

            People

              koji Koji Sekiguchi
              shinichiro abe Shinichiro Abe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: