[
https://issues.apache.org/jira/browse/SOLR-18129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-18129:
----------------------------------
Labels: pull-request-available (was: )
> update-requesthandler API broken
> --------------------------------
>
> Key: SOLR-18129
> URL: https://issues.apache.org/jira/browse/SOLR-18129
> Project: Solr
> Issue Type: Bug
> Affects Versions: 9.10.1
> Reporter: dmitri maziuk
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Request handlers can have repeated values e.g. `facet.field` in the
> "defaults" section. I only tested `update-requesthandler` API endpoint with
> defaults/facet.field, but the problem may be present in other places as well.
> POST'ing
> "defaults" : \{
> "facet.field" : "subject",
> "facet.field" : "country",
> ...
> }
> returns a 200, but only the first `facet.field` is present in the updated
> handler (as returned by `/${corename}/config`)
> POST'ing
> "defaults" : \{
> "facet.field" : ["subject","country", ...]
> ...
> }
> also returns a 200, but no `facet.field`s are present in the updated handler.
> In addition, the syntax is not documented in the manual: whether is should
> accept the "programmer's" JSON (2nd variant) or "Solr JSON" with duplicate
> keys (1st variant).
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]