## Uses of Class
org.apache.solr.core.CoreDescriptor

- Packages that use CoreDescriptor
  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

- - ### Uses of CoreDescriptor in org.apache.solr.cloud

    Methods in org.apache.solr.cloud that return types with arguments of type CoreDescriptor
    Modifier and Type | Method and Description
    --- | ---
    `abstract List<CoreDescriptor>` | CurrentCoreDescriptorProvider.`getCurrentDescriptors()`

    Methods in org.apache.solr.cloud with parameters of type CoreDescriptor
    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)`
    `SolrResourceLoader` | CloudConfigSetService.`createCoreResourceLoader(CoreDescriptor cd)`
    `boolean` | ZkController.`ensureReplicaInLeaderInitiatedRecovery(CoreContainer container, String collection, String shardId, ZkCoreNodeProps replicaCoreProps, CoreDescriptor leaderCd, boolean forcePublishState)` When a leader receives a communication error when trying to send a request to a replica, it calls this method to ensure the replica enters recovery when connectivity is restored.
    `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, 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.`updateLeaderInitiatedRecoveryState(String collection, String shardId, String coreNodeName, Replica.State state, CoreDescriptor leaderCd, boolean retryOnConnLoss)`

    Constructors in org.apache.solr.cloud with parameters of type CoreDescriptor
    Constructor and Description
    `CloudDescriptor(String coreName, Properties props, CoreDescriptor cd)`
    `LeaderInitiatedRecoveryThread(ZkController zkController, CoreContainer cc, String collection, String shardId, ZkCoreNodeProps nodeProps, int maxTries, CoreDescriptor leaderCd)`
    `RecoveryStrategy(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)`

  - ### Uses of CoreDescriptor in org.apache.solr.core

    Fields in org.apache.solr.core declared as CoreDescriptor
    Modifier and Type | Field and Description
    --- | ---
    `CoreDescriptor` | CoreContainer.CoreLoadFailure.`cd`

    Methods in org.apache.solr.core that return CoreDescriptor
    Modifier and Type | Method and Description
    --- | ---
    `protected CoreDescriptor` | CorePropertiesLocator.`buildCoreDescriptor(Path 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.

    Methods in org.apache.solr.core that return types with arguments of type CoreDescriptor
    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

    Methods in org.apache.solr.core with parameters of type CoreDescriptor
    Modifier and Type | Method and Description
    --- | ---
    `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
    `String` | HdfsDirectoryFactory.`getDataHome(CoreDescriptor cd)`
    `String` | DirectoryFactory.`getDataHome(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)`
    `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)`

    Constructors in org.apache.solr.core with parameters of type CoreDescriptor
    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(CoreDescriptor cd, ConfigSet coreConfig)`
    `SolrCore(String name, String dataDir, SolrConfig config, IndexSchema schema, NamedList configSetProperties, CoreDescriptor coreDescriptor, UpdateHandler updateHandler, IndexDeletionPolicyWrapper delPolicy, SolrCore prev)` Creates a new core and register it in the list of cores.

  - ### Uses of CoreDescriptor in org.apache.solr.logging

    Methods in org.apache.solr.logging with parameters of type CoreDescriptor
    Modifier and Type | Method and Description
    --- | ---
    `static void` | MDCLoggingContext.`setCoreDescriptor(CoreDescriptor cd)`

  - ### Uses of CoreDescriptor in org.apache.solr.update

    Methods in org.apache.solr.update with parameters of type CoreDescriptor
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultSolrCoreState.`doRecovery(CoreContainer cc, CoreDescriptor cd)`
    `abstract void` | SolrCoreState.`doRecovery(CoreContainer cc, CoreDescriptor cd)`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.