You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexander S. (JIRA)" <ji...@apache.org> on 2018/02/02 15:02:00 UTC
[jira] [Created] (SOLR-11939) Collection API: property.name ignored
when creating collections
Alexander S. created SOLR-11939:
-----------------------------------
Summary: Collection API: property.name ignored when creating collections
Key: SOLR-11939
URL: https://issues.apache.org/jira/browse/SOLR-11939
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 5.3.1
Reporter: Alexander S.
Trying to create a collection this way:
{code:java}
/solr/admin/collections?wt=json&action=CREATE&name=carmen-test&replicationFactor=1&numShards=4&shards=shard1,shard2,shard3,shard4&collection.configName=carmen&router.name=compositeId&property.name=carmen_test{code}
This appears in the log:
{code:java}
OverseerCollectionProcessor.processMessage : create , {
"name":"carmen-test",
"fromApi":"true",
"replicationFactor":"1",
"collection.configName":"carmen",
"numShards":"4",
"shards":"shard1,shard2,shard3,shard4",
"stateFormat":"2",
"property.name":"carmen_test",
"router.name":"compositeId",
"operation":"create"}{code}
But the resulting core name is *carmen-test_shard1_replica1* matching "collection name" + sharn name + replica number.
How can I set a custom core name when creating a collection?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org