org.apache.solr.core
Class CoreDescriptor
java.lang.Object
org.apache.solr.core.CoreDescriptor
- All Implemented Interfaces:
- Cloneable
public class CoreDescriptor
- extends Object
- implements Cloneable
A Solr core descriptor
- Since:
- solr 1.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
instanceDir
protected String instanceDir
configName
protected String configName
schemaName
protected String schemaName
CoreDescriptor
public CoreDescriptor(CoreContainer coreContainer,
String name,
String instanceDir)
CoreDescriptor
public CoreDescriptor(CoreDescriptor descr)
getDefaultConfigName
public String getDefaultConfigName()
- Returns:
- the default config name.
getDefaultSchemaName
public String getDefaultSchemaName()
- Returns:
- the default schema name.
getDefaultDataDir
public String getDefaultDataDir()
- Returns:
- the default data directory.
getInstanceDir
public String getInstanceDir()
- Returns:
- the core instance directory.
setConfigName
public void setConfigName(String name)
- Sets the core configuration resource name.
getConfigName
public String getConfigName()
- Returns:
- the core configuration resource name.
setSchemaName
public void setSchemaName(String name)
- Sets the core schema resource name.
getSchemaName
public String getSchemaName()
- Returns:
- the core schema resource name.
getName
public String getName()
- Returns:
- the initial core name
getCoreContainer
public CoreContainer getCoreContainer()
Copyright © 2008 Apache Software Foundation. All Rights Reserved.