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 Sat, Jul 23, 2011 at 6:32 AM, Romi <romijain3...@gmail.com> wrote:

> 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=dismax&wt=json&&start="+start+"&rows="+end+"&q="+lowerCaseQuery+"&hl=true&hl.fl=text&hl.usePhraseHighlighter=true&sort=
> score desc ,"+sort+" "+order+"&json.wrf=?"*
>
> and using getJson i am getting the solr response.
>
>  $.getJSON(url, function(result){
>
> now my problem is how can i determine that solr server is running.
>
>
>
> -----
> Thanks & Regards
> Romi
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/How-to-check-that-solr-server-is-running-tp3193326p3193326.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to