lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "SolrCloud" by ShawnHeisey
Date Sat, 26 Jan 2013 19:24:58 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 ShawnHeisey:

added collection.configName

   * '''replicationFactor''': The number of copies of each document (or, the number of physical
replicas to be created for each logical shard of the collection.)  A replicationFactor of
3 means that there will be 3 replicas (one of which is normally designated to be the leader)
for each logical shard.  NOTE: in Solr 4.0, replicationFactor was the number of *additional*
copies as opposed to the total number of copies.
   * '''maxShardsPerNode''' : A create operation will spread numShards*replicationFactor shard-replica
across your live Solr nodes - fairly distributed, and never two replica of the same shard
on the same Solr node. If a Solr is not live at the point in time where the create operation
is carried out, it will not get any parts of the new collection. To prevent too many replica
being created on a single Solr node, use maxShardsPerNode to set a limit for how many replicas
the create operation is allowed to create on each node - default is 1. If it cannot fit the
entire collection numShards*replicationFactor replicas on you live Solrs it will not create
anything at all.
   * '''createNodeSet''': If not provided the create operation will create shard-replica spread
across all of your live Solr nodes. You can provide the "createNodeSet" parameter to change
the set of nodes to spread the shard-replica across. The format of values for this param is
"<node-name1>,<node-name2>,...,<node-nameN>" - e.g. "localhost:8983_solr,localhost:8984_solr,localhost:8985_solr"
+  * '''collection.configName''': The name of the config (must be already stored in zookeeper)
to use for this new collection.
  Delete http://localhost:8983/solr/admin/collections?action=DELETE&name=mycollection

View raw message