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 |
---|---|
String |
ZkController.getCoreNodeName(CoreDescriptor descriptor) |
void |
ZkController.preRegister(CoreDescriptor cd) |
void |
ZkController.publish(CoreDescriptor cd,
String state) |
void |
ZkController.publish(CoreDescriptor cd,
String state,
boolean updateLastState) |
void |
ZkController.publish(CoreDescriptor cd,
String 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.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 | 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> |
SolrXMLCoresLocator.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) |
protected static String |
SolrXMLCoresLocator.buildCoreTag(CoreDescriptor cd)
Serialize a coredescriptor as a String containing an XML <core> tag.
|
void |
CoresLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Make new cores available for discovery
|
void |
CorePropertiesLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
void |
SolrXMLCoresLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
SolrCore |
CoreContainer.create(CoreDescriptor dcore)
Creates a new core based on a descriptor but does not register it.
|
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) |
void |
SolrXMLCoresLocator.delete(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
String |
DirectoryFactory.getDataHome(CoreDescriptor cd) |
String |
HdfsDirectoryFactory.getDataHome(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 |
SolrXMLCoresLocator.persist(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
void |
CoreContainer.preRegisterInZk(CoreDescriptor p) |
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 |
SolrXMLCoresLocator.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) |
void |
SolrXMLCoresLocator.swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2) |
Modifier and Type | Method and Description |
---|---|
protected String |
SolrXMLCoresLocator.buildSolrXML(List<CoreDescriptor> cds) |
Constructor and Description |
---|
CoreDescriptor(String coreName,
CoreDescriptor other)
Create a new CoreDescriptor using the properties of an existing one
|
SolrCore(String name,
CoreDescriptor cd)
Creates a new core that is to be loaded lazily.
|
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd)
Creates a new core and register it in the list of cores.
|
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd,
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-2014 Apache Software Foundation. All Rights Reserved.