Package org.apache.solr.cloud
Class CloudConfigSetService
- java.lang.Object
-
- org.apache.solr.core.ConfigSetService
-
- org.apache.solr.cloud.CloudConfigSetService
-
public class CloudConfigSetService extends ConfigSetService
SolrCloud ConfigSetService impl.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.core.ConfigSetService
ConfigSetService.Standalone
-
-
Field Summary
-
Fields inherited from class org.apache.solr.core.ConfigSetService
parentLoader
-
-
Constructor Summary
Constructors Constructor Description CloudConfigSetService(SolrResourceLoader loader, boolean shareSchema, ZkController zkController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconfigSetName(CoreDescriptor cd)Return a name for the ConfigSet for a core to be used for printing/diagnostic purposes.SolrResourceLoadercreateCoreResourceLoader(CoreDescriptor cd)Create a SolrResourceLoader for a coreprotected LonggetCurrentSchemaModificationVersion(String configSet, SolrConfig solrConfig, String schemaFile)Returns a modification version for the schema file.protected NamedListloadConfigSetFlags(CoreDescriptor cd, SolrResourceLoader loader)Return the ConfigSet flags or null if none.-
Methods inherited from class org.apache.solr.core.ConfigSetService
createConfigSetService, createIndexSchema, createSolrConfig, loadConfigSet, loadConfigSetProperties
-
-
-
-
Constructor Detail
-
CloudConfigSetService
public CloudConfigSetService(SolrResourceLoader loader, boolean shareSchema, ZkController zkController)
-
-
Method Detail
-
createCoreResourceLoader
public SolrResourceLoader createCoreResourceLoader(CoreDescriptor cd)
Description copied from class:ConfigSetServiceCreate a SolrResourceLoader for a core- Specified by:
createCoreResourceLoaderin classConfigSetService- Parameters:
cd- the core's CoreDescriptor- Returns:
- a SolrResourceLoader
-
loadConfigSetFlags
protected NamedList loadConfigSetFlags(CoreDescriptor cd, SolrResourceLoader loader)
Description copied from class:ConfigSetServiceReturn the ConfigSet flags or null if none.- Overrides:
loadConfigSetFlagsin classConfigSetService
-
getCurrentSchemaModificationVersion
protected Long getCurrentSchemaModificationVersion(String configSet, SolrConfig solrConfig, String schemaFile)
Description copied from class:ConfigSetServiceReturns a modification version for the schema file. Null may be returned if not known, and if so it defeats schema caching.- Specified by:
getCurrentSchemaModificationVersionin classConfigSetService
-
configSetName
public String configSetName(CoreDescriptor cd)
Description copied from class:ConfigSetServiceReturn a name for the ConfigSet for a core to be used for printing/diagnostic purposes.- Specified by:
configSetNamein classConfigSetService- Parameters:
cd- the core's CoreDescriptor- Returns:
- a name for the core's ConfigSet
-
-