Deduplicating Usernames in a Comments Collection
TLDR Todd had concerns about searching duplicated usernames in comments. Jason suggested facet_query, and SamHendley recommended group_by. Todd appreciated the help.
1
Dec 02, 2022 (13 months ago)
Todd
07:07 PMIs there a way to only get back distinct usernames, or should we just have a separate collection of user information we search on instead?
Jason
07:15 PMTodd
07:17 PMJason
07:18 PMTodd
07:18 PMJason
07:18 PMJason
07:18 PMTodd
07:19 PM1
SamHendley
07:47 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.
Updating Collections Strategy and Faceting New Field
Nithin asked about strategies for updating collections and faceting new fields. Kishore Nallan suggested creating another collection, indexing in the background and using aliases to switch live traffic over, and shared details about the upcoming release.
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.
Troubleshooting Typesense API Analytics Query Suggestions
Md was confused about implementing Typesense's Analytics Query Suggestions and experienced issues with collections returning no hits. Assistance from Kishore Nallan eventually led to the identification that analytics had to be enabled. They also discussed tracking duplicate and empty queries, resulting in Md creating a Github issue.
Grouping and Faceting Denormalized Data
Phillip asked about grouping and faceting denormalized data. Viji provided a specific example for clarity. Jason confirmed Phillip's plan and suggested a different approach for consideration. Phillip acknowledged the advice.