Class DeleteNode
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.AdminAPIBase
-
- org.apache.solr.handler.admin.api.DeleteNode
-
- All Implemented Interfaces:
DeleteNodeApi
public class DeleteNode extends AdminAPIBase implements DeleteNodeApi
V2 API for deleting all replicas of all collections in one node. Please note that the node itself will remain as a live node after this operation.This API is analogous to the V1 /admin/collections?action=DELETENODE
-
-
Field Summary
-
Fields inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
coreContainer, solrQueryRequest, solrQueryResponse
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description DeleteNode(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.solr.common.cloud.ZkNodeProps
createRemoteMessage(String nodeName, DeleteNodeRequestBody requestBody)
SolrJerseyResponse
deleteNode(String nodeName, DeleteNodeRequestBody requestBody)
static SolrJerseyResponse
invokeUsingV1Inputs(DeleteNode apiInstance, org.apache.solr.common.params.SolrParams params)
-
Methods inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
disableResponseCaching, fetchAndValidateZooKeeperAwareCoreContainer, insertIfNotNull, recordCollectionForLogAndTracing, resolveAndValidateAliasIfEnabled, resolveCollectionName, submitRemoteMessageAndHandleResponse, validateZooKeeperAwareCoreContainer
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
DeleteNode
@Inject public DeleteNode(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Detail
-
deleteNode
public SolrJerseyResponse deleteNode(String nodeName, DeleteNodeRequestBody requestBody) throws Exception
- Specified by:
deleteNode
in interfaceDeleteNodeApi
- Throws:
Exception
-
invokeUsingV1Inputs
public static SolrJerseyResponse invokeUsingV1Inputs(DeleteNode apiInstance, org.apache.solr.common.params.SolrParams params) throws Exception
- Throws:
Exception
-
createRemoteMessage
public static org.apache.solr.common.cloud.ZkNodeProps createRemoteMessage(String nodeName, DeleteNodeRequestBody requestBody)
-
-