We're stuck on Solr 4.10.3 (Cloudera bundle). Is there any way to detect with SolrJ when a document added to the index violated the schema? All we see when we look at the stacktrace for the SolrException that comes back is that it contains messages about an IOException when talking to the solr nodes. Solr is up and running, and the documents are only invalid because I added a Java statement to make a field invalid for testing purposes. When I remove that statement, the indexing happens just fine.
Any way to do this? I seem to recall that at least in newer versions of Solr it would tell you more about the specific error. Thanks, Mike