public class ManagedIndexSchemaFactory extends IndexSchemaFactory
Constructor and Description |
---|
ManagedIndexSchemaFactory() |
Modifier and Type | Method and Description |
---|---|
IndexSchema |
create(String resourceName,
SolrConfig config)
First, try to locate the managed schema file named in the managedSchemaResourceName
param.
|
void |
init(NamedList args) |
buildIndexSchema
public void init(NamedList args)
public IndexSchema create(String resourceName, SolrConfig config)
SolrResourceLoader.getConfigDir()
, or if configs are
in ZooKeeper, under ZkSolrResourceLoader.collectionZkPath
.
After the managed schema file is persisted, the original schema file is
renamed by appending the extension named in UPGRADED_SCHEMA_EXTENSION
.create
in class IndexSchemaFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.