I am trying to create a collection on Solr cloud.

I have created a 3 node zookeeper cluster on the same machine.

using this command to start solr on three ports :
bin/solr start  cloud -z localhost:2181,localhost:2182,localhost:2183 -p
8983
bin/solr start  cloud -z localhost:2181,localhost:2182,localhost:2183 -p
8984
bin/solr start  cloud -z localhost:2181,localhost:2182,localhost:2183 -p
8985

running this to upload the configuration set to zookeeper before creating
the collection

/var/data/solr/solr-5.3.0/server/scripts/cloud-scripts/zkcli.sh -zkhost
localhost:2181,localhost:2182,localhost:2183 -cmd upconfig -confdir
/var/data/solr/solr-5.3.0/server/solr/configsets/data_driven_schema_configs/conf
-confname test_conf

command for creating collection
curl '
http://localhost:8983/solr/admin/collections?action=CREATE&name=tenlaz&numShards=1&replicationFactor=3&configName=test_collection&configName=test_conf
'

But when I check
solr-5.3.0/server/solr/test_collection_shard1_replica1/
There is no conf file.

I know i can explicitly copy it.

but is there any command which can automatically create the conf directory.

I know i am missing something.Any help is appreciated.

Reagrds

Reply via email to