Christos Malliaridis created SOLR-18214:
-------------------------------------------
Summary: Base configset during configset creation is not optional
Key: SOLR-18214
URL: https://issues.apache.org/jira/browse/SOLR-18214
Project: Solr
Issue Type: Bug
Components: configset-api, v2 API
Affects Versions: 10.0
Reporter: Christos Malliaridis
h2. Description
[According to our
documentation|https://solr.apache.org/guide/solr/latest/configuration-guide/configsets-api.html#configsets-create],
when creating a new configset with the v2 APi, the base configset field
{{baseConfigset}} is optional and defaults to {{{}_default{}}}. This raises two
issues:
* When the configset {{_default}} is not available (users are able to remove
and not create it at all), it cannot be used as the default value
* When no {{baseConfigset}} is provided, it defaults to {{null}} and the
request fails, as {{null}} is not allowed
h2. Expected Behavior
The {{baseConfigset}} is truly optional and can be omitted in the request body.
h2. Actual Behavior
The {{baseConfigset}} field is mandatory and cannot be omitted.
h2. Additional Information
Please not that in theory it is possible to create a configset from scratch and
not use a {{baseConfigset}} at all. If the {{baseConfigset}} is omitted and we
set the value to {{_default}} this is no longer possible.
Additionally, when using a {{baseConfigset}} the new configset is not updated
when its {{baseConfigset}} is updated (no linking exists, base configset is
just cloned). This may however be an expected behavior and may require
clarification in documentation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]