Class RejoinLeaderElectionAPI


  • public class RejoinLeaderElectionAPI
    extends Object
    V2 API for triggering a core to rejoin leader election for the shard it constitutes.

    This API (POST /v2/node {'rejoin-leader-election': {...}}) is analogous to the v1 /admin/cores?action=REJOINLEADERELECTION command.

    • Constructor Detail

      • RejoinLeaderElectionAPI

        public RejoinLeaderElectionAPI​(CoreAdminHandler coreAdminHandler)
    • Method Detail

      • rejoinLeaderElection

        public void rejoinLeaderElection​(PayloadObj<org.apache.solr.client.solrj.request.beans.RejoinLeaderElectionPayload> payload)
                                  throws Exception
        Throws:
        Exception