Class DeleteReplicaPropertyAPI
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.AdminAPIBase
-
- org.apache.solr.handler.admin.api.DeleteReplicaPropertyAPI
-
@Path("/collections/{collName}/shards/{shardName}/replicas/{replicaName}/properties/{propName}") public class DeleteReplicaPropertyAPI extends AdminAPIBase
V2 API for removing a property from a collection replicaThis API is analogous to the v1 /admin/collections?action=DELETEREPLICAPROP command.
-
-
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 DeleteReplicaPropertyAPI(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 collName, String shardName, String replicaName, String propName)
SolrJerseyResponse
deleteReplicaProperty(String collName, String shardName, String replicaName, String propertyName)
static SolrJerseyResponse
invokeUsingV1Inputs(DeleteReplicaPropertyAPI apiInstance, org.apache.solr.common.params.SolrParams solrParams)
-
Methods inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
disableResponseCaching, fetchAndValidateZooKeeperAwareCoreContainer, recordCollectionForLogAndTracing, validateZooKeeperAwareCoreContainer
-
Methods inherited from class org.apache.solr.api.JerseyResource
instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
DeleteReplicaPropertyAPI
@Inject public DeleteReplicaPropertyAPI(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Detail
-
deleteReplicaProperty
public SolrJerseyResponse deleteReplicaProperty(@PathParam("collName") String collName, @PathParam("shardName") String shardName, @PathParam("replicaName") String replicaName, @PathParam("propName") String propertyName) throws Exception
- Throws:
Exception
-
invokeUsingV1Inputs
public static SolrJerseyResponse invokeUsingV1Inputs(DeleteReplicaPropertyAPI apiInstance, org.apache.solr.common.params.SolrParams solrParams) throws Exception
- Throws:
Exception
-
-