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] Update of "SolrCloud" by Mark Miller
Date Fri, 10 Feb 2012 04:00:45 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 Mark Miller:
http://wiki.apache.org/solr/SolrCloud?action=diff&rev1=31&rev2=32

  }}}
  
  == Re-sizing a Cluster ==
- You control cluster size by passing the numShards at start up. This parameter is only respected
the first time a Solr instance starts up. It is used to auto assign which shard the instance
should be part of. Any Solr instances that you start after starting numShards instances are
evenly added to each shard as replicas.
+ You can control cluster size by passing the numShards when you start up the first SolrCore
in a collection. This parameter is used to auto assign which shard each instance should be
part of. Any SolrCores that you start after starting numShards instances are evenly added
to each shard as replicas (as long as they all belong to the same collection).
  
- To add more Solr instances to a shard, simply keep starting new instances, specifying the
known number of shards in your cluster with numShards. You can do this at any time and the
instance will sync up its data with the current replicas in the shard before becoming active.
+ To add more SolrrCores to your collection, simply keep starting new SolrCores up. You can
do this at any time and the new SolrCore will sync up its data with the current replicas in
the shard before becoming active.
+ 
+ You can also avoid numShards and manually assign a SolrCore a shard id if you choose.
  
  You can not yet change the number of shards of the index after initially setting up the
cluster - eg you want to turn a shard1,shard2 cluster into a shard1,shard2,shard3 cluster.
This is a feature that is on the road-map however.
  

Mime
View raw message