You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Furkan KAMACI <fu...@gmail.com> on 2016/12/12 19:47:28 UTC
Setting Shard Count at Initial Startup of SolrCloud
Hi,
I have an external Zookeeper. I don't wanna use SolrCloud as test. I upload
confs to Zookeeper:
server/scripts/cloud-scripts/zkcli.sh -zkhost localhost:2181 -cmd upconfig
-confdir server/solr/my_collection/conf -confname my_collection
Start servers:
Server 1: bin/solr start -cloud -d server -p 8983 -z localhost:2181
Server 2: bin/solr start -cloud -d server -p 8984 -z localhost:2181
As usual, shard count will be 1 with this approach. I want 2 shards. I know
that I can create shard with:
bin/solr create
However, I have to delete existing collection and than I can create shards.
Is there any possibility to set number of shards and maximum shards per
node etc. at initial start of Solr?
Kind Regards,
Furkan KAMACI