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.
EDIT:
$
.ajax({
url: "http://192.168.1.9:8983/solr/db/admin/ping",
success:function(){
alert("ok");
},
error: function()
{
alert("dsd");
}
})