Class CreateCollectionCmd
java.lang.Object
org.apache.solr.cloud.api.collections.CreateCollectionCmd
- All Implemented Interfaces:
CollApiCmds.CollectionApiCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcall(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results) static voidcreateCollectionZkNode(org.apache.solr.client.solrj.cloud.DistribStateManager stateManager, String collection, Map<String, String> params, ConfigSetService configSetService) populateShardNames(org.apache.solr.common.cloud.ZkNodeProps message, String router)
-
Field Details
-
PRS_DEFAULT_PROP
- See Also:
-
-
Constructor Details
-
CreateCollectionCmd
-
-
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:
callin interfaceCollApiCmds.CollectionApiCommand- Throws:
Exception
-
populateShardNames
-
createCollectionZkNode
public static void createCollectionZkNode(org.apache.solr.client.solrj.cloud.DistribStateManager stateManager, String collection, Map<String, String> params, ConfigSetService configSetService)
-