lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andy <yhl...@sohu.com>
Subject SolrCloud fail over
Date Wed, 12 Sep 2012 02:17:22 GMT
I know fail over is available in solr4.0 right now, if one server
crashes,other servers also support query,I set up a solr cloud like this
http://lucene.472066.n3.nabble.com/file/n4007117/Selection_028.png 

I use http://localhost:8983/solr/collection1/select?q=*%3A*&wt=xml for query
at first, if the node  8983 crashes, I have to access other nodes for query
like http://localhost:8900/solr/collection1/select?q=*%3A*&wt=xml

but I use the nodes url in the solrj, how to change the request url
dynamically?
does SolrCloud support something like virtual ip address? for example I use
url http://collections1 in the solrj, and forward the request to available
url automatically.




--
View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-fail-over-tp4007117.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message