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

Reply via email to