Re: Load balancer for indexing?

2015-04-28 Thread spillane
Shawn / Hoss, I see that CloudSolrServer appeared in SolrJ 4.5, will that work with a 4.2 SolrCloud? If so I'll upgrade my client and point the CloudSolrServer constructor at my 5 ZK hosts. I would still use ConcurrentUpdateSolrServer as it is good for catching up when my indexing has fallen beh

Load balancer for indexing?

2015-04-27 Thread spillane
I manage a SolrCloud with 5 shards. Queries go thru an AWS load balancer but indexing does not, so my leader1 is getting clobbered. Should my SolrJ app be pointing at a load balancer and if so will indexing via the ConcurrentUpdateSolrServer class still work? -- View this message in conte

Re: SolrCloud default shard assignment order not correct

2015-04-27 Thread spillane
Shawn, The 4.2 cloud graph ordering turned out not to be a problem, after the first startup of my 5 leaders and 5 replicas their shard assignments were 'fixed' in Zookeeper. I can now start them in any order and get the same graph.

Re: SolrCloud default shard assignment order not correct

2015-03-02 Thread spillane
Since the order is consistently 1,4,2,3 it sounds like I can start the leaders in 1,4,2,3 order and then replicas in 1,4,2,3 order and expect the relationships to stick leader1 -> replica1 leader4 -> replica4 leader2 -> replica2 leader3 -> replica3 -- View this message in context: http://luce

SolrCloud default shard assignment order not correct

2015-03-02 Thread spillane
I'm trying to build a SolrCloud with 4 leader/replica pairs. Starting my first host with this tomcat6.conf setting CATALINA_OPTS="${CATALINA_OPTS} -DnumShards=4 -Dbootstrap_confdir=/data/solr/rockbands/conf -Dcollection.configName=rockbands_conf -DzkHost=zk1:2181,zk2:2181,zk3:2181" and then star