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>"
}'
Updates a field type from a given collection.
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>"
}'
Field type configuration.
The body is of type object
.
Was this page helpful?