Hello, Please find below On Thu, Jan 1, 2015 at 11:59 PM, SolrUser1543 <osta...@gmail.com> wrote:
> 1. If it is possible to ignore such an error and continue to index D4 ? > this can be done by catching and swallowing an exception in custom UpdateRequestProcessor > 2. What will the best way to add an information about failed documents ? I > thought about an update processor , with try / catch in addCommand and in > case of exception add a doc ID to response . > Or it may be better to implement a component or response writer to add the > info ? > it turns that you can add this info into SolrQueryResponse.getValues() even in custom UpdateRequestProcessor and it should be responded back. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/ignoring-bad-documents-during-index-tp4176947.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>