David Smiley created SOLR-14197:
-----------------------------------

             Summary: Reduce API of SolrResourceLoader
                 Key: SOLR-14197
                 URL: https://issues.apache.org/jira/browse/SOLR-14197
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: David Smiley
            Assignee: David Smiley


SolrResourceLoader must exist as an implementation of Lucene ResourceLoader.  
Over time it has grown a lot more methods that are beyond the scope of doing 
just that.  I think SRL should be simplified to get back to its core necessity, 
which hopefully allows us to make other changes (either in SRL or nearby) with 
less entanglement.  Some API creep:
* listConfigDir _(not used)_
* newAdminHandlerInstance _(not used)_
* getDataDir
* getCoreName _(only used for logging)_
* getCoreProperties 
* openSchema and configSchema  _(not needed; barely used)_

Some methods ought to go to a new subclass of SolrResourceLoader that is 
specifically for a standalone-mode core:
* resourceLocation
* getConfigDir
* getInstancePath
* persistConfLocally



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to