curl --request POST \
--url https://{FUSION HOST}/api/collections/{collection}/schema/fieldTypes \
--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>"
}'
Adds a new field type to a given collection.
curl --request POST \
--url https://{FUSION HOST}/api/collections/{collection}/schema/fieldTypes \
--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>"
}'
Collection ID.
Field type configuration.
The body is of type object
.
Was this page helpful?