User-Specific Tagging and Filtering in UI
TLDR 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.
1
Aug 24, 2021 (29 months ago)
bnfd
12:04 AMJason
12:22 AMbnfd
12:26 AMbnfd
12:28 AMJason
12:29 AMLet me know if that helps...
Jason
12:31 AMJason
12:31 AMbnfd
12:33 AMbnfd
12:33 AMbnfd
12:34 AMJason
12:36 AMJason
12:37 AMbnfd
12:40 AMbnfd
12:42 AMJason
12:45 AMJason
12:46 AMbnfd
12:46 AMbnfd
12:46 AMJason
12:47 AM{
description: "...",
userids_tagged_comedy: [1, 2, 3, 4],
userids_tagged_thriller: [1, 2, 10, 42],
}
Jason
12:48 AMuserids_tagged_comedy
bnfd
12:51 AMJason
12:51 AMbnfd
12:51 AMJason
12:59 AM// Collection name: movies_user_1
[
{
id: "movie_100",
description: "...",
tags: ['comedy', 'thriller']
}
and so on.
So when a user adds something to a list, you'd only add to their specific collection.
Then when searching, you'd use multi search / federated search to search / filter both the main movies collection and the user's own movies collection.
Jason
01:00 AMbnfd
01:01 AMJason
01:01 AMJason
01:02 AMbnfd
01:05 AMbnfd
01:06 AMJason
01:09 AMCorrect.
Jason
01:09 AMIt's one filter / refinementList with all of the user's tags right?
bnfd
01:09 AMJason
01:10 AMSo something like this: https://github.com/typesense/showcase-ecommerce-store/blob/5cf0597807da2429af00a73c1c2e69fe6bd3fafb/src/app.js#L116-L124
but set the attribute to "tags"
bnfd
01:13 AMbnfd
02:44 PMJason
03:17 PMbnfd
03:26 PMJason
03:29 PMJason
03:29 PM1
bnfd
03:29 PMbnfd
03:32 PMbnfd
03:41 PMJason
05:40 PMbnfd
05:44 PMJason
05:59 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Troubleshooting Typesense Setup and Understanding Facets and Keywords
Demitri encountered errors when exploring Typesense for the first time. Jason guided them through troubleshooting and discussed facets, keyword settings, and widget configurations. Helin shared a Python demo app and its source code to help Demitri with their project.
Discussions on Typesense, Collections, and Dynamic Fields
Tugay shares plans to use Typesense for their SaaS platform and asks about collection sizes and sharding. Jason clarifies Typesense's capabilities and shares a beta feature. They discuss using unique collections per customer and new improvements. Kishore Nallan and Gabe comment on threading and data protection respectively.
Fixing Multiple Document Retrieval in Typesense
Phil needed an efficient way to retrieve multiple documents by id. Kishore Nallan proposed a solution available in a pre-release build. After some bug fixing regarding id matching by Jason and Kishore Nallan, Phil successfully tested the solution.
Querying and Indexing Multiple Elements Issues
Krish queried fields with multiple elements, which Kishore Nallan suggested checking `drop_tokens_threshold`. Krish wished to force OR mode for token, but Kishore Nallan admitted the feature was missing. Krish was able to resolve the issue with url encoding.
Understanding and Implementing Typesense Dart Library with Flutter
Alexandro sought help with the Typesense Dart library. Jason explained that the library is in progress, discussed utilizing other HTTP libraries, and provided detailed instructions on utilizing Typesense with Flutter. Alexandro provided feedback on the Typesense UI and expressed interest in creating a tutorial video.