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

"announcemenT_ID":[1]

My expectation is it would return as a single integer value.

Can anyone tell me what his is happening?

I am running SOLR version 9.7.0

Thanks

Reply via email to