Class CreateCollectionCmd

java.lang.Object
org.apache.solr.cloud.api.collections.CreateCollectionCmd
All Implemented Interfaces:
CollApiCmds.CollectionApiCommand

public class CreateCollectionCmd extends Object implements CollApiCmds.CollectionApiCommand
  • Field Details

  • Constructor Details

  • Method Details

    • call

      public void call(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results) throws Exception
      Specified by:
      call in interface CollApiCmds.CollectionApiCommand
      Throws:
      Exception
    • populateShardNames

      public static List<String> populateShardNames(org.apache.solr.common.cloud.ZkNodeProps message, String router)
    • createCollectionZkNode

      public static void createCollectionZkNode(org.apache.solr.client.solrj.cloud.DistribStateManager stateManager, String collection, Map<String,String> params, ConfigSetService configSetService)