Ok, it works 2013/4/25 Mark Miller <markrmil...@gmail.com>
> I think it's numShards, not numshards. > > - Mark > > On Apr 25, 2013, at 12:07 PM, Furkan KAMACI <furkankam...@gmail.com> > wrote: > > > Hi; > > If you can help it would be nice: > > > > I have erased the data. I use that commands: > > > > Firstly I do that: > > > > java -Xms512M -Xmx5120M -Dsolr.solr.home=/home/solr-4.2.1/solr > > -Dsolr.data.dir=/home/solr-4.2.1/solr/data -Dnumshards=2 > > -Dbootstrap_confdir=/home/solr-4.2.1/solr/collection1/conf > > -Dcollection.configName=myconf -jar start.jar > > > > and do that: > > > > java -Xms512M -Xmx5120M -Dsolr.solr.home=/home/solr-4.2.1/solr > > -Dsolr.data.dir=/home/solr-4.2.1/solr/data -jar start.jar > > > > However when I look at the graph at Admin GUI there is only one shard but > > two replicas? What is the problem why it is not two shards? > > > > > > 2013/4/25 Mark Miller <markrmil...@gmail.com> > > > >> Of course deleting the collection and then recreating it should also > work > >> - if it doesn't, there is a bug to address. > >> > >> - Mark > >> > >> On Apr 25, 2013, at 12:00 PM, Mark Miller <markrmil...@gmail.com> > wrote: > >> > >>> What are you doing to clean zk? > >>> > >>> You should be able to simply use the ZkCli clear cmd: > >>> > >>> http://wiki.apache.org/solr/SolrCloud#Command_Line_Util > >>> > >>> Just make sure you stop your Solr instances before clearing it. > Clearing > >> out zk from under a running Solr instance is not a good thing to do. > >>> > >>> This should be as simple as, stop your Solr instances, use the clean > >> command on / or /solr (whatever the root is in zk for you Solr stuff), > >> start your Solr instances, create the collection again. > >>> > >>> - Mark > >>> > >>> On Apr 25, 2013, at 11:27 AM, Furkan KAMACI <furkankam...@gmail.com> > >> wrote: > >>> > >>>> I have a Zookeepeer ensemble with three machines. I have started a > >> cluster > >>>> with one shard. However I decided to change my shard number. I want to > >>>> clean Zookeeper data but whatever I do I always get one shard and rest > >> of > >>>> added Solr nodes are as replica. > >>>> > >>>> What should I do? > >>> > >> > >> > >