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 Thu, 16 Aug 2012 15:16:55 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=58&rev2=59

  == Parameter Reference ==
  
  === Cluster Params ===
- || numShards || Defaults to 1 || value ||
+ || numShards || Defaults to 1 || The number of shards to hash documents to. There will be
one leader per shard and each leader can have N replicas. ||
  
  === Node Params ===
- || host || Defaults to the first local host address found || value ||
- || hostPort || Defaults to 8983 || value ||
- || hostContext || Defaults to solr || value ||
+ 
+ These are set in solr.xml, but by default they are setup in solr.xml to also work with system
properties.
+ 
+ || host || Defaults to the first local host address found || If the wrong host address is
found automatically, you can over ride the host address with this param. ||
+ || hostPort || Defaults to the jetty.port system property || The port that Solr is running
on - by default this is found by looking at the jetty.port system property. ||
+ || hostContext || Defaults to solr || The context path for the Solr webapp. ||
  
  === ZooKeeper Params ===
- || zkRun || Defaults to localhost || value ||
- || zkHost || No default || value ||
- || zkClientTimeout || Defaults to 10000 || value ||
+ || zkRun || Defaults to localhost:<solrPort+1001> || Causes Solr to run an embedded
version of ZooKeeper. Set to the address of ZooKeeper on this node - this allows us to know
who 'we are' in the list of addresses in the zkHost connect string. Simply using -DzkRun gets
you the default value. ||
+ || zkHost || No default || The host address for ZooKeeper - usually this should be a comma
separated list of addresses to each node in your ZooKeeper ensemble. ||
+ || zkClientTimeout || Defaults to 15000 || The time a client is allowed to not talk to ZooKeeper
before having it's session expired. ||
  
+ zkRun and zkHost are setup using system properties. zkClientTimeout is setup in solr.xml,
but default, can also be set using a system property.
  
  === Other ===
- || shardId || Defaults to being automatically assigned based on numShards || value ||
+ || shardId || Defaults to being automatically assigned based on numShards || Allows you
to specify the id used to group SolrCores into shards. ||
+ 
+ shardId can be configured in solr.xml for each core element as an attribute.
  
  == Getting your Configuration Files into ZooKeeper ==
  

Mime
View raw message