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 ofSolrCore
sorg.apache.solr.logging APIs related to capturing log event info in theLoggingHandler
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 with parameters of type CoreDescriptor Modifier and Type Method 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
ZkConfigSetService. configSetName(CoreDescriptor cd)
RecoveryStrategy
RecoveryStrategy.Builder. create(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
SolrResourceLoader
ZkConfigSetService. createCoreResourceLoader(CoreDescriptor cd)
String
ZkController. getCoreNodeName(CoreDescriptor descriptor)
void
ZkController. giveupLeadership(CoreDescriptor cd)
Best effort to give up the leadership of a shard in a core after hitting a tragic exceptionprotected org.apache.solr.common.util.NamedList<Object>
ZkConfigSetService. loadConfigSetFlags(CoreDescriptor cd, SolrResourceLoader loader)
protected RecoveryStrategy
RecoveryStrategy.Builder. newRecoveryStrategy(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
void
ZkController. preRegister(CoreDescriptor cd, boolean publishState)
void
ZkController. publish(CoreDescriptor cd, org.apache.solr.common.cloud.Replica.State state)
void
ZkController. publish(CoreDescriptor cd, org.apache.solr.common.cloud.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)
Constructors in org.apache.solr.cloud with parameters of type CoreDescriptor Constructor Description CloudDescriptor(CoreDescriptor cd, String coreName, Properties props)
RecoveryStrategy(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
Constructor parameters in org.apache.solr.cloud with type arguments of type CoreDescriptor Constructor Description ZkController(CoreContainer cc, String zkServerAddress, int zkClientConnectTimeout, CloudConfig cloudConfig, Supplier<List<CoreDescriptor>> descriptorsSupplier)
-
Uses of CoreDescriptor in org.apache.solr.core
Fields in org.apache.solr.core declared as CoreDescriptor Modifier and Type Field Description CoreDescriptor
CoreContainer.CoreLoadFailure. cd
Fields in org.apache.solr.core with type parameters of type CoreDescriptor Modifier and Type Field Description static Predicate<CoreDescriptor>
ZkContainer. testing_beforeRegisterInZk
protected Map<String,CoreDescriptor>
TransientSolrCoreCacheDefault. transientDescriptors
Deprecated.Unlimited map of all the descriptors for all the registered transient cores, including the cores in theTransientSolrCoreCacheDefault.transientCores
as well as all the others.Methods in org.apache.solr.core that return CoreDescriptor Modifier and Type Method Description protected CoreDescriptor
CorePropertiesLocator. buildCoreDescriptor(Path propertiesFile, CoreContainer cc)
CoreDescriptor
CoreContainer. getCoreDescriptor(String coreName)
CoreDescriptor
SolrCore. getCoreDescriptor()
CoreDescriptor
SolrCores. getCoreDescriptor(String coreName)
Return the CoreDescriptor corresponding to a given core name.CoreDescriptor
TransientSolrCores. getCoreDescriptor(String coreName)
Deprecated.abstract CoreDescriptor
TransientSolrCoreCache. getTransientDescriptor(String name)
Deprecated.Gets theCoreDescriptor
for a transient core (loaded or unloaded).CoreDescriptor
TransientSolrCoreCacheDefault. getTransientDescriptor(String name)
Deprecated.abstract CoreDescriptor
TransientSolrCoreCache. removeTransientDescriptor(String name)
Deprecated.Removes aCoreDescriptor
from the list of transient cores descriptors.CoreDescriptor
TransientSolrCoreCacheDefault. removeTransientDescriptor(String name)
Deprecated.Methods in org.apache.solr.core that return types with arguments of type CoreDescriptor Modifier and Type Method Description List<CoreDescriptor>
CorePropertiesLocator. discover(CoreContainer cc)
List<CoreDescriptor>
CoresLocator. discover(CoreContainer cc)
Load all the CoreDescriptors from persistence storeList<CoreDescriptor>
CoreContainer. getCoreDescriptors()
Get the CoreDescriptors for all cores managed by this containerList<CoreDescriptor>
SolrCores. getCoreDescriptors()
Get the CoreDescriptors for everySolrCore
managed here (permanent and transient, loaded and unloaded).List<CoreDescriptor>
TransientSolrCores. getCoreDescriptors()
Deprecated.abstract Collection<CoreDescriptor>
TransientSolrCoreCache. getTransientDescriptors()
Deprecated.Gets theCoreDescriptor
for all transient cores (loaded and unloaded).Collection<CoreDescriptor>
TransientSolrCoreCacheDefault. getTransientDescriptors()
Deprecated.static List<CoreDescriptor>
CoreSorter. sortCores(CoreContainer coreContainer, List<CoreDescriptor> descriptors)
Primary entry-point to sort the cores.Methods in org.apache.solr.core with parameters of type CoreDescriptor Modifier and Type Method Description void
SolrCores. addCoreDescriptor(CoreDescriptor p)
void
TransientSolrCores. addCoreDescriptor(CoreDescriptor p)
Deprecated.abstract void
TransientSolrCoreCache. addTransientDescriptor(String rawName, CoreDescriptor cd)
Deprecated.Adds a newCoreDescriptor
.void
TransientSolrCoreCacheDefault. addTransientDescriptor(String rawName, CoreDescriptor cd)
Deprecated.protected Properties
CorePropertiesLocator. buildCoreProperties(CoreDescriptor cd)
int
CoreSorter. compare(CoreDescriptor cd1, CoreDescriptor cd2)
abstract String
ConfigSetService. configSetName(CoreDescriptor cd)
Return a name for the ConfigSet for a core to be used for printing/diagnostic purposes.String
FileSystemConfigSetService. configSetName(CoreDescriptor cd)
void
CorePropertiesLocator. create(CoreContainer cc, CoreDescriptor... coreDescriptors)
void
CoresLocator. create(CoreContainer cc, CoreDescriptor... coreDescriptors)
Make new cores available for discoveryprotected abstract SolrResourceLoader
ConfigSetService. createCoreResourceLoader(CoreDescriptor cd)
Create a SolrResourceLoader for a coreSolrResourceLoader
FileSystemConfigSetService. createCoreResourceLoader(CoreDescriptor cd)
protected IndexSchema
ConfigSetService. createIndexSchema(CoreDescriptor cd, SolrConfig solrConfig, boolean forceFetch)
Create an IndexSchema object for a core.protected SolrConfig
ConfigSetService. createSolrConfig(CoreDescriptor cd, SolrResourceLoader loader, boolean isTrusted)
Create a SolrConfig object for a corevoid
CorePropertiesLocator. delete(CoreContainer cc, CoreDescriptor... coreDescriptors)
void
CoresLocator. delete(CoreContainer cc, CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors are not available for discoverystatic void
SolrCore. deleteUnloadedCore(CoreDescriptor cd, boolean deleteDataDir, boolean deleteInstanceDir)
String
DirectoryFactory. getDataHome(CoreDescriptor cd)
Get the data home folder.boolean
CoreContainer. isSharedFs(CoreDescriptor cd)
ConfigSet
ConfigSetService. loadConfigSet(CoreDescriptor dcore)
Load the ConfigSet for a coreprotected org.apache.solr.common.util.NamedList<Object>
ConfigSetService. loadConfigSetFlags(CoreDescriptor cd, SolrResourceLoader loader)
Return the ConfigSet flags or null if none.protected org.apache.solr.common.util.NamedList<Object>
ConfigSetService. loadConfigSetProperties(CoreDescriptor cd, SolrResourceLoader loader)
Return the ConfigSet properties or null if none.protected Path
FileSystemConfigSetService. locateInstanceDir(CoreDescriptor cd)
void
SolrCores. markCoreAsLoading(CoreDescriptor cd)
void
SolrCores. markCoreAsNotLoading(CoreDescriptor cd)
void
CorePropertiesLocator. persist(CoreContainer cc, CoreDescriptor... coreDescriptors)
void
CoresLocator. persist(CoreContainer cc, CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors will persist across container restarts.SolrCore
SolrCores. putCore(CoreDescriptor cd, SolrCore core)
SolrCore
TransientSolrCores. putCore(CoreDescriptor cd, SolrCore core)
Deprecated.protected SolrCore
CoreContainer. registerCore(CoreDescriptor cd, SolrCore core, boolean registerInZk, boolean skipRecovery)
void
SolrCores. removeCoreDescriptor(CoreDescriptor p)
void
TransientSolrCores. removeCoreDescriptor(CoreDescriptor p)
Deprecated.void
CorePropertiesLocator. rename(CoreContainer cc, CoreDescriptor oldCD, CoreDescriptor newCD)
void
CoresLocator. rename(CoreContainer cc, CoreDescriptor oldCD, CoreDescriptor newCD)
Persist the new name of a renamed corevoid
CorePropertiesLocator. swap(CoreContainer cc, CoreDescriptor cd1, CoreDescriptor cd2)
void
CoresLocator. swap(CoreContainer cc, CoreDescriptor cd1, CoreDescriptor cd2)
Swap two core definitionsvoid
SolrCore. unloadOnClose(CoreDescriptor desc, boolean deleteIndexDir, boolean deleteDataDir, boolean deleteInstanceDir)
Method parameters in org.apache.solr.core with type arguments of type CoreDescriptor Modifier and Type Method Description static List<CoreDescriptor>
CoreSorter. sortCores(CoreContainer coreContainer, List<CoreDescriptor> descriptors)
Primary entry-point to sort the cores.Constructors in org.apache.solr.core with parameters of type CoreDescriptor Constructor Description CoreDescriptor(String coreName, CoreDescriptor other)
Create a new CoreDescriptor using the properties of an existing oneCoreLoadFailure(CoreDescriptor cd, Exception loadFailure)
-
Uses of CoreDescriptor in org.apache.solr.logging
Methods in org.apache.solr.logging with parameters of type CoreDescriptor Modifier and Type Method Description static void
MDCLoggingContext. setCoreDescriptor(CoreContainer coreContainer, CoreDescriptor cd)
Sets multiple information from the params. -
Uses of CoreDescriptor in org.apache.solr.update
Methods in org.apache.solr.update with parameters of type CoreDescriptor Modifier and Type Method Description void
DefaultSolrCoreState. doRecovery(CoreContainer cc, CoreDescriptor cd)
abstract void
SolrCoreState. doRecovery(CoreContainer cc, CoreDescriptor cd)
-