Hi all, I am facing following issue ... I have an application which is feeding Solr 3.6 index with document updates via Solrj 3.6. I use a binary request writer, because of the issue with XML when sending insert and deletes at once ( https://issues.apache.org/jira/browse/SOLR-1752 )
Now, I have noticed that if I sent a malformed document to the index, I see in logs it got refused by the index, but on the Solrj side, returned UpdateResponse does not indicate any kind of failure (no exception thrown, response status code == 0 ). When I switch to XML requests, I receive exception when sending malformed document. By looking at Solr's BinaryUpdateRequestHandler.java http://svn.apache.org/viewvc/lucene/dev/tags/lucene_solr_3_6_0/solr/core/src/java/org/apache/solr/handler/BinaryUpdateRequestHandler.java?view=markup at lines 98 - 105, exceptions are not propagated, therefore RequestHandlerBase can not set it into the response ... Is this intended behavior? What am I doing wrong? Any suggestions? Many thanks in advance. Best, Jozef