Support Questions

Find answers, ask questions, and share your expertise

Getting error while Creating a Solr Collection named “labs” with 2 shards and a replication factor of 2...

avatar
New Contributor
1 ACCEPTED SOLUTION

avatar
Master Mentor

Here's a working example, also this is on sandbox, single node, does it make sense to have replication factor 2 and 2 shards?

/opt/lucidworks-hdpsearch/solr/bin/solr create -c tweets \  
 -d data_driven_schema_configs \  
 -s 1 \ 
 -rf 1

View solution in original post

3 REPLIES 3

avatar
Master Mentor

Here's a working example, also this is on sandbox, single node, does it make sense to have replication factor 2 and 2 shards?

/opt/lucidworks-hdpsearch/solr/bin/solr create -c tweets \  
 -d data_driven_schema_configs \  
 -s 1 \ 
 -rf 1

avatar

I think the error is in the -d parameter that you specified. It must be a short name, not a full path. It will look in a directory in a predefined schemas folder then.

avatar
New Contributor

Thank you very much..:)