public class CloudConfigSetService extends ConfigSetService
ConfigSetService.Standalone
parentLoader
Constructor and Description |
---|
CloudConfigSetService(SolrResourceLoader loader,
boolean shareSchema,
ZkController zkController) |
Modifier and Type | Method and Description |
---|---|
String |
configSetName(CoreDescriptor cd)
Return a name for the ConfigSet for a core to be used for printing/diagnostic purposes.
|
SolrResourceLoader |
createCoreResourceLoader(CoreDescriptor cd)
Create a SolrResourceLoader for a core
|
protected Long |
getCurrentSchemaModificationVersion(String configSet,
SolrConfig solrConfig,
String schemaFile)
Returns a modification version for the schema file.
|
protected NamedList |
loadConfigSetFlags(CoreDescriptor cd,
SolrResourceLoader loader)
Return the ConfigSet flags or null if none.
|
createConfigSetService, createIndexSchema, createSolrConfig, loadConfigSet, loadConfigSetProperties
public CloudConfigSetService(SolrResourceLoader loader, boolean shareSchema, ZkController zkController)
public SolrResourceLoader createCoreResourceLoader(CoreDescriptor cd)
ConfigSetService
createCoreResourceLoader
in class ConfigSetService
cd
- the core's CoreDescriptorprotected NamedList loadConfigSetFlags(CoreDescriptor cd, SolrResourceLoader loader)
ConfigSetService
loadConfigSetFlags
in class ConfigSetService
protected Long getCurrentSchemaModificationVersion(String configSet, SolrConfig solrConfig, String schemaFile)
ConfigSetService
getCurrentSchemaModificationVersion
in class ConfigSetService
public String configSetName(CoreDescriptor cd)
ConfigSetService
configSetName
in class ConfigSetService
cd
- the core's CoreDescriptorCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.