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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: