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

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

- - ### Uses of CoreContainer in org.apache.solr.client.solrj.embedded

    Fields in org.apache.solr.client.solrj.embedded declared as CoreContainer
    Modifier and Type | Field and Description
    --- | ---
    `protected CoreContainer` | EmbeddedSolrServer.`coreContainer`

    Methods in org.apache.solr.client.solrj.embedded that return CoreContainer
    Modifier and Type | Method and Description
    --- | ---
    `CoreContainer` | EmbeddedSolrServer.`getCoreContainer()` Getter method for the CoreContainer
    `CoreContainer` | JettySolrRunner.`getCoreContainer()`

    Constructors in org.apache.solr.client.solrj.embedded with parameters of type CoreContainer
    Constructor and Description
    `EmbeddedSolrServer(CoreContainer coreContainer, String coreName)` Create an EmbeddedSolrServer wrapping a CoreContainer.

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

    Fields in org.apache.solr.cloud declared as CoreContainer
    Modifier and Type | Field and Description
    --- | ---
    `protected CoreContainer` | LeaderInitiatedRecoveryThread.`coreContainer`

    Methods in org.apache.solr.cloud with parameters of type 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)`

    Constructors in org.apache.solr.cloud with parameters of type CoreContainer
    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)`

  - ### Uses of CoreContainer in org.apache.solr.cloud.rule

    Methods in org.apache.solr.cloud.rule with parameters of type CoreContainer
    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)`

    Constructors in org.apache.solr.cloud.rule with parameters of type CoreContainer
    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)`

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

    Fields in org.apache.solr.core declared as CoreContainer
    Modifier and Type | Field and Description
    --- | ---
    `protected CoreContainer` | DirectoryFactory.`coreContainer`

    Methods in org.apache.solr.core that return 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()`

    Methods in org.apache.solr.core with parameters of type CoreContainer
    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)`

    Constructors in org.apache.solr.core with parameters of type CoreContainer
    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)`

  - ### Uses of CoreContainer in org.apache.solr.handler.admin

    Fields in org.apache.solr.handler.admin declared as CoreContainer
    Modifier and Type | Field and Description
    --- | ---
    `protected CoreContainer` | CollectionsHandler.`coreContainer`
    `protected CoreContainer` | ConfigSetsHandler.`coreContainer`
    `protected CoreContainer` | CoreAdminHandler.`coreContainer`
    `protected CoreContainer` | InfoHandler.`coreContainer`

    Methods in org.apache.solr.handler.admin that return 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.

    Methods in org.apache.solr.handler.admin with parameters of type CoreContainer
    Modifier and Type | Method and Description
    --- | ---
    `static void` | CollectionsHandler.`verifyRuleParams(CoreContainer cc, Map<String,Object> m)`

    Constructors in org.apache.solr.handler.admin with parameters of type CoreContainer
    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)`

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

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

  - ### Uses of CoreContainer in org.apache.solr.search.join

    Methods in org.apache.solr.search.join with parameters of type CoreContainer
    Modifier and Type | Method and Description
    --- | ---
    `static String` | ScoreJoinQParserPlugin.`getCoreName(String fromIndex, CoreContainer container)` Returns an String with the name of a core.

  - ### Uses of CoreContainer in org.apache.solr.security

    Constructors in org.apache.solr.security with parameters of type CoreContainer
    Constructor and Description
    `KerberosPlugin(CoreContainer coreContainer)`
    `PKIAuthenticationPlugin(CoreContainer cores, String nodeName)`

  - ### Uses of CoreContainer in org.apache.solr.servlet

    Fields in org.apache.solr.servlet declared as CoreContainer
    Modifier and Type | Field and Description
    --- | ---
    `protected CoreContainer` | SolrDispatchFilter.`cores`
    `protected CoreContainer` | HttpSolrCall.`cores`

    Methods in org.apache.solr.servlet that return CoreContainer
    Modifier and Type | Method and Description
    --- | ---
    `protected CoreContainer` | SolrDispatchFilter.`createCoreContainer(Path solrHome, Properties extraProperties)` Override this to change CoreContainer initialization
    `CoreContainer` | SolrDispatchFilter.`getCores()`

    Constructors in org.apache.solr.servlet with parameters of type CoreContainer
    Constructor and Description
    `HttpSolrCall(SolrDispatchFilter solrDispatchFilter, CoreContainer cores, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean retry)`

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

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

  - ### Uses of CoreContainer in org.apache.solr.util

    Methods in org.apache.solr.util with parameters of type CoreContainer
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | TestInjection.`injectNonGracefullClose(CoreContainer cc)`

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