You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Erick Erickson (Jira)" <ji...@apache.org> on 2020/11/05 16:16:00 UTC
[jira] [Created] (SOLR-14986) Restrict the properties possible to
define with "property.name=value" when creating a collection
Erick Erickson created SOLR-14986:
-------------------------------------
Summary: Restrict the properties possible to define with "property.name=value" when creating a collection
Key: SOLR-14986
URL: https://issues.apache.org/jira/browse/SOLR-14986
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Erick Erickson
Assignee: Erick Erickson
This came to light when I was looking at two user-list questions where people try to manually define core.properties to define _replicas_ in SolrCloud. There are two related issues:
1> You can do things like "action=CREATE&name=eoe&property.collection=blivet" which results in an opaque error about "could not create replica....." I propose we return a better error here like "property.collection should not be specified when creating a collection". What do people think about the rest of the auto-created properties on collection creation?
coreNodeName
collection.configName
name
numShards
shard
collection
replicaType
"name" seems to be OK to change, although i don't see anyplace anyone can actually see it afterwards....
2> Change the ref guide to steer people away from attempting to manually create a core.properties file to define cores/replicas in SolrCloud. There's no warning on the "defining-core-properties.adoc" for instance. Additionally there should be some kind of message on the collections API documentation about not trying to set the properties in <1> on the CREATE command.
<2> used to actually work (apparently) with legacyCloud...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org