#community-help

Adding Curation Rules to Collection Alias in Typesense Cloud

TLDR David inquiries about adding curation rules to a collection alias in Typesense Cloud. Kishore Nallan advised that rules must be backed up and reapplied with each new collection.

Powered by Struct AI
6
12mo
Solved
Join the chat
Oct 29, 2022 (12 months ago)
David
Photo of md5-07c4f1bfa85fc4a2759ba7302f0b86da
David
08:44 AM
How do I add curation rules and overrides etc against a collection alias in Typesense Cloud? Every new deploy I make will create a new collection, point the alias to the new collection, delete the old collection. I need curation rules to persist between builds...
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:28 AM
Yeah, this is a pain point that we want to address in the near future by decoupling curation rules from being to a collection and to exist as independent entities. Currently you need to backup and recreate them for new collections.
David
Photo of md5-07c4f1bfa85fc4a2759ba7302f0b86da
David
11:27 AM
Ok! So I need to fetch the existing rules, and apply them to the new collection? Thanks
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:27 AM
Yes 👍
David
Photo of md5-07c4f1bfa85fc4a2759ba7302f0b86da
David
11:28 AM
Got it. Easy enough :) Thank you for clarifying!
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:28 AM
You're welcome!