Class AliasProperty
java.lang.Object
org.apache.solr.api.JerseyResource
org.apache.solr.handler.admin.api.AdminAPIBase
org.apache.solr.handler.admin.api.AliasProperty
- All Implemented Interfaces:
AliasPropertyApis
V2 APIs for managing and inspecting properties for collection aliases
-
Field Summary
Fields inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
coreContainer, solrQueryRequest, solrQueryResponseFields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext -
Constructor Summary
ConstructorsConstructorDescriptionAliasProperty(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse) -
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateAliasProperty(String aliasName, String propName, UpdateAliasPropertyRequestBody requestBody) org.apache.solr.common.cloud.ZkNodePropsdeleteAliasProperty(String aliasName, String propName) getAliasProperty(String aliasName, String propName) getAllAliasProperties(String aliasName) updateAliasProperties(String aliasName, UpdateAliasPropertiesRequestBody requestBody) Methods inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
disableResponseCaching, fetchAndValidateZooKeeperAwareCoreContainer, insertIfNotNull, recordCollectionForLogAndTracing, resolveAndValidateAliasIfEnabled, resolveCollectionName, submitRemoteMessageAndHandleResponse, validateZooKeeperAwareCoreContainerMethods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
Constructor Details
-
AliasProperty
@Inject public AliasProperty(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Details
-
getAllAliasProperties
- Specified by:
getAllAliasPropertiesin interfaceAliasPropertyApis- Throws:
Exception
-
getAliasProperty
public GetAliasPropertyResponse getAliasProperty(String aliasName, String propName) throws Exception - Specified by:
getAliasPropertyin interfaceAliasPropertyApis- Throws:
Exception
-
updateAliasProperties
public SolrJerseyResponse updateAliasProperties(String aliasName, UpdateAliasPropertiesRequestBody requestBody) throws Exception - Specified by:
updateAliasPropertiesin interfaceAliasPropertyApis- Throws:
Exception
-
createOrUpdateAliasProperty
public SolrJerseyResponse createOrUpdateAliasProperty(String aliasName, String propName, UpdateAliasPropertyRequestBody requestBody) throws Exception - Specified by:
createOrUpdateAliasPropertyin interfaceAliasPropertyApis- Throws:
Exception
-
deleteAliasProperty
- Specified by:
deleteAliasPropertyin interfaceAliasPropertyApis- Throws:
Exception
-
createRemoteMessage
-