Re: Detecting schema errors while adding documents

2016-11-18 Thread Shawn Heisey
On 11/16/2016 11:02 AM, Mike Thomsen wrote: > 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

Re: Detecting schema errors while adding documents

2016-11-16 Thread Erick Erickson
You're probably thinking about SOLR-445 (yes, 445. This issue has been hanging around for that long) But that's for much more recent versions than 4.10.3 so without looking at the Solr logs I don't think there's much of a way to tell. The awkward way is, when a batch fails re-submit the docs

Detecting schema errors while adding documents

2016-11-16 Thread Mike Thomsen
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