[ 
https://issues.apache.org/jira/browse/SOLR-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651073#action_12651073
 ] 

Chris Harris commented on SOLR-284:
-----------------------------------

On r720403B, I'm noticing that before I apply this patch tests pass, whereas 
after I apply this patch the following tests fail:

solr.client.solrj.embedded.JettyWebappTest
solr.client.solrj.embedded.LargeVolumeJettyTest
solr.client.solrj.embedded.SolrExampleJettyTest
solr.client.solrj.response.TestSpellCheckResponse

In each case Solr outputs this exception: "On Solr startup: SEVERE: 
org.apache.solr.common.SolrException: Error loading class 
'org.apache.solr.handler.ExtractingRequestHandler'"

I'm not sure the best way to get the ExtractingRequestHandler into the 
classpath here.

Sort of related, I've noticed that ExtractingRequestHandler doesn't currently 
get built into the .war file when you run "ant example", in contrast to 
DataImportHandler, which *does* get put into the .war by means of this target 
in its build.xml (among other targets):

  <target name="dist" depends="build">
        <copy todir="../../build/web">
                <fileset dir="src/main/webapp" includes="**" />
        </copy>
        <mkdir dir="../../build/web/WEB-INF/lib"/>
        <copy file="target/${fullnamever}.jar" 
todir="${solr-path}/build/web/WEB-INF/lib"></copy>
        <copy file="target/${fullnamever}.jar" todir="${solr-path}/dist"></copy>
  </target>

Should ExtractingRequestHandler's build.xml perhaps have an analogous "dist" 
target, along these lines:

  <target name="dist" depends="build">
        <mkdir dir="../../build/web/WEB-INF/lib"/>
        <copy file="build/${fullnamever}.jar" 
todir="${solr-path}/build/web/WEB-INF/lib"></copy>
        <copy file="build/${fullnamever}.jar" todir="${solr-path}/dist"></copy>
  </target>


> Parsing Rich Document Types
> ---------------------------
>
>                 Key: SOLR-284
>                 URL: https://issues.apache.org/jira/browse/SOLR-284
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: Eric Pugh
>            Assignee: Grant Ingersoll
>             Fix For: 1.4
>
>         Attachments: libs.zip, rich.patch, rich.patch, rich.patch, 
> rich.patch, rich.patch, rich.patch, rich.patch, SOLR-284.patch, 
> SOLR-284.patch, SOLR-284.patch, solr-word.pdf, source.zip, test-files.zip, 
> test-files.zip, test.zip, un-hardcode-id.diff
>
>
> I have developed a RichDocumentRequestHandler based on the CSVRequestHandler 
> that supports streaming a PDF, Word, Powerpoint, Excel, or PDF document into 
> Solr.
> There is a wiki page with information here: 
> http://wiki.apache.org/solr/UpdateRichDocuments
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to