PUT
/
collections
/
{collection}
/
schema
/
fields
/
{field}
Update a collection field
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>"
}'

Path Parameters

collection
string
required

Collection ID.

field
string
required

Field name.

Body

application/json

Field configuration.

name
string
type
string
indexed
boolean
stored
boolean
multiValued
boolean
required
boolean
docValues
boolean
omitNorms
boolean
omitPositions
boolean
omitTermFreqAndPositions
boolean
termVectors
boolean
termPositions
boolean
termOffsets
boolean
copyDests
string[]
copySources
string[]
numDocs
integer
default
string