Im working in a "home project solr"(aka PoC), using Solr as search engine. I'm using master/slave configuration in two distinct servers, so(in my plans) my search would be avaiable even if the main server comes down but, the problem is:
Im currently doing my search at url
http://mainSOLRSERVER:8080/search/select/?q=*:*
Is there any built-in solr component to check if this url is OK, and if is not, change to another server
http://redundancySOLRSERVER:8080/search/select/?q=*:*?
I aint using Solrj in my application, its a simple ASP.Net application using xml parsing in Solr's results.
The only thing I came up with, would be send a ping request to Solr's main server and, if returns not ok, build the request with the redundancy URL, but that would be necessary in every single search request, is that the right approach?
Thanks in advance!