Package org.apache.solr.core
Class ConfigSetService.SchemaCaching
- java.lang.Object
-
- org.apache.solr.core.ConfigSetService
-
- org.apache.solr.core.ConfigSetService.Default
-
- org.apache.solr.core.ConfigSetService.SchemaCaching
-
- Enclosing class:
- ConfigSetService
public static class ConfigSetService.SchemaCaching extends ConfigSetService.Default
A ConfigSetService that shares schema objects between cores
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.core.ConfigSetService
ConfigSetService.Default, ConfigSetService.SchemaCaching
-
-
Field Summary
Fields Modifier and Type Field Description static org.joda.time.format.DateTimeFormatter
cacheKeyFormatter
-
Fields inherited from class org.apache.solr.core.ConfigSetService
parentLoader
-
-
Constructor Summary
Constructors Constructor Description SchemaCaching(SolrResourceLoader loader, Path configSetBase)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
cacheName(Path schemaFile)
IndexSchema
createIndexSchema(CoreDescriptor cd, SolrConfig solrConfig)
Create an IndexSchema object for a core-
Methods inherited from class org.apache.solr.core.ConfigSetService.Default
configName, createCoreResourceLoader, locateInstanceDir
-
Methods inherited from class org.apache.solr.core.ConfigSetService
createConfigSetProperties, createConfigSetService, createSolrConfig, getConfig, getConfigSetFlags
-
-
-
-
Constructor Detail
-
SchemaCaching
public SchemaCaching(SolrResourceLoader loader, Path configSetBase)
-
-
Method Detail
-
cacheName
public static String cacheName(Path schemaFile) throws IOException
- Throws:
IOException
-
createIndexSchema
public IndexSchema createIndexSchema(CoreDescriptor cd, SolrConfig solrConfig)
Description copied from class:ConfigSetService
Create an IndexSchema object for a core- Overrides:
createIndexSchema
in classConfigSetService
- Parameters:
cd
- the core's CoreDescriptorsolrConfig
- the core's SolrConfig- Returns:
- an IndexSchema
-
-