Best Way to Manage User Favorites in a Video App
TLDR Jesse asked about effectively managing user favorite videos in an app. Kishore Nallan suggested using collection joins set to be supported in their next version.
Jul 28, 2023 (2 months ago)
I am wanting to know if storing a large number of strings in an array is bad for an application like this?
Let’s say that I have a video app, and I want the users to be able to favorite videos, then to later be able to search their favorites, would this be the best option?
I was thinking of creating a separate collection for each user with their favorites, but this could be bad as evetime the video is updated (or even deleted), I would have to update it in every user’s collection (if I have 1,000,000 users favorite a video, and the title changes, I would have to update 1,000,000 times - once for each collection).
Kishore Nallan11:53 AM
See here: https://github.com/typesense/typesense/issues/229#issuecomment-1645573572
Indexed 2779 threads (79% resolved)
Ranking Favorite Food Records in Database Search Results
Julian asked for best practices to rank favorite food records in search results. John suggested using `_eval`. Jason recommended adding a `favorited_by_user_ids` array field to each record.
Nested Objects and Arrays in Typesense
Robert seeks advice on managing nested objects in Typesense. Kishore Nallan informs of upcoming support for nested objects and provides a current workaround. Robert indicates interest in tracking this feature. Kishore Nallan provides a link to follow the issue.
User-Specific Tagging and Filtering in UI
bnfd asked for the best way to create user-specific tags available on the UI. Jason suggested using personalized filters and creating a separate collection for each user's movies. The duo clarified the use of 'tags' in schemas and the refinementList widget in instantsearch. They also discussed various approaches to import and search large document collections.