On 2/19/26 14:25, Gus Heck wrote:
As for the Solr case, can you back up and identify where your repeated
attributes are meant to be used ... you say "handler" which is defined in
solr config (which doesn't have a JSON option)
Specifically which API are you trying to interact with?
It appears to only have the JSON option now:
https://solr.apache.org/guide/solr/latest/configuration-guide/config-api.html#how-to-map-solrconfig-xml-properties-to-json
Specifically for modifying a request handler:
https://solr.apache.org/guide/solr/latest/configuration-guide/config-api.html#basic-commands-for-components
-- there's a bunch of things in the XML that above "how to map to JSON"
explanation does not mention.
Such as
```
<str name="facet.field">subject</str>
<str name="facet.field">country</str>
<str name="facet.field">state</str>
<str name="facet.field">county</str>
<str name="facet.field">community</str>
<str name="facet.field">decade</str>
```
-- I know that Solr will accept JSON with duplicate keys, what I don't
know is how the API endpoint is coded: this
```
"facet.field" : "subject",
"facet.field" : "country",
...
```
or this:
```
"facet.field" : ["subject", "country", ... ]
```
Dima