Hello!

You can try doing the following:

1. Run Solr with no collection and no cores, just an empty solr.xml

2. If you don't have a ZooKeeper run Solr with -DzkRun

3. Upload you configurations to ZooKeeper, by running

cloud-scripts/zkcli.sh -cmdupconfig -zkhost localhost:9983 -confdir 
CONFIGURATION_1_DIR -confname COLLECTION_1_NAME

and

cloud-scripts/zkcli.sh -cmdupconfig -zkhost localhost:9983 -confdir 
CONFIGURATION_2_DIR -confname COLLECTION_2_NAME

4. Create those two collections:

curl 
'http://localhost:8983/solr/admin/collections?action=CREATE&name=COLLECTION_1_NAME&numShards=2&replicationFactor=0'

and

curl 
'http://localhost:8983/solr/admin/collections?action=CREATE&name=COLLECTION_2_NAME&numShards=2&replicationFactor=0'

Of course the CONFIGURATION_1_DIR and CONFIGURATION_2_DIR is the
directory where your configurations are stored and the
COLLECTION_1_NAME and the COLLECTION_2_NAME are your collection names.

Also adjust the numShards and replicationFactor to your needs.

-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

> solr 4.1 - trying to create 2 collection with 2 different sets of
> configurations.
> Anyone accomplished this?

> if I run bootstraop twice on different conf dirs, I get both of them in
> zookeper, but using collections API to create a collection if
> collection.configName=seconfConf doesnt work.

> any idea?

> thanks.



> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/solr-4-1-trying-to-create-2-collection-with-2-different-sets-of-configurations-tp4043609.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to