Java org.apache.solr.core SolrResourceLoader fields, constructors, methods, implement or subclass

Example usage for Java org.apache.solr.core SolrResourceLoader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.solr.core SolrResourceLoader.

The text is from its open source code.

Subclass

org.apache.solr.core.SolrResourceLoader has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

voidclose()
ClassfindClass(String cname, Class expectedType)
ClassLoadergetClassLoader()
EXPERT

The underlying class loader.

StringgetConfigDir()
PropertiesgetCoreProperties()
PathgetInstancePath()
ListgetLines(String resource)
Accesses a resource by name and returns the (non comment) lines containing data.
RestManager.RegistrygetManagedResourceRegistry()
voidinform(SolrCore core)
Tell all SolrCoreAware instances about the SolrCore
voidinform(ResourceLoader loader)
Tell all ResourceLoaderAware instances about the loader
voidinform(Map infoRegistry)
Register any SolrInfoBean s
PathlocateSolrHome()
Finds the solrhome based on looking up the value in one of three places:
  1. JNDI: via java:comp/env/solr/home
  2. The system property solr.solr.home
  3. Look in the current working directory for a solr/ directory

The return value is normalized.

TnewInstance(String cName, Class expectedType, String[] subPackages, Class[] params, Object[] args)
TnewInstance(String name, Class expectedType)
StringnormalizeDir(String path)
Ensures a directory name always ends with a '/'.
InputStreamopenConfig(String name)
Opens a config resource by its name.
InputStreamopenResource(String resource)
Opens any resource by its name.
InputStreamopenSchema(String name)
Opens a schema resource by its name.