Package | Description |
---|---|
org.apache.solr.client.solrj.embedded |
SolrJ client implementations for embedded solr access.
|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.cloud.rule |
Classes for managing Replica placement strategy when operating in SolrCloud mode.
|
org.apache.solr.core |
Core classes implementing Solr internals and the management of
SolrCore s |
org.apache.solr.handler.admin |
SolrRequestHandler implementations for powering he Solr Admin UI |
org.apache.solr.logging |
APIs related to capturing log event info in the
LoggingHandler |
org.apache.solr.search.join |
Classes related to joins.
|
org.apache.solr.security |
Commonly used classes for Solr security framework.
|
org.apache.solr.servlet |
Servlet related classes for powering the Solr HTTP API
|
org.apache.solr.update |
APIs and classes for managing index updates
|
org.apache.solr.util |
Common utility classes used throughout Solr
|
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
EmbeddedSolrServer.coreContainer |
Modifier and Type | Method and Description |
---|---|
CoreContainer |
EmbeddedSolrServer.getCoreContainer()
Getter method for the CoreContainer
|
CoreContainer |
JettySolrRunner.getCoreContainer() |
Constructor and Description |
---|
EmbeddedSolrServer(CoreContainer coreContainer,
String coreName)
Create an EmbeddedSolrServer wrapping a CoreContainer.
|
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
LeaderInitiatedRecoveryThread.coreContainer |
Modifier and Type | Method and Description |
---|---|
static void |
ZkController.bootstrapConf(SolrZkClient zkClient,
CoreContainer cc,
String solrHome)
If in SolrCloud mode, upload config sets for each SolrCore in solr.xml.
|
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.
|
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.
|
static List<org.apache.solr.cloud.Assign.ReplicaCount> |
Assign.getNodesForNewReplicas(ClusterState clusterState,
String collectionName,
String shard,
int numberOfNodes,
String createNodeSetStr,
CoreContainer cc) |
Constructor and Description |
---|
LeaderInitiatedRecoveryThread(ZkController zkController,
CoreContainer cc,
String collection,
String shardId,
ZkCoreNodeProps nodeProps,
int maxTries,
CoreDescriptor leaderCd) |
RecoveryStrategy(CoreContainer cc,
CoreDescriptor cd,
RecoveryStrategy.RecoveryListener recoveryListener) |
SyncStrategy(CoreContainer cc) |
ZkController(CoreContainer cc,
String zkServerAddress,
int zkClientConnectTimeout,
CloudConfig cloudConfig,
CurrentCoreDescriptorProvider registerOnReconnect) |
Modifier and Type | Method and Description |
---|---|
protected SnitchContext |
ReplicaAssigner.getSnitchCtx(String node,
org.apache.solr.cloud.rule.ReplicaAssigner.SnitchInfoImpl info,
CoreContainer cc) |
static void |
ReplicaAssigner.verifySnitchConf(CoreContainer cc,
List snitchConf) |
Constructor and Description |
---|
ReplicaAssigner(List<Rule> rules,
Map<String,Integer> shardVsReplicaCount,
List snitches,
Map<String,Map<String,Integer>> shardVsNodes,
List<String> participatingLiveNodes,
CoreContainer cc,
ClusterState clusterState) |
ServerSnitchContext(SnitchContext.SnitchInfo perSnitch,
String node,
Map<String,Object> session,
CoreContainer coreContainer) |
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
DirectoryFactory.coreContainer |
Modifier and Type | Method and Description |
---|---|
static CoreContainer |
CoreContainer.createAndLoad(Path solrHome) |
static CoreContainer |
CoreContainer.createAndLoad(Path solrHome,
Path configFile)
Create a new CoreContainer and load its cores
|
CoreContainer |
CoreDescriptor.getCoreContainer() |
Modifier and Type | Method and Description |
---|---|
protected CoreDescriptor |
CorePropertiesLocator.buildCoreDescriptor(Path propertiesFile,
CoreContainer cc) |
void |
CoresLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Make new cores available for discovery
|
void |
CorePropertiesLocator.create(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 discovery
|
void |
CorePropertiesLocator.delete(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
List<CoreDescriptor> |
CoresLocator.discover(CoreContainer cc)
Load all the CoreDescriptors from persistence store
|
List<CoreDescriptor> |
CorePropertiesLocator.discover(CoreContainer cc) |
CoreSorter |
CoreSorter.init(CoreContainer cc) |
void |
DirectoryFactory.initCoreContainer(CoreContainer cc) |
void |
ZkContainer.initZooKeeper(CoreContainer cc,
String solrHome,
CloudConfig config) |
CoreAdminHandler |
SolrResourceLoader.newAdminHandlerInstance(CoreContainer coreContainer,
String cname,
String... subpackages) |
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 |
---|
BlobRepository(CoreContainer coreContainer) |
CoreDescriptor(CoreContainer container,
String name,
Path instanceDir)
Create a new CoreDescriptor with a given name and instancedir
|
CoreDescriptor(CoreContainer container,
String name,
Path instanceDir,
Map<String,String> coreProps)
Create a new CoreDescriptor.
|
CoreDescriptor(CoreContainer container,
String name,
Path instanceDir,
String... properties) |
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
CollectionsHandler.coreContainer |
protected CoreContainer |
ConfigSetsHandler.coreContainer |
protected CoreContainer |
CoreAdminHandler.coreContainer |
protected CoreContainer |
InfoHandler.coreContainer |
Modifier and Type | Method and Description |
---|---|
CoreContainer |
CollectionsHandler.getCoreContainer()
The instance of CoreContainer this handler handles.
|
CoreContainer |
CoreAdminHandler.getCoreContainer()
The instance of CoreContainer this handler handles.
|
CoreContainer |
InfoHandler.getCoreContainer()
The instance of CoreContainer this handler handles.
|
Modifier and Type | Method and Description |
---|---|
static void |
CollectionsHandler.verifyRuleParams(CoreContainer cc,
Map<String,Object> m) |
Constructor and Description |
---|
CollectionsHandler(CoreContainer coreContainer)
Overloaded ctor to inject CoreContainer into the handler.
|
ConfigSetsHandler(CoreContainer coreContainer)
Overloaded ctor to inject CoreContainer into the handler.
|
CoreAdminHandler(CoreContainer coreContainer)
Overloaded ctor to inject CoreContainer into the handler.
|
InfoHandler(CoreContainer coreContainer)
Overloaded ctor to inject CoreContainer into the handler.
|
LoggingHandler(CoreContainer cc) |
SecurityConfHandler(CoreContainer coreContainer) |
SystemInfoHandler(CoreContainer cc) |
ZookeeperInfoHandler(CoreContainer cc) |
Modifier and Type | Method and Description |
---|---|
static void |
MDCLoggingContext.setNode(CoreContainer cc) |
Modifier and Type | Method and Description |
---|---|
static String |
ScoreJoinQParserPlugin.getCoreName(String fromIndex,
CoreContainer container)
Returns an String with the name of a core.
|
Constructor and Description |
---|
KerberosPlugin(CoreContainer coreContainer) |
PKIAuthenticationPlugin(CoreContainer cores,
String nodeName) |
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
SolrDispatchFilter.cores |
protected CoreContainer |
HttpSolrCall.cores |
Modifier and Type | Method and Description |
---|---|
protected CoreContainer |
SolrDispatchFilter.createCoreContainer(Path solrHome,
Properties extraProperties)
Override this to change CoreContainer initialization
|
CoreContainer |
SolrDispatchFilter.getCores() |
Constructor and Description |
---|
HttpSolrCall(SolrDispatchFilter solrDispatchFilter,
CoreContainer cores,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean retry) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
abstract void |
SolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TestInjection.injectNonGracefullClose(CoreContainer cc) |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.