Created 03-23-2017 01:05 PM
I have a solrcloud of five servers. How should the client applications query solr while ensuring load balancing? For example if the client application is explicitly querying node A and this node gets disconnected, the client application will stop working. Is there a master node i can point to that would distribute queries across the active nodes? Thanks Ahmad
Created 03-23-2017 02:55 PM
Created 03-23-2017 03:10 PM
What kind of client do you use? (the client application uses what kind of interface to connect to Solr)
Created 03-24-2017 07:36 AM
im sending http requests to solr from a .net application
Created 03-23-2017 03:18 PM
You can use a load balancer that is built in Solr. In case you have only one shard, you can specify a list of replicas to choose from for a single shard (for load balancing purposes) by using the pipe symbol (|):
Consult the docs for more comlex scenarios (like more shards): https://cwiki.apache.org/confluence/display/solr/Distributed+Requests
Created 03-24-2017 07:35 AM
But the problem is i am referring to the same server (localhost in your example). My solrcloud is composed of 5 servers, how can i make sure i am querying from the live nodes in case some of them are down?
Created 06-29-2017 07:47 AM
Did you find the solution about this issue? I had exactly as your problem. Can you share to me about your solution?