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 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.servlet |
Servlet related classes for powering the Solr HTTP API
|
org.apache.solr.update |
APIs and classes for managing index updates
|
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
EmbeddedSolrServer.coreContainer |
Modifier and Type | Method and Description |
---|---|
CoreContainer |
EmbeddedSolrServer.getCoreContainer()
Getter method for the CoreContainer
|
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.
|
static List<org.apache.solr.cloud.Assign.Node> |
Assign.getNodesForNewShard(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,
String leaderCoreNodeName) |
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 |
---|---|
abstract CoreContainer |
SnitchContext.SnitchInfo.getCoreContainer() |
Modifier and Type | Method and Description |
---|---|
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> liveNodes,
CoreContainer cc,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
static CoreContainer |
CoreContainer.createAndLoad(String solrHome,
File configFile)
Create a new CoreContainer and load its cores
|
CoreContainer |
CoreDescriptor.getCoreContainer() |
Modifier and Type | Method and Description |
---|---|
protected CoreDescriptor |
CorePropertiesLocator.buildCoreDescriptor(File 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) |
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 |
---|
CoreDescriptor(CoreContainer container,
String name,
String instanceDir)
Create a new CoreDescriptor with a given name and instancedir
|
CoreDescriptor(CoreContainer container,
String name,
String instanceDir,
Properties coreProps)
Create a new CoreDescriptor.
|
CoreDescriptor(CoreContainer container,
String name,
String instanceDir,
Properties coreProps,
SolrParams params)
Create a new CoreDescriptor.
|
CoreDescriptor(CoreContainer container,
String name,
String instanceDir,
String... properties) |
JarRepository(CoreContainer coreContainer) |
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
CollectionsHandler.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 |
---|---|
protected static CoreDescriptor |
CoreAdminHandler.buildCoreDescriptor(SolrParams params,
CoreContainer container) |
protected NamedList<Object> |
CoreAdminHandler.getCoreStatus(CoreContainer cores,
String cname,
boolean isIndexInfoNeeded)
Returns the core status for a particular core.
|
static void |
CollectionsHandler.verifyRuleParams(CoreContainer cc,
Map<String,Object> m) |
Constructor and Description |
---|
CollectionsHandler(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) |
SystemInfoHandler(CoreContainer cc) |
Modifier and Type | Field and Description |
---|---|
protected CoreContainer |
SolrDispatchFilter.cores |
protected CoreContainer |
HttpSolrCall.cores |
Modifier and Type | Method and Description |
---|---|
protected CoreContainer |
SolrDispatchFilter.createCoreContainer(String 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) |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.