mirror of https://github.com/apache/lucene.git
SOLR-6762: use collection.configName parameter instead of configSet when creating a collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
58d913b6e5
commit
7c5ea7648b
|
@ -869,7 +869,7 @@ public class SolrCLI {
|
||||||
String collectionName = cli.getOptionValue("name");
|
String collectionName = cli.getOptionValue("name");
|
||||||
String createCollectionUrl =
|
String createCollectionUrl =
|
||||||
String.format(Locale.ROOT,
|
String.format(Locale.ROOT,
|
||||||
"%s/admin/collections?action=CREATE&name=%s&numShards=%d&replicationFactor=%d&maxShardsPerNode=%d&configSet=%s",
|
"%s/admin/collections?action=CREATE&name=%s&numShards=%d&replicationFactor=%d&maxShardsPerNode=%d&collection.configName=%s",
|
||||||
baseUrl,
|
baseUrl,
|
||||||
collectionName,
|
collectionName,
|
||||||
numShards,
|
numShards,
|
||||||
|
|
Loading…
Reference in New Issue