Package org.apache.solr.handler.admin
Class InstallCoreDataOp
- java.lang.Object
-
- org.apache.solr.handler.admin.InstallCoreDataOp
-
- All Implemented Interfaces:
CoreAdminHandler.CoreAdminOp
public class InstallCoreDataOp extends Object implements CoreAdminHandler.CoreAdminOp
v1 shim implementation of the "Install Core Data" API, a core-admin API used to implement the "Install Shard Data" Collection-Admin functionalityConverts v1-style query parameters into a v2-style request body and delegating to
InstallCoreDataAPI
.
-
-
Constructor Summary
Constructors Constructor Description InstallCoreDataOp()
-
-
-
Method Detail
-
execute
public void execute(CoreAdminHandler.CallInfo it) throws Exception
- Specified by:
execute
in interfaceCoreAdminHandler.CoreAdminOp
- Parameters:
it
- request/response objectIf the request is invalid throw a SolrException with SolrException.ErrorCode.BAD_REQUEST ( 400 ) If the execution of the command fails throw a SolrException with SolrException.ErrorCode.SERVER_ERROR ( 500 )
Any non-SolrException's are wrapped at a higher level as a SolrException with SolrException.ErrorCode.SERVER_ERROR.
- Throws:
Exception
-
-