Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Yashveer Rana pointed this out in the ref guide comments...
- Collection CREATE is documented to support "property.name=value" (where 'name' and 'property' are italics placeholders for user supplied key=val) as "Set core property name to value. See core.properties file contents."
- The docs for core.properties include a list of supported property values, including "name" (literal) as "The name of the SolrCore. You'll use this name to reference the SolrCore when running commands with the CoreAdminHandler."
From these docs, it's reasonable to assume that using a URL like this...
...should cause "my_collection" to be created, with the core name used for every replica being "my_corename" ... but that doesn't happen. instead the replicas get core names like "my_collection_shard1_replica1"
This is either a bug, or (my suspicion) it's intentional that the user specific core name is not being used – if it's intentional, then the Collection CREATE command should fail with a clear error if a user does try to use "property.name" rather then silently ignoring it and the Collection CREATE docs should be updated to make it clear that "name" is an exception to the general property.foo -> foo in core.properties support.