Updating Schemas and Managing Collections in Typesense
TLDR Davide asked about updating schemas without reloading data, Jason recommended using aliases to point to timestamped collections and dropping old collections after an update.
May 19, 2021 (33 months ago)
In the meantime, I'd recommend using aliases (similar to symlinks in linux) to point to a timestamped collection and using that alias for searches. When you need to update the schema, you'd create a new collection with the latest timestamp in its name, index the data, and then finally switch the alias to point to the new collection.
Indexed 3015 threads (79% resolved)
Editing Schema of an Existing Collection in Typesense
clem inquired about adding a new attribute in Typesense collection. CaptainCodeman suggested aliasing, while Jason recommended auto-schema detection, with a future plan to support schema changes. Brandon asked about updates on the feature.
Setting Search Field to `Facet=True` in Catalog Quickly
John inquired about updating a search field setting. Jason suggested creating a new collection with an updated schema and utilizing a collection alias to mitigate downtime.
Updating Collection Schemas in Databases
Chris wanted to know about updating collection schemas. James and Jason provided insights and mentioned an upcoming solution for in-place schema changes.