Shawn: Somewhere you have access to a CommonsHttpSolrServer, right? There's a getHttpClient call that returns an org.apache.commons.httpclient that might get you the information you need.
Best Erick On Wed, Jan 4, 2012 at 1:03 PM, Shawn Heisey <s...@elyograg.org> wrote: > When doing Solr queries in a browser, it's pretty easy to see an HTTP error > status and read the reason, but I would like to do the same thing in a > deterministic way with SolrJ. Can anyone point me to examples that show how > to retrieve the HTTP status code and the reason for the error? I would like > to inform the end user that there was a problem and offer ideas about how > they might be able to fix it, rather than simply show an empty result grid. > > Thanks, > Shawn >