Class RequestSyncShardAPI


  • public class RequestSyncShardAPI
    extends Object
    Internal V2 API used to request a core sync with its shard leader.

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

    See Also:
    RequestSyncShardPayload
    • Constructor Detail

      • RequestSyncShardAPI

        public RequestSyncShardAPI​(CoreAdminHandler coreAdminHandler)
    • Method Detail

      • requestSyncShard

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