Re: Solr main replica down, another replica taking over

2018-03-21 Thread Shawn Heisey
On 3/21/2018 12:04 AM, Midas A wrote: We want to send less traffic over virtual machines and more on physical servers . How can we achieve this At the moment, I do not know of any functionality in SolrCloud to accomplish this goal.  As I mentioned before, there is work underway to make it

Re: Solr main replica down, another replica taking over

2018-03-21 Thread Midas A
Thanks Shawn, We want to send less traffic over virtual machines and more on physical servers . How can we achieve this On Wed, Mar 21, 2018 at 11:02 AM, Shawn Heisey wrote: > On 3/20/2018 11:18 PM, Midas A wrote: > >> I have one question here >> a) solr cloud load balance

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Shawn Heisey
On 3/20/2018 11:18 PM, Midas A wrote: I have one question here a) solr cloud load balance requests internally (Round robin or anything else ). Yes, SolrCloud does load balance requests across active replicas in the entire cloud.  I do not know what algorithm it uses for load balancing --

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Midas A
Hi Shawn, I have one question here a) solr cloud load balance requests internally (Round robin or anything else ). b) How can i change this behaviour (Note. I have solr cloud with mix of machines physical and virtual ) Regards, Midas On Wed, Mar 21, 2018 at 6:36 AM, Zheng Lin Edwin Yeo

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Zheng Lin Edwin Yeo
Hi Shawn, Thanks for your reply. Yes, I'm using SolrCloud and my clients are Java. Will look into CloudSolrClient. Regards, Edwin On 20 March 2018 at 20:36, Shawn Heisey wrote: > On 3/20/2018 2:22 AM, Zheng Lin Edwin Yeo wrote: > >> However, for query that are using URL,

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Shawn Heisey
On 3/20/2018 2:22 AM, Zheng Lin Edwin Yeo wrote: However, for query that are using URL, if the URL is still pointing to the main replica http://192.168.2.11:8983/solr, it will not go through. We have to manually change the URL to point it to the other replica http://192.168.2.12:8984/solr

Solr main replica down, another replica taking over

2018-03-20 Thread Zheng Lin Edwin Yeo
Hi, We have a Solr setup with 2 replicas. Main replica (usually the leader): http://192.168.2.11:8983/solr Other replica: http://192.168.2.12:8984/solr When the main replica is down, the other replica will correctly take over as the leader. Usually when this happens, the indexing using