Hi,

I have an issue for creating a configset with the V2 API using a configset
property.
Indeed if I enter the command :
curl -X POST -H 'Content-type: application/json' -d '{ "create":{"name":
"Test", "baseConfigSet": "myConfigSet","configSetProp.immutable":
"false"}}'  http://localhost:8983/api/cluster/configs?omitHeader=true
(same one than in the documentation :
https://lucene.apache.org/solr/guide/7_5/configsets-api.html)
It fails with the error :
"errorMessages":["Unknown field 'configSetProp.immutable' in object : {\n
\"name\":\"Test\",\n  \"baseConfigSet\":\"myConfigSet\",\n
\"configSetProp.immutable\":\"false\"}"]}],
    "msg":"Error in command payload",
    "code":400}}

If I enter the same command still with the V2 API without the
configSetProp.immutable property it succeeds.

With the V1 API, no problem with or without the presence of the configset
property.

The tests were done with Solr 7.4 and Solr 7.5.

Did I miss something with the configset property usage ?

Thanks,
Best regards,
Olivier

Reply via email to