public abstract class IndexSchemaFactory extends Object implements NamedListInitializedPlugin
Constructor and Description |
---|
IndexSchemaFactory() |
Modifier and Type | Method and Description |
---|---|
static IndexSchema |
buildIndexSchema(String resourceName,
SolrConfig config)
Instantiates the configured schema factory, then calls create on it.
|
IndexSchema |
create(String resourceName,
SolrConfig config)
Returns an index schema created from a local resource.
|
String |
getSchemaResourceName(String cdResourceName)
Returns the resource (file) name that will be used for the schema itself.
|
static IndexSchemaFactory |
newIndexSchemaFactory(SolrConfig config)
Instantiates us from
SolrConfig . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public static IndexSchema buildIndexSchema(String resourceName, SolrConfig config)
public static IndexSchemaFactory newIndexSchemaFactory(SolrConfig config)
SolrConfig
.public String getSchemaResourceName(String cdResourceName)
create(String, SolrConfig)
.
The input is the name coming from the CoreDescriptor
which acts as a default or asked-for name.public IndexSchema create(String resourceName, SolrConfig config)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.