Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
New Member
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 Member

Thank you very much..:)