The extracting stuff can use a lot of memory for large documents. Your
app may be running out of memory.

Tomcat by default has logging for tomcat but not for tomcat apps. If
you configure tomcat's log4j to log org.apache.solr classes it will
tell you what is wrong.

On Tue, Apr 13, 2010 at 5:22 AM, Andrea Gazzarini
<andrea.gazzar...@atcult.it> wrote:
> 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
>>
>
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to