Thanks Shawn. I thought it was possible to create new properties. What is the best approact to create an arbitrary property in SolrCloud for an existing collection. I saw is possible to create properties when createing a collection but is it possible to create one once the collection is already created?
Regards, Sergio On Mon, 19 Dec 2022 at 20:12, Shawn Heisey <apa...@elyograg.org> wrote: > > 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 >