RE: Unable to POST booleans using the Schema API

2024-11-10 Thread Patryk Mazurkiewicz
Hi Carlo, This is an interesting catch, this is the case with all field type parameters. I believe the reason for that is that the schema uses XML as its default format where everything is treated as a string. There are some exceptions though like the default field properties, which are always

Unable to POST booleans using the Schema API

2024-10-30 Thread Carlo Ascani
Hi all, in solr 8.11, I am trying to post booleans using the Schema API, but it looks like I always get strings back. Request 1: curl -X POST -H 'Content-type:application/json' --data-binary '{ "replace-field-type":{ "name":"rpt", "class": "solr.SpatialRecursivePrefixTreeFieldType",