lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: conf Folder is not getting created while creating a collection on solr cloud
Date Tue, 08 Sep 2015 15:31:57 GMT
There is no conf file located at
solr-5.3.0/server/solr/test_collection_shard1_replica1/.
Inside that folder should only contain data folder and core.properties file.
The conf folder is only in the solr-5.3.0/server/solr/data_
driven_schema_configs.

Why do you need the conf file in
solr-5.3.0/server/solr/test_collection_shard1_replica1/?
This is where Solr stores the indexes (in data\index) and normally I don't
touch anything in this folder.

Regards,
Edwin


On 8 September 2015 at 22:42, Ritesh Sinha <kumarriteshranjansinha@gmail.com
> wrote:

> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message