Class PrepareCoreRecoveryAPI


  • public class PrepareCoreRecoveryAPI
    extends Object
    Internal V2 API used to prepare a core for recovery.

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

    See Also:
    PrepareCoreRecoveryPayload
    • Constructor Detail

      • PrepareCoreRecoveryAPI

        public PrepareCoreRecoveryAPI​(CoreAdminHandler coreAdminHandler)
    • Method Detail

      • prepareCoreForRecovery

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