lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liram Vardi <>
Subject Identify specific document insert error inside a solrj batch request
Date Wed, 30 Jul 2014 13:25:04 GMT
Hi All,

I have a question regarding the use of HttpSolrServer (SolrJ).
I have a collection of SolrInputDocuments I want to send to Solr as a batch.
Now, let's assume that one of the docs inside this collection is corrupted (missing some "required"
When I send the batch of docs to solr using HttpSolrServer.add(Collection< SolrInputDocument>
docs) I am getting the following general exception:

Server at returned non ok status:500, message:Server

When I check Solr log, I can identify exactly which is the corrupted document.

My question:
Is it possible to identify the problematic document at the client side? (for recovery purposes)


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message