some basic questions about collections and removin...
# community-help
w
some basic questions about collections and removing attributes. i’m using typesense rails gem and ruby client. if i were to remove an existing attribute from my model, do i have to recreate the collection to update the schema, and reindex the collection again? What would be the recommended way to handle attribute removal?
f
Dropping fields doesn't require reindexing, you just call out to the update function, mention the field you want dropped like:
Copy code
fields: [
  {
    name: "price",
    drop: true,
  },
]
And if the update operation is successful, then the fields will be dropped automatically