PUT
/
collections
/
{collection}
/
schema
/
fieldTypes
/
{fieldTypeId}
Update a field type
curl --request PUT \
  --url https://{FUSION HOST}/api/collections/{collection}/schema/fieldTypes/{fieldTypeId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "analyzer": {
    "tokenizer": {
      "class": "<string>"
    },
    "filters": [
      {
        "class": "<string>"
      }
    ],
    "type": "<string>",
    "class": "<string>"
  },
  "indexAnalyzer": {
    "tokenizer": {
      "class": "<string>"
    },
    "filters": [
      {
        "class": "<string>"
      }
    ],
    "type": "<string>",
    "class": "<string>"
  },
  "queryAnalyzer": {
    "tokenizer": {
      "class": "<string>"
    },
    "filters": [
      {
        "class": "<string>"
      }
    ],
    "type": "<string>",
    "class": "<string>"
  },
  "indexed": true,
  "stored": true,
  "multiValued": true,
  "positionIncrementGap": 123,
  "class": "<string>"
}'

Path Parameters

collection
string
required

Collection ID.

fieldTypeId
string
required

Field type ID.

Body

application/json

Field type configuration.

The body is of type object.