Hello,

After reading this
<https://lucene.apache.org/solr/guide/7_0/major-changes-in-solr-7.html#new-default-configset>
docs,
I'm trying to achieve the following with version 7.2.0:

   -

   When creating a new collection, if you *do not specify a configSet*, the
   _default will be used.
   -

      *If you use standalone mode, the instanceDir will be created
      automatically, using the _defaultconfigSet as it’s basis.*

But if I try to create a *core* in standalone mode without specifying a
configset, it searches for config files and throw this:

Error CREATEing SolrCore 'mycore1': Unable to create core [mycore1]
Caused by: Can't find resource 'solrconfig.xml' in classpath or
'/opt/solr-7.2.0/server/solr/mycore1'


And if I specify the configSet parameter, it uses the configset folder
instead of copying the conf folder to the new instanceDir.

Is that possible to create an instanceDir in standalone mode that *copies*
configurations from the _default configset?
I need something like creating configset with baseConfigSet
<https://lucene.apache.org/solr/guide/6_6/configsets-api.html#ConfigSetsAPI-create>,
but in standalone mode.
What's the best approach for doing this?

Any help is appreciated.

Reply via email to