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 NamedList |
createConfigSetProperties(CoreDescriptor cd,
SolrResourceLoader loader)
Return the ConfigSet properties
|
static ConfigSetService |
createConfigSetService(NodeConfig nodeConfig,
SolrResourceLoader loader,
ZkController zkController) |
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 NamedList |
getConfigSetFlags(CoreDescriptor cd,
SolrResourceLoader loader) |
protected final SolrResourceLoader parentLoader
public ConfigSetService(SolrResourceLoader loader)
loader
- the CoreContainer's resource loaderpublic static ConfigSetService createConfigSetService(NodeConfig nodeConfig, SolrResourceLoader loader, ZkController zkController)
public 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 NamedList createConfigSetProperties(CoreDescriptor cd, SolrResourceLoader loader)
cd
- the core's CoreDescriptorloader
- the core's resource loaderprotected NamedList getConfigSetFlags(CoreDescriptor cd, SolrResourceLoader loader)
protected abstract SolrResourceLoader createCoreResourceLoader(CoreDescriptor cd)
cd
- the core's CoreDescriptorpublic abstract String configName(CoreDescriptor cd)
cd
- the core's CoreDescriptorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.