Package | Description |
---|---|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.core |
Core classes implementing Solr internals and the management of
SolrCore s |
org.apache.solr.logging |
APIs related to capturing log event info in the
LoggingHandler |
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 |
---|---|
boolean |
ZkController.checkIfCoreNodeNameAlreadyExists(CoreDescriptor dcore) |
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) |
RecoveryStrategy |
RecoveryStrategy.Builder.create(CoreContainer cc,
CoreDescriptor cd,
RecoveryStrategy.RecoveryListener recoveryListener) |
SolrResourceLoader |
CloudConfigSetService.createCoreResourceLoader(CoreDescriptor cd) |
String |
ZkController.getCoreNodeName(CoreDescriptor descriptor) |
void |
ZkController.giveupLeadership(CoreDescriptor cd,
Throwable tragicException) |
protected RecoveryStrategy |
RecoveryStrategy.Builder.newRecoveryStrategy(CoreContainer cc,
CoreDescriptor cd,
RecoveryStrategy.RecoveryListener recoveryListener) |
void |
ZkController.preRegister(CoreDescriptor cd,
boolean publishState) |
void |
ZkController.publish(CoreDescriptor cd,
Replica.State state) |
void |
ZkController.publish(CoreDescriptor cd,
Replica.State state,
boolean updateLastState,
boolean forcePublish)
Publish core state to overseer.
|
String |
ZkController.register(String coreName,
CoreDescriptor desc,
boolean skipRecovery)
Register shard with ZooKeeper.
|
String |
ZkController.register(String coreName,
CoreDescriptor desc,
boolean recoverReloadedCores,
boolean afterExpiration,
boolean skipRecovery)
Register shard with ZooKeeper.
|
void |
ZkController.throwErrorIfReplicaReplaced(CoreDescriptor desc) |
void |
ZkController.unregister(String coreName,
CoreDescriptor cd) |
void |
ZkController.unregister(String coreName,
CoreDescriptor cd,
boolean removeCoreFromZk) |
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 | Field and Description |
---|---|
static Predicate<CoreDescriptor> |
ZkContainer.testing_beforeRegisterInZk |
protected Map<String,CoreDescriptor> |
TransientSolrCoreCacheDefault.transientDescriptors |
Modifier and Type | Method and Description |
---|---|
protected CoreDescriptor |
CorePropertiesLocator.buildCoreDescriptor(Path propertiesFile,
CoreContainer cc) |
CoreDescriptor |
SolrCore.getCoreDescriptor() |
CoreDescriptor |
CoreContainer.getCoreDescriptor(String coreName) |
CoreDescriptor |
TransientSolrCoreCacheDefault.getTransientDescriptor(String name) |
abstract CoreDescriptor |
TransientSolrCoreCache.getTransientDescriptor(String name) |
CoreDescriptor |
CoreContainer.getUnloadedCoreDescriptor(String cname)
Gets a solr core descriptor for a core that is not loaded.
|
CoreDescriptor |
TransientSolrCoreCacheDefault.removeTransientDescriptor(String name) |
abstract CoreDescriptor |
TransientSolrCoreCache.removeTransientDescriptor(String name) |
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 |
---|---|
void |
TransientSolrCoreCacheDefault.addTransientDescriptor(String rawName,
CoreDescriptor cd) |
abstract void |
TransientSolrCoreCache.addTransientDescriptor(String rawName,
CoreDescriptor cd) |
protected Properties |
CorePropertiesLocator.buildCoreProperties(CoreDescriptor cd) |
int |
CoreSorter.compare(CoreDescriptor cd1,
CoreDescriptor cd2) |
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) |
protected NamedList |
ConfigSetService.createConfigSetProperties(CoreDescriptor cd,
SolrResourceLoader loader)
Return the ConfigSet properties
|
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
|
protected NamedList |
ConfigSetService.getConfigSetFlags(CoreDescriptor cd,
SolrResourceLoader loader) |
String |
HdfsDirectoryFactory.getDataHome(CoreDescriptor cd) |
String |
DirectoryFactory.getDataHome(CoreDescriptor cd)
Get the data home folder.
|
boolean |
CoreContainer.isSharedFs(CoreDescriptor cd) |
protected Path |
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) |
protected SolrCore |
CoreContainer.registerCore(CoreDescriptor cd,
SolrCore core,
boolean registerInZk,
boolean skipRecovery) |
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) |
boolean |
CoreContainer.repairCoreProperty(CoreDescriptor cd,
String prop) |
void |
CoresLocator.swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2)
Swap two core definitions
|
void |
CorePropertiesLocator.swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2) |
void |
SolrCore.unloadOnClose(CoreDescriptor desc,
boolean deleteIndexDir,
boolean deleteDataDir,
boolean deleteInstanceDir) |
Constructor and Description |
---|
CoreDescriptor(String coreName,
CoreDescriptor other)
Create a new CoreDescriptor using the properties of an existing one
|
CoreLoadFailure(CoreDescriptor cd,
Exception loadFailure) |
SolrCore(CoreContainer coreContainer,
CoreDescriptor cd,
ConfigSet coreConfig) |
SolrCore(CoreContainer coreContainer,
String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
NamedList configSetProperties,
CoreDescriptor coreDescriptor,
UpdateHandler updateHandler,
IndexDeletionPolicyWrapper delPolicy,
SolrCore prev,
boolean reload)
Creates a new core and register it in the list of cores.
|
Modifier and Type | Method and Description |
---|---|
static void |
MDCLoggingContext.setCoreDescriptor(CoreContainer coreContainer,
CoreDescriptor cd) |
Modifier and Type | Method and Description |
---|---|
abstract void |
SolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
void |
DefaultSolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.