On 12/19/22 09:20, Sergio García Maroto wrote:
I am testing different options but never gets the variable created. curl -X -POST -H 'Content-type:application/json' -d '{"set-user-property": {"save.fields": "true"}}' http://dv06t02qslrc01.idev.spencerstuart.com:8983/solr/person/config root@server1:/home/deployadm# curl -X -POST -H 'Content-type:application/json' -d '{"set-user-property": {"save.fields": "true"}}' http://server1:8983/solr/person/config/overlay { "responseHeader":{ "status":0, "QTime":0}, "overlay":{"znodeVersion":-1}}
I'll note here that the first request is sent to dv06t02qslrc01.idev.spencerstuart.com and the second one is going to server1. If those are in face the same server, then no worries.
You can't set arbitrary properties with that API. It only accepts a very specific list of properties, and save.fields does not appear to be one of them.
https://solr.apache.org/guide/8_11/config-api.html#commands-for-common-properties Thanks, Shawn