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.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)
Creates a SolrServer.
|
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.
|
Constructor and Description |
---|
RecoveryStrategy(CoreContainer cc,
CoreDescriptor cd,
RecoveryStrategy.RecoveryListener recoveryListener) |
SyncStrategy(CoreContainer cc) |
ZkController(CoreContainer cc,
String zkServerAddress,
int zkClientTimeout,
int zkClientConnectTimeout,
String localHost,
String locaHostPort,
String localHostContext,
int leaderVoteWait,
int leaderConflictResolveWait,
boolean genericCoreNodeNames,
CurrentCoreDescriptorProvider registerOnReconnect) |
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 |
SolrXMLCoresLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
void |
CoresLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Make new cores available for discovery
|
void |
CorePropertiesLocator.create(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
void |
SolrXMLCoresLocator.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 discovery
|
void |
CorePropertiesLocator.delete(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
List<CoreDescriptor> |
SolrXMLCoresLocator.discover(CoreContainer cc) |
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,
ConfigSolr config) |
void |
ZkContainer.initZooKeeper(CoreContainer cc,
String solrHome,
String zkHost,
int zkClientTimeout,
String hostPort,
String hostContext,
String host,
int leaderVoteWait,
int leaderConflictResolveWait,
boolean genericCoreNodeNames) |
CoreAdminHandler |
SolrResourceLoader.newAdminHandlerInstance(CoreContainer coreContainer,
String cname,
String... subpackages) |
void |
SolrXMLCoresLocator.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.
|
void |
CorePropertiesLocator.persist(CoreContainer cc,
CoreDescriptor... coreDescriptors) |
void |
SolrXMLCoresLocator.rename(CoreContainer cc,
CoreDescriptor oldCD,
CoreDescriptor newCD) |
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.swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2) |
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.
|
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.
|
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 |
Modifier and Type | Method and Description |
---|---|
protected CoreContainer |
SolrDispatchFilter.createCoreContainer()
Override this to change CoreContainer initialization
|
CoreContainer |
SolrDispatchFilter.getCores() |
Modifier and Type | Method and Description |
---|---|
abstract void |
SolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
void |
DefaultSolrCoreState.doRecovery(CoreContainer cc,
CoreDescriptor cd) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.