[
https://issues.apache.org/jira/browse/SOLR-12769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951455#comment-16951455
]
Cassandra Targett commented on SOLR-12769:
------------------------------------------
The patch fixes the docs, but the apispec is also wrong (see
{{./solr/solrj/src/resources/core.config.Params.Commands.json}}). We should fix
that too.
> Incorrect documentation for Request Parameter API names (unset/delete)
> -----------------------------------------------------------------------
>
> Key: SOLR-12769
> URL: https://issues.apache.org/jira/browse/SOLR-12769
> Project: Solr
> Issue Type: Bug
> Components: documentation
> Affects Versions: 7.4
> Reporter: Alexandre Rafalovitch
> Assignee: Munendra S N
> Priority: Minor
> Attachments: SOLR-12769.patch
>
>
> The [documentation for the Request Parameter
> APIhttps://lucene.apache.org/solr/guide/7_4/request-parameters-api.html#setting-request-parameters]
> names operations as set/update/unset.
> So does the introspection.
> However, the code for the SolrConfigHandler#handleParams uses
> set/update/delete. So, the *unset* is not a correct description. The manual
> testing also shows only *delete* command working.
> Furthermore, the format of the delete command is different from others
> (array, not map), so this should be documented as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]