curl --request PUT \
--url https://{FUSION HOST}/api/collections/{collection}/schema/fields/{field} \
--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>"
}'
Updates a field from a given collection.
curl --request PUT \
--url https://{FUSION HOST}/api/collections/{collection}/schema/fields/{field} \
--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>"
}'
Field configuration.
The body is of type object
.
Was this page helpful?