Package | Description |
---|---|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.core |
Core classes implementin Solr internals and the management of
SolrCore s |
org.apache.solr.handler.admin |
SolrRequestHandler implementations for powering he Solr Admin UI |
org.apache.solr.update |
APIs and classes for managing index updates
|
Modifier and Type | Method and Description |
---|---|
abstract List<CoreDescriptor> |
CurrentCoreDescriptorProvider.getCurrentDescriptors() |
Modifier and Type | Method and Description |
---|---|
static void |
CloudUtil.checkSharedFSFailoverReplaced(CoreContainer cc,
CoreDescriptor desc)
See if coreNodeName has been taken over by another baseUrl and unload core
+ throw exception if it has been.
|
String |
CloudConfigSetService.configName(CoreDescriptor cd) |
SolrResourceLoader |
CloudConfigSetService.createCoreResourceLoader(CoreDescriptor cd) |
String |
ZkController.getCoreNodeName(CoreDescriptor descriptor) |
void |
ZkController.preRegister(CoreDescriptor cd) |
void |
ZkController.publish(CoreDescriptor cd,
Replica.State state) |
void |
ZkController.publish(CoreDescriptor cd,
Replica.State state,
boolean updateLastState) |
void |
ZkController.publish(CoreDescriptor cd,
Replica.State state,
boolean updateLastState,
boolean forcePublish)
Publish core state to overseer.
|
String |
ZkController.register(String coreName,
CoreDescriptor desc)
Register shard with ZooKeeper.
|
String |
ZkController.register(String coreName,
CoreDescriptor desc,
boolean recoverReloadedCores,
boolean afterExpiration)
Register shard with ZooKeeper.
|
void |
ZkController.throwErrorIfReplicaReplaced(CoreDescriptor desc) |
void |
ZkController.unregister(String coreName,
CoreDescriptor cd) |
Constructor and Description |
---|
CloudDescriptor(String coreName,
Properties props,
CoreDescriptor cd) |
RecoveryStrategy(CoreContainer cc,
CoreDescriptor cd,
RecoveryStrategy.RecoveryListener recoveryListener) |
Modifier and Type | Field and Description |
---|---|
CoreDescriptor |
CoreContainer.CoreLoadFailure.cd |
Modifier and Type | Method and Description |
---|---|
protected CoreDescriptor |
CorePropertiesLocator.buildCoreDescriptor(File propertiesFile,
CoreContainer cc) |
CoreDescriptor |
SolrCore.getCoreDescriptor() |
CoreDescriptor |
CoreContainer.getCoreDescriptor(String coreName) |
CoreDescriptor |
CoreContainer.getUnloadedCoreDescriptor(String cname)
Gets a solr core descriptor for a core that is not loaded.
|
Modifier and Type | Method and Description |
---|---|
List<CoreDescriptor> |
CoresLocator.discover(CoreContainer cc)
Load all the CoreDescriptors from persistence store
|
List<CoreDescriptor> |
CorePropertiesLocator.discover(CoreContainer cc) |
List<CoreDescriptor> |
CoreContainer.getCoreDescriptors()
Get the CoreDescriptors for all cores managed by this container
|
Modifier and Type | Method and Description |
---|---|
protected Properties |
CorePropertiesLocator.buildCoreProperties(CoreDescriptor cd) |
abstract String |
ConfigSetService.configName(CoreDescriptor cd)
Return a name for the ConfigSet for a core
|
String |
ConfigSetService.Default.configName(CoreDescriptor cd) |
void |
CoresLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Make new cores available for discovery
|
void |
CorePropertiesLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
SolrCore |
CoreContainer.create(CoreDescriptor cd)
Creates a new core based on a CoreDescriptor, publishing the core state to the cluster
|
SolrCore |
CoreContainer.create(CoreDescriptor dcore,
boolean publishState)
Creates a new core based on a CoreDescriptor.
|
protected abstract SolrResourceLoader |
ConfigSetService.createCoreResourceLoader(CoreDescriptor cd)
Create a SolrResourceLoader for a core
|
SolrResourceLoader |
ConfigSetService.Default.createCoreResourceLoader(CoreDescriptor cd) |
protected IndexSchema |
ConfigSetService.createIndexSchema(CoreDescriptor cd,
SolrConfig solrConfig)
Create an IndexSchema object for a core
|
IndexSchema |
ConfigSetService.SchemaCaching.createIndexSchema(CoreDescriptor cd,
SolrConfig solrConfig) |
protected SolrConfig |
ConfigSetService.createSolrConfig(CoreDescriptor cd,
SolrResourceLoader loader)
Create a SolrConfig object for a core
|
void |
CoresLocator.delete(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors
are not available for discovery
|
void |
CorePropertiesLocator.delete(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
static void |
SolrCore.deleteUnloadedCore(CoreDescriptor cd,
boolean deleteDataDir,
boolean deleteInstanceDir) |
ConfigSet |
ConfigSetService.getConfig(CoreDescriptor dcore)
Load the ConfigSet for a core
|
String |
HdfsDirectoryFactory.getDataHome(CoreDescriptor cd) |
String |
DirectoryFactory.getDataHome(CoreDescriptor cd) |
protected String |
ConfigSetService.Default.locateInstanceDir(CoreDescriptor cd) |
void |
CoresLocator.persist(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors
will persist across container restarts.
|
void |
CorePropertiesLocator.persist(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
void |
CoresLocator.rename(CoreContainer cc,
CoreDescriptor oldCD,
CoreDescriptor newCD)
Persist the new name of a renamed core
|
void |
CorePropertiesLocator.rename(CoreContainer cc,
CoreDescriptor oldCD,
CoreDescriptor newCD) |
void |
CoresLocator.swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2)
Swap two core definitions
|
void |
CorePropertiesLocator.swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2) |
Constructor and Description |
---|
CoreContainer.CoreLoadFailure(CoreDescriptor cd,
Exception loadFailure) |
CoreDescriptor(String coreName,
CoreDescriptor other)
Create a new CoreDescriptor using the properties of an existing one
|
SolrCore(CoreDescriptor cd,
ConfigSet coreConfig) |
SolrCore(String name,
CoreDescriptor coreDescriptor)
Deprecated.
will be removed in the next release
|
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd)
Deprecated.
will be removed in the next release
|
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor coreDescriptor,
UpdateHandler updateHandler,
IndexDeletionPolicyWrapper delPolicy,
SolrCore prev)
Creates a new core and register it in the list of cores.
|
Modifier and Type | Method and Description |
---|---|
protected static CoreDescriptor |
CoreAdminHandler.buildCoreDescriptor(SolrParams params,
CoreContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
abstract void |
SolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.