Updating Collection Schemas in Databases
TLDR Chris wanted to know about updating collection schemas. James and Jason provided insights and mentioned an upcoming solution for in-place schema changes.
Powered by Struct AI
3
2
1
1
3
28mo
Sep 19, 2021 (28 months ago)
Chris
Chris
04:40 PMIs it possible to update a collections schema? Or do you have to drop the whole collection and recreate it?
James
James
04:59 PMI believe the going process is to create an alias to the collection(s) and then create a new collection that has the schema changes and repoint the alias to the new collection.
1
1
Jason
Jason
05:39 PMWhat James said.
We’ll be introducing a way to do in-place schema changes in the release after the upcoming one
We’ll be introducing a way to do in-place schema changes in the release after the upcoming one
3
2
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 3005 threads (79% resolved)
Similar Threads
Update on Collection's Schema Updating Feature
Sean inquired about updates on the collection's schema with-alias-workaround feature. Kishore Nallan responded it is being tested internally.
2
21mo
Updating Schemas and Managing Collections in Typesense
Davide asked about updating schemas without reloading data, Jason recommended using aliases to point to timestamped collections and dropping old collections after an update.
6
33mo
Solved
Updating Collection Schema Outside 'Fields' Field
Michal asked about updating the collection schema outside 'fields' field. Kishore Nallan confirmed it wasn't possible, recommended creating a new collection and using 'alias'.
6
4mo
Solved