[ 
https://issues.apache.org/jira/browse/CONNECTORS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13892060#comment-13892060
 ] 

David Morana commented on CONNECTORS-876:
-----------------------------------------

I tried this patch but I don't see any object id of the failing document in the 
manifold log.
the lapi error was failed to fetch document revision (see connectors-875)
Where does this identifying info supposed to show up?

> Solr connector: when HTTP error code 500 is returned, the error message 
> should contain some identifying information
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-876
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-876
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Lucene/SOLR connector
>    Affects Versions: ManifoldCF 1.4.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.6
>
>         Attachments: CONNECTORS-876.patch
>
>
> When Solr throws an error, it would be great if the connector could include 
> enough diagnostic information in the exception and/or log so that people 
> could chase down the originating document in question.  Right now all you get 
> is:
> {code}
> Exception tossed: Repeated service interruptions - failure processing 
> document: Server at https://llsrchsolqa1:8443/solr/Lisa returned non ok 
> status:500, message:Internal Server Error
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Repeated service 
> interruptions - failure processing document: Server at 
> https://llsrchsolqa1:8443/solr/Lisa returned non ok status:500, 
> message:Internal Server Error
>        at 
> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:586)
> Caused by: org.apache.solr.common.SolrException: Server at 
> https://llsrchsolqa1:8443/solr/Lisa returned non ok status:500, 
> message:Internal Server Error
>        at 
> org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrServer.request(ModifiedHttpSolrServer.java:311)
>        at 
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
>        at 
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
>        at 
> org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:919)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to