*$.ajax({
        url:
solrURL+"/solr/db/select/?qt=dismax&wt=json&&start="+start+"&rows="+end+"&q="+query+"&json.wrf=?",
        async:false,
        dataType: 'json',
        success: function(){
                   
getSolrResponse(sort,order,itemPerPage,showPage,query,solrURL);  
                        }
        ,error:function(){

                alert("there is an error");
                }

})*

I have this ajax request, but even if solr url is not correct, than also
error code is not executing, why so. please tell me the solution. i have
tried with both async:false and async:true. in both cases error not called
if server is shutdown

-----
Thanks & Regards
Romi
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-in-execution-of-error-call-in-ajax-request-if-solr-server-is-not-running-tp3192962p3192962.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to