The documentation on how to update an existing class to add a new property is clear in Weaviate documentation: https://weaviate.io/developers/weaviate/api/rest/schema#add-a-property
However, what if I wanted to remove a property from an existing class. So for example, I have an existing Product class below, and I want to remove the description
property - is this possible?
{
"class": "Product",
"vectorizer": "text2vec-transformers",
"properties": [
{
"name": "product_id",
"description": "Reference ID of the product",
"dataType": ["int"],
"moduleConfig": {
"text2vec-transformers": {
"skip": true
}
}
},
{
"name": "name",
"description": "Display name of product",
"dataType": ["string"],
"moduleConfig": {
"text2vec-transformers": {
"skip": false,
"vectorizePropertyName": true
}
}
},
{
"name": "description",
"description": "The description of the product",
"dataType": ["string"],
"moduleConfig": {
"text2vec-transformers": {
"skip": false,
"vectorizePropertyName": true
}
}
}
]
}
and we already have existing data so it will be great if I will not go in removing the class and recreating it.