public static class ConfigSetService.Standalone extends ConfigSetService
ConfigSetService.Standalone
parentLoader
Constructor and Description |
---|
Standalone(SolrResourceLoader loader,
boolean shareSchema,
Path configSetBase) |
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 schemaFileName)
Returns a modification version for the schema file.
|
protected Path |
locateInstanceDir(CoreDescriptor cd) |
createConfigSetService, createIndexSchema, createSolrConfig, loadConfigSet, loadConfigSetFlags, loadConfigSetProperties
public Standalone(SolrResourceLoader loader, boolean shareSchema, Path configSetBase)
public SolrResourceLoader createCoreResourceLoader(CoreDescriptor cd)
ConfigSetService
createCoreResourceLoader
in class ConfigSetService
cd
- the core's CoreDescriptorpublic String configSetName(CoreDescriptor cd)
ConfigSetService
configSetName
in class ConfigSetService
cd
- the core's CoreDescriptorprotected Path locateInstanceDir(CoreDescriptor cd)
protected Long getCurrentSchemaModificationVersion(String configSet, SolrConfig solrConfig, String schemaFileName)
ConfigSetService
getCurrentSchemaModificationVersion
in class ConfigSetService
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.