Re: check If I am Still Leader

2015-04-16 Thread Erick Erickson
bq: I don't use replication so why does it has to check who is the leader Because the doc must be routed to the correct shard, and the shard leader is the machine that coordinates the indexing for that shard. I really question whether this is a fruitful course for you to take. What specific prob

Re: check If I am Still Leader

2015-04-16 Thread Shawn Heisey
On 4/16/2015 7:42 AM, Adir Ben Ami wrote: > I have not mentioned before that the index are always routed to specific > machine. > Is there a way to avoid connectivity from the node to all other nodes? That capability has been added in Solr 5.1.0. https://issues.apache.org/jira/browse/SOLR-6832

Re: check If I am Still Leader

2015-04-16 Thread Shawn Heisey
On 4/16/2015 7:08 AM, Adir Ben Ami wrote: > I am using Solr 4.10.0 with tomcat and embedded Zookeeper. > I use SolrCloud in my system. > > Each Shard machine try to reach/connect with other cluster machines in order > to index the document ,it just checks if it is still the leader. > I don't use

RE: check If I am Still Leader

2015-04-16 Thread Adir Ben Ami
I have not mentioned before that the index are always routed to specific machine. Is there a way to avoid connectivity from the node to all other nodes? > From: adi...@hotmail.com > To: solr-user@lucene.apache.org > Subject: check If I am Still Leader > Date: Thu, 16 Apr 2015 16:08:15 +