public abstract class ConfigSetService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigSetService.Default
The default ConfigSetService.
|
static class |
ConfigSetService.SchemaCaching
A ConfigSetService that shares schema objects between cores
|
Modifier and Type | Field and Description |
---|---|
protected SolrResourceLoader |
parentLoader |
Constructor and Description |
---|
ConfigSetService(SolrResourceLoader loader)
Create a new ConfigSetService
|
Modifier and Type | Method and Description |
---|---|
abstract String |
configName(CoreDescriptor cd)
Return a name for the ConfigSet for a core
|
protected abstract SolrResourceLoader |
createCoreResourceLoader(CoreDescriptor cd)
Create a SolrResourceLoader for a core
|
protected IndexSchema |
createIndexSchema(CoreDescriptor cd,
SolrConfig solrConfig)
Create an IndexSchema object for a core
|
protected SolrConfig |
createSolrConfig(CoreDescriptor cd,
SolrResourceLoader loader)
Create a SolrConfig object for a core
|
ConfigSet |
getConfig(CoreDescriptor dcore)
Load the ConfigSet for a core
|
protected final SolrResourceLoader parentLoader
public ConfigSetService(SolrResourceLoader loader)
loader
- the CoreContainer's resource loaderpublic final ConfigSet getConfig(CoreDescriptor dcore)
dcore
- the core's CoreDescriptorprotected SolrConfig createSolrConfig(CoreDescriptor cd, SolrResourceLoader loader)
cd
- the core's CoreDescriptorloader
- the core's resource loaderprotected IndexSchema createIndexSchema(CoreDescriptor cd, SolrConfig solrConfig)
cd
- the core's CoreDescriptorsolrConfig
- the core's SolrConfigprotected abstract SolrResourceLoader createCoreResourceLoader(CoreDescriptor cd)
cd
- the core's CoreDescriptorpublic abstract String configName(CoreDescriptor cd)
cd
- the core's CoreDescriptorCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.