Class 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 functionality

    Converts v1-style query parameters into a v2-style request body and delegating to InstallCoreData.

    • Constructor Detail

      • InstallCoreDataOp

        public InstallCoreDataOp()
    • Method Detail

      • execute

        public void execute​(CoreAdminHandler.CallInfo it)
                     throws Exception
        Specified by:
        execute in interface CoreAdminHandler.CoreAdminOp
        Parameters:
        it - request/response object

        If 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