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 "SolrCloud2" by Mark Miller
Date Sat, 07 Jan 2012 19:04:09 GMT
Dear Wiki user,

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

The "SolrCloud2" page has been changed by Mark Miller:
http://wiki.apache.org/solr/SolrCloud2?action=diff&rev1=1&rev2=2

  
  {{{
  cd exampleB
- java -Djetty.port=8900 -DzkHost=localhost:9983 -jar start.jar
+ java -Djetty.port=8900 -DzkHost=localhost:9983 -DnumShards=2 -jar start.jar
  }}}
  {{{
  cd example2B
- java -Djetty.port=7500 -DzkHost=localhost:9983 -jar start.jar
+ java -Djetty.port=7500 -DzkHost=localhost:9983 -DnumShards=2 -jar start.jar
  }}}
  Refresh the zookeeper browser page http://localhost:8983/solr/admin/zookeeper.jsp and verify
that 4 solr nodes are up, and that each shard is present at 2 nodes.
+ 
+ Because we have been telling Solr that we want two logical shards, starting instances 3
and 4 are assigned to be replicas of instances one and two automatically.
  
  Now send a query to any of the servers to query the cluster:
  

Mime
View raw message