Example usage for Java org.apache.solr.core SolrResourceLoader fields, constructors, methods, implement or subclass
The text is from its open source code.
SolrResourceLoader(Path instanceDir) | |
SolrResourceLoader(Path instanceDir, ClassLoader parent, Properties coreProperties) This loader will delegate to Solr's classloader when possible, otherwise it will attempt to resolve resources using any jar files found in the "lib/" directory in the specified instance directory. |
void | close() |
Class extends T> | findClass(String cname, Class |
ClassLoader | getClassLoader() EXPERT The underlying class loader. |
String | getConfigDir() |
Properties | getCoreProperties() |
Path | getInstancePath() |
List | getLines(String resource) Accesses a resource by name and returns the (non comment) lines containing data. |
RestManager.Registry | getManagedResourceRegistry() |
void | inform(SolrCore core) Tell all SolrCoreAware instances about the SolrCore |
void | inform(ResourceLoader loader) Tell all ResourceLoaderAware instances about the loader |
void | inform(Map Register any SolrInfoBean s |
Path | locateSolrHome() Finds the solrhome based on looking up the value in one of three places:
The return value is normalized. |
T | newInstance(String cName, Class |
T | newInstance(String name, Class |
String | normalizeDir(String path) Ensures a directory name always ends with a '/'. |
InputStream | openConfig(String name) Opens a config resource by its name. |
InputStream | openResource(String resource) Opens any resource by its name. |
InputStream | openSchema(String name) Opens a schema resource by its name. |