Some problem with extraction (Tika, etc...)? My suggestion is : try to
extract manually the document...I had a lot of problem with Tika and pdf
extraction...
Cheers,
Andrea
Il 13/04/2010 13:05, Sandhya Agarwal ha scritto:
Hello,
I have the following piece of code :
ContentStreamUpdateRequest contentUpdateRequest = new
ContentStreamUpdateRequest("/update/extract");
contentUpdateRequest.addFile(new File(contentFileName));
contentUpdateRequest.setParam("extractOnly","true");
NamedList result = solrServerSession.request(contentUpdateRequest);
This is throwing the following error :
org.apache.solr.common.SolrException: Internal Server Error
Internal Server Error
request:
http://localhost:8080/solr/update/extract?extractOnly=true&wt=javabin&version=1
[Apr 13, 2010 4:25:23 PM (IndexThread-1_9)]: at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:424)
[Apr 13, 2010 4:25:23 PM (IndexThread-1_9)]: at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243)
I have solr 1.4 set up on tomcat 6.0.26.
There is no detailed stack trace / logs available.
Could somebody please let me know what might be the issue.
Thanks,
Sandhya