cURL
curl --request POST \ --url https://{FUSION HOST}/api/collections/{collection}/schema/fields \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "type": "<string>", "indexed": true, "stored": true, "multiValued": true, "required": true, "docValues": true, "omitNorms": true, "omitPositions": true, "omitTermFreqAndPositions": true, "termVectors": true, "termPositions": true, "termOffsets": true, "copyDests": [ "<string>" ], "copySources": [ "<string>" ], "numDocs": 123, "default": "<string>" }'
Adds a field to a given collection.
Collection ID.
Field configuration.
Was this page helpful?