lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "SolrCloud" by ErickErickson
Date Wed, 17 Oct 2012 15:11:05 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrCloud" page has been changed by ErickErickson:
http://wiki.apache.org/solr/SolrCloud?action=diff&rev1=72&rev2=73

Comment:
Minor explication of replicationFactor.

  
  Create
  http://localhost:8983/solr/admin/collections?action=CREATE&name=mycollection&numShards=3&replicationFactor=4
+ 
+ Note: replicationFactor defines the maximum number of replicas created in addition to the
leader from amongst the nodes currently running (i.e. nodes added later will not be used for
this collection). Imagine you have a cluster with 20 nodes and want to add an additional smaller
collection to your installation with 2 shards, each shard with a leader and two replicas.
You would specify a replicationFactor=2. Now six of your nodes will host this new collection
and the other 14 will not host the new collection. 
  
  Delete
  http://localhost:8983/solr/admin/collections?action=DELETE&name=mycollection

Mime
View raw message