Thank you very much Sameer, Erick and Upayavira. I got the solr cloud
working !!! Hurray !!
Cheers
Ravi Kiran Bhaskar
On Thu, Sep 17, 2015 at 3:10 AM, Upayavira wrote:
> and replicationFactor is the number of copies of your data, not the
> number of servers marked 'replica'. So as has been sai
and replicationFactor is the number of copies of your data, not the
number of servers marked 'replica'. So as has been said, if you have one
leader, and three replicas, your replicationFactor will be 4.
Upayavira
On Thu, Sep 17, 2015, at 03:29 AM, Erick Erickson wrote:
> Ravi:
>
> Sameer is corr
Ravi:
Sameer is correct on how to get it done in one go.
Don't get too hung up on replicationFactor. You can always
ADDREPLICA after the collection is created if you need to.
Best,
Erick
On Wed, Sep 16, 2015 at 12:44 PM, Sameer Maggon
wrote:
> I just gave an example API call, but for your sce
I just gave an example API call, but for your scenario, the
replicationFactor will be 4 (replicationFactor=4). In this way, all 4
machines will have the same copy of the data and you can put an LB in front
of those 4 machines.
On Wed, Sep 16, 2015 at 12:00 PM, Ravi Solr wrote:
> OK...I understoo
OK...I understood numShards=1, when you say replicationFactor=2 what does
it mean ? I have 4 machines, then, only 3 copies of data (1 at leader and 2
replicas) ?? so am i not under utilizing one machine ?
I was more thinking in the lines of a Mesh connectivity format i.e.
everybody has others copy
You'll have to say numShards=1 and replicationFactor=2.
http://
[hostname]:8983/solr/admin/collections?action=CREATE&name=test&configName=test&numShards=1&replicationFactor=2
On Wed, Sep 16, 2015 at 11:23 AM, Ravi Solr wrote:
> Thank you very much for responding Sameer so numShards=0 and
> repl
Thank you very much for responding Sameer so numShards=0 and
replicationFactr=4 if I have 4 machines ??
Thanks
Ravi Kiran Bhaskar
On Wed, Sep 16, 2015 at 12:56 PM, Sameer Maggon
wrote:
> Absolutely. You can have a collection with just replicas and no shards for
> redundancy and have a load bal
Absolutely. You can have a collection with just replicas and no shards for
redundancy and have a load balancer in front of it that removes the
dependency on a single node. One of them will assume the role of a leader,
and in case that leader goes down, one of the replicas will be elected as a
leade