public class CloudConfigSetService extends ConfigSetService
ConfigSetService.ConfigResource, 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
|
ConfigNode |
getConfig(String resource,
int znodeVersion) |
protected Long |
getCurrentSchemaModificationVersion(String configSet,
SolrConfig solrConfig,
String schemaFile)
Returns a modification version for the schema file.
|
SolrCloudManager |
getSolrCloudManager() |
protected NamedList |
loadConfigSetFlags(CoreDescriptor cd,
SolrResourceLoader loader)
Return the ConfigSet flags or null if none.
|
void |
storeConfig(String resource,
ConfigNode config,
int znodeVersion) |
createConfigSetService, createIndexSchema, createSolrConfig, getParsedSchema, loadConfigSet, loadConfigSetProperties
public CloudConfigSetService(SolrResourceLoader loader, boolean shareSchema, ZkController zkController)
public void storeConfig(String resource, ConfigNode config, int znodeVersion)
public ConfigNode getConfig(String resource, int znodeVersion)
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 CoreDescriptorpublic SolrCloudManager getSolrCloudManager()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.