mirror of https://github.com/apache/lucene.git
SOLR-10957: Changed SolrCoreParser.init to use the resource loader from getSchema() instead of the resource loader from getCore().
This commit is contained in:
parent
d3c67cf5e4
commit
db71c5615a
|
@ -74,6 +74,9 @@ Other Changes
|
|||
|
||||
* SOLR-10827: Factor out abstract FilteringSolrMetricReporter class. (Christine Poerschke)
|
||||
|
||||
* SOLR-10957: Changed SolrCoreParser.init to use the resource loader from getSchema()
|
||||
instead of the resource loader from getCore(). (Christine Poerschke)
|
||||
|
||||
================== 7.0.0 ==================
|
||||
|
||||
Versions of Major Components
|
||||
|
|
|
@ -57,7 +57,7 @@ public class SolrCoreParser extends CoreParser implements NamedListInitializedPl
|
|||
if (req == null) {
|
||||
loader = new SolrResourceLoader();
|
||||
} else {
|
||||
loader = req.getCore().getResourceLoader();
|
||||
loader = req.getSchema().getResourceLoader();
|
||||
}
|
||||
|
||||
final Iterable<Map.Entry<String,Object>> args = initArgs;
|
||||
|
|
Loading…
Reference in New Issue