Field set as "multiValued": false returns as array

2024-12-09 Thread Kelly Martin
I create a new collection then issue the following rest requests { "add-field-type": [ {"name": "newInt", "class": "solr.IntPointField", "multiValued": false} ] } { "add-field": [ {"name": "ANNOUNCEMENT_ID", "type": "newInt", "multiValued": false} ] } I then get the field back looking like this

Re: Field set as "multiValued": false returns as array

2024-12-09 Thread Kelly Martin
Thanks Chris. Your clue about the field names with different cases led to my solution. The json serializer options in my project weren't sending the data in the proper case and therefore my configured field types were not being adhered to.