lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saiks <>
Subject Changing "configSetBaseDir" leads to, Can't find resource 'solrconfig.xml' in classpath error while creating core
Date Tue, 14 Feb 2017 23:30:15 GMT
Hi All,

I have a core "core1" created with custom config

I changed configSetBaseDir to a different directory in solr.xml and copied
the folders over to the new dir and deleted the old configs

Now, if I restart Solr, core1 has no problems it is reading solrConfig.xml
and schema.xml from the new configset dir.

But, if I try to create a new core using custom configset, it gives an error

<lst name="responseHeader">
<int name="status">400</int>
<int name="QTime">3</int>
<lst name="error">
<lst name="metadata">
<str name="error-class">org.apache.solr.common.SolrException</str>
<str name="msg">
Error CREATEing SolrCore 'newcore': Unable to create core [newcore] Caused
by: Can't find resource 'solrconfig.xml' in classpath or
<int name="code">400</int>

Is is because the new configSet directory is not under {solr.solr.home} ?
Is there a way to add this new configSetBaseDir to classpath?

Any help is appreciated.


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message