dsmiley commented on a change in pull request #1669: URL: https://github.com/apache/lucene-solr/pull/1669#discussion_r454450712
########## File path: solr/core/src/java/org/apache/solr/schema/IndexSchema.java ########## @@ -188,6 +190,7 @@ public IndexSchema(String name, InputSource is, Version luceneVersion, SolrResou protected IndexSchema(Version luceneVersion, SolrResourceLoader loader, Properties substitutableProperties) { this.luceneVersion = Objects.requireNonNull(luceneVersion); this.loader = loader; + this.solrClassLoader = loader.getCore() == null? loader: loader.getCore().getSchemaPluginsLoader(); Review comment: Continuing my idea... Imagine a "ZkConfigSetResourceProvider" and "FileSystemConfigSetResourceProvider" pair of classes implementing an interface ConfigSetResourceProvider that is only for serving a resource (InputStream), not a class. Just method openResource ideally. Then imagine a SRL that demands a ConfigSetResourceProvider, and a ClassLoader (or SolrClassLoader as you prefer). See where this is going? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org