You might find the solr/cloud-dev/solrcloud.sh script informative. From a 
solrcloud branch checkout, you can run it and it will start up a 2 shard, 6 
node cluster with zookeeper running on a single node. stop.sh will shutdown the 
6 nodes. Once you start up the nodes, you can start indexing and searching on 
any of them, or use the CloudSolrServer solrj client. It simply takes the 
ZooKeeper address and figures out the servers from there (you do currently 
still have to pass distrib=true to make requests hit the whole collection).

There will be more help on getting started produced soon. Still some work to 
finish up first.

- Mark


On Dec 20, 2011, at 7:17 PM, Dipti Srivastava wrote:

> Thanks for all responses. I got the code from the trunk. Now I will work
> through rest of the steps.
> Dipti
> 
> On 12/20/11 1:58 PM, "Chris Hostetter" <hossman_luc...@fucit.org> wrote:
> 
>> 
>> : >> I am following the 2 shard example from the wiki page
>> : >> http://wiki.apache.org/solr/SolrCloud#SolrCloud-1
>> 
>> Everything on that wiki should apply to trunk, as noted on the wiki page
>> itself.
>> 
>> the "solrcloud" branch people have mentioned is related to this comment
>> from that wiki page...
>> 
>>>> ...
>>>> That is what has been done so far on trunk.
>>>> 
>>>> A second initiative has recently begun to finish the distributed
>>>> indexing side of SolrCloud. See
>>>> https://issues.apache.org/jira/browse/SOLR-2358
>> 
>> ...and the sub issues linked to from there.
>> 
>> Any time you are looking for a branch, you can find it in the list of
>> branches...
>> 
>> https://svn.apache.org/repos/asf/lucene/dev/branches/
>> https://svn.apache.org/repos/asf/lucene/dev/branches/solrcloud/
>> 
>> 
>> -Hoss
>> 
> 
> 
> This message is private and confidential. If you have received it in error, 
> please notify the sender and remove it from your system.
> 
> 

- Mark Miller
lucidimagination.com











Reply via email to