Yes, this is really a pain sometimes.
I'd prefer a well defined base path, which could be assumed everywhere unless
otherwise documented.
SolrHome is one natural choice. For backward compat we could add a config in
solr(config).xml to easily switch to old behaviour.
Also, it makes sense to defi
: http://localhost:8080/solr/admin/cores
: ?action=CREATE
: &name=core1
: &instanceDir=core1
: &config=core0/conf/solrconfig.xml
: &schema=core0/conf/schema.xml
: (core1 is the name for the new core to be created, and I want to use the
: config and schema from core0 to create the new core).
:
: b
I'm having trouble getting the core CREATE command to work with relative
paths in the solr.xml configuration.
I'm working with a layout like this:
/opt/solr [this is solr.solr.home: $SOLR_HOME]
/opt/solr/solr.xml
/opt/solr/core0/ [this is the "template" core]
/opt/solr/core0/conf/schema.xml [etc.]