I am trying to create a new core based in a configSet.
I do properly using command line:
./solr create -c new_core -d my_configset
It create a new core, copying the configuration from my_configset. That's the log:
Copying configuration to new core instance directory:
/Users/sergio/Desarrollo/tools/solr/solr-5.5.0/server/solr/test
Creating new core 'test' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=test&instanceDir=test
{
"responseHeader":{
"status":0,
"QTime":178},
"core":"test"}
I am trying to do the same with the API, it does not work.
I am using the following URL:
http://localhost:8983/solr/admin/cores?action=CREATE&name=test&configSet=data_driven_schema_with_json_embedded_support_configs
But it does not copy the configuration from the configset, instead of that, it links the configset with the new core, and the configset is shared among the cores than use the same configset. Any change in the schema is shared among the cores.
Is there any possibility to have the same behaviour that one with the command line?