lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <>
Subject SolrJ Exceptions
Date Fri, 17 Apr 2015 02:59:33 GMT
I'm trying to identify the difference between an exception when Solr is in
a bad state/down vs. when it is up but an invalid request was made (maybe
some bad data sent in).

The JavaDoc for SolrRequest process() says:

*@throws SolrServerException if there is an error on the Solr server@throws
IOException if there is a communication error*

So I expected IOException when Solr was down, but it looks like it actually
throws a SolrServerException which has a cause of an IOException.

I'm also not sure how SolrException fits into all of this...

Is anyone familiar with when to generally expect these types of exceptions?

I'm interested in both cloud and stand-alone scenarios, and using Solr 5.0
or 5.1.



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