Check for HTTP response code, if its other than 200 means services are not OK.
On 19 July 2011 14:39, Romi <romijain3...@gmail.com> wrote: > I am running an application that get search results from solr server. But > when server is not running i get no response from the server. Is there any > way i can found that my server is not running so that i can give proper > error message regarding it > > > ----- > Thanks & Regards > Romi > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-find-whether-solr-server-is-running-or-not-tp3181870p3181870.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Thanks and Regards Mohammad Shariq