public class AlfrescoCoreAdminHandler
extends org.apache.solr.handler.admin.CoreAdminHandler
org.apache.solr.handler.admin.CoreAdminHandler.Invocable| Modifier and Type | Field and Description |
|---|---|
static String |
ALFRESCO_DEFAULTS |
protected static String |
ARG_TXID |
static String |
DATA_DIR_ROOT |
static String |
DEFAULT_TEMPLATE |
protected static org.slf4j.Logger |
log |
COMPLETED, coreContainer, FAILED, MAX_TRACKED_REQUESTS, parallelExecutor, paramToProp, requestStatusMap, RESPONSE, RESPONSE_MESSAGE, RESPONSE_STATUS, RUNNING| Constructor and Description |
|---|
AlfrescoCoreAdminHandler() |
AlfrescoCoreAdminHandler(org.apache.solr.core.CoreContainer coreContainer) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentHashMap<String,InformationServer> |
getInformationServers() |
SolrTrackerScheduler |
getScheduler() |
TrackerRegistry |
getTrackerRegistry() |
protected void |
handleCustomAction(org.apache.solr.request.SolrQueryRequest req,
org.apache.solr.response.SolrQueryResponse rsp) |
boolean |
hasAlfrescoCore(Collection<org.apache.solr.core.SolrCore> cores)
Tests to see if one of the cores is an Alfresco special core!
|
protected boolean |
newCore(String coreName,
int numShards,
org.alfresco.service.cmr.repository.StoreRef storeRef,
String templateName,
int replicationFactor,
int nodeInstance,
int numNodes,
String shardIds,
Properties extraProperties,
org.apache.solr.response.SolrQueryResponse rsp) |
protected boolean |
newDefaultCore(String coreName,
org.alfresco.service.cmr.repository.StoreRef storeRef,
String templateName,
Properties extraProperties,
org.apache.solr.response.SolrQueryResponse rsp) |
protected void |
setTrackerRegistry(TrackerRegistry trackerRegistry) |
protected void |
setupNewDefaultCores(String createDefaultCores)
Creates new default cores based on the "createDefaultCores" String passed in
|
void |
shutdown()
Shutsdown services that exist outside of the core.
|
void |
startup(org.apache.solr.core.CoreContainer coreContainer)
Startup services that exist outside of the core.
|
buildCoreParams, getApis, getCategory, getCoreContainer, getDescription, getPermissionName, handleRequestBody, init, initializeMetrics, normalizePath, params, registerV2getDocs, getInitArgs, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, getSource, getStatistics, getSubHandler, getVersion, handleRequest, setPluginInfoprotected static final org.slf4j.Logger log
protected static final String ARG_TXID
public static final String DATA_DIR_ROOT
public static final String ALFRESCO_DEFAULTS
public static final String DEFAULT_TEMPLATE
public AlfrescoCoreAdminHandler()
public AlfrescoCoreAdminHandler(org.apache.solr.core.CoreContainer coreContainer)
coreContainer - public void startup(org.apache.solr.core.CoreContainer coreContainer)
protected void setupNewDefaultCores(String createDefaultCores)
createDefaultCores - comma delimited list of corenames.public void shutdown()
shutdown in class org.apache.solr.handler.admin.CoreAdminHandlerprotected void handleCustomAction(org.apache.solr.request.SolrQueryRequest req,
org.apache.solr.response.SolrQueryResponse rsp)
handleCustomAction in class org.apache.solr.handler.admin.CoreAdminHandlerprotected boolean newDefaultCore(String coreName, org.alfresco.service.cmr.repository.StoreRef storeRef, String templateName, Properties extraProperties, org.apache.solr.response.SolrQueryResponse rsp)
protected boolean newCore(String coreName, int numShards, org.alfresco.service.cmr.repository.StoreRef storeRef, String templateName, int replicationFactor, int nodeInstance, int numNodes, String shardIds, Properties extraProperties, org.apache.solr.response.SolrQueryResponse rsp)
public boolean hasAlfrescoCore(Collection<org.apache.solr.core.SolrCore> cores)
cores - public ConcurrentHashMap<String,InformationServer> getInformationServers()
public TrackerRegistry getTrackerRegistry()
protected void setTrackerRegistry(TrackerRegistry trackerRegistry)
public SolrTrackerScheduler getScheduler()
Copyright © 2005–2018 Alfresco Software. All rights reserved.