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
|
static String |
getResourceNameToBeUsed(String resourceName,
SolrConfig config)
Returns the resource name that will be used: if the schema is managed, the resource
name will be drawn from the schema factory configuration in the given SolrConfig.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitpublic IndexSchema create(String resourceName, SolrConfig config)
public static IndexSchema buildIndexSchema(String resourceName, SolrConfig config)
public static String getResourceNameToBeUsed(String resourceName, SolrConfig config)
resourceName - The name to use if the schema is not managedconfig - The SolrConfig from which to get the schema factory configCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.