Hi Mark, The implementation is logging anyway, we have subclassed StreamingUpdateSolrServer and used handleError to log, but inspecting the stack trace in in the handleError method does not give any clue about the document(s) that failed. We have a solution that uses Solr as backend for indexing and is important to us to keep track of failed and succeeded documents so we can take further actions. In the past we used the CommonsHttpSolrServer but switched to StreamingUpdateSolrServer for better performance.
ERROR SBEPStreamingUpdateSolrServer handleError - Error. java.lang.Exception: undefined field field_str_idx_bugged undefined field field_str_idx_bugged request: http://localhost:48085/solr/coretest0-clone/update at org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner.run(StreamingUpdateSolrServer.java:162) [solr-solrj-3.3.0.jar:3.3.0 1139785 - rmuir - 2011-06-26 09:25:01] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_23] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_23] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_23] thanks.. -- Leonardo S Souza On Mon, Sep 5, 2011 at 7:58 PM, Mark Miller <markrmil...@gmail.com> wrote: > The default impl logs with slf4j - just setup logging properly and you will > see the results? > > Alternatively, you can subclass and impl that method however you'd like. > > On Sep 5, 2011, at 6:36 PM, Leonardo Souza wrote: > > > Hi, > > > > Inspecting StreamingUpdateSolrServer#handleError i can't see how to keep > > track of failures, i'd like to discover > > which documents failed during the request. > > > > thanks in advance! > > > > -- > > Leonardo S Souza > > - Mark Miller > lucidimagination.com > 2011.lucene-eurocon.org | Oct 17-20 | Barcelona > > > > > > > > > > >