Class RequestCoreRecoveryAPI


  • public class RequestCoreRecoveryAPI
    extends Object
    Internal V2 API triggering recovery on a core.

    Only valid in SolrCloud mode. This API (POST /v2/cores/coreName {'request-recovery': {}}) is analogous to the v1 /admin/cores?action=REQUESTRECOVERY command.

    See Also:
    RequestCoreRecoveryPayload
    • Constructor Detail

      • RequestCoreRecoveryAPI

        public RequestCoreRecoveryAPI​(CoreAdminHandler coreAdminHandler)
    • Method Detail

      • requestCoreRecovery

        public void requestCoreRecovery​(PayloadObj<org.apache.solr.client.solrj.request.beans.RequestCoreRecoveryPayload> obj)
                                 throws Exception
        Throws:
        Exception