How to check that solr server is running

2011-07-23 Thread Romi
i have implemented search in my E commerce application. which hit solr(running on port 8983) to get the search result solr url is *url =solrURL+/solr/db/select/?qt=dismaxwt=jsonstart=+start+rows=+end+q=+lowerCaseQuery+hl=truehl.fl=texthl.usePhraseHighlighter=truesort= score desc ,+sort+

Re: How to check that solr server is running

2011-07-23 Thread Kyle Lee
This is more of a jQuery question than a question about Solr. In any case, if Solr isn't running at the location specified, then the connection will be refused, and an error will be thrown. You can easily set up a handler that will fire when this event occurs: http://api.jquery.com/ajaxError/ On