Managing Synonyms in Collection Updates
TLDR Jon sought the best practice for persisting synonyms with new alias collection updates. Jason suggested re-uploading synonyms with each update, gave an insight into future plans of shared synonym lists across collections and recommended creating a GitHub issue.
2
1
1
Jul 14, 2022 (15 months ago)
Jon
02:22 PMJason
03:51 PMJason
03:51 PMRebecca
03:53 PMJason
03:55 PMJon
03:56 PMJason
03:57 PMJon
03:57 PM1
Jon
06:44 PMclient.collections('products').synonyms.upsert('smart-phone-synonyms', synonym)
Jason
06:45 PM1
Jon
06:45 PMJon
06:47 PMJason
06:48 PM2
Jul 15, 2022 (15 months ago)
Doug
03:13 PM"actions": ["collections:*"]
would do it but that didn't seem to work. Is it a separate action?
Jason
04:43 PMDoug
04:48 PMOct 05, 2022 (12 months ago)
Jon
07:56 PMJason
07:57 PMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Authorization Issues and Version Update Queries
gab was having authorization issues with multisearch but Jason advised using the collection name instead of the alias when creating the key. gab also queried about updating the cloud cluster to a later version.
Best Way to Store Synonyms in Collection
Jeremy asked how to store synonyms in a collection. Jason advised creating a new field with values for efficient indexing.
Zero Downtime with Aliases, Synonyms, and Overrides
em1nos asked about zero downtime with aliases, synonyms, and overrides. Jason suggested cloning the collection, making schema changes, syncing data, and updating the alias.
Guide on Updating Collections in Application Development
Ajeet requested guidance on updating collections for an application, citing issues like lack of schema validation. Jason suggested using regex for field restriction and confirmed collection alias functionality. CaptainCodeman shared a plan to use version numbers for collections avoiding delays.
On Aliasing Collections with Same Names
Aljosa suggested allowing an alias to have the same name as a collection. Jason explained the technical limitations for such a feature and future plans on alias functionality.