Class CreateShardAPI


  • public class CreateShardAPI
    extends Object
    V2 API for creating a new shard in a collection.

    This API (POST /v2/collections/collectionName/shards {'create': {...}}) is analogous to the v1 /admin/collections?action=CREATESHARD command.

    See Also:
    CreateShardAPI
    • Constructor Detail

    • Method Detail

      • createShard

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