Using Distinct Filter without Grouping in Event Ticketing System
TLDR Michael sought a way to use a distinct filter without grouping in their event ticketing system. Kishore Nallan suggested a yet-to-be-released join-like feature.
1
Jul 06, 2023 (3 months ago)
Michael
01:23 AMKishore Nallan
01:54 AMgroup_limit: 1
Michael
02:13 AMMichael
02:13 AMMichael
02:17 AMe.g. "Taylor Swift Tour" is the event, and then "New York Show", "Sydney Show"
I want users to be able to search for the session, but return the event and session together.. also linked to their geography...
e.g. If the user lives in New York and searches Taylor Swift - they will get Taylor Swift Tour - New York, but if they search Taylor Swift Sydney, the sort naturally brings the New York to the top
In the search, I only ever want to return one "Taylor Swift Tour" event at a time
Michael
02:19 AMMichael
02:20 AMMichael
02:21 AMMichael
02:21 AMMichael
02:22 AMMichael
02:22 AMKishore Nallan
02:48 AM1
Michael
02:51 AMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
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.
Performance Characteristics of Filtering Search Results
Oskar queries the performance difference in filtering search results. Jason clarifies how filters work and provides performance improvement suggestions like increasing vCPUs and sharding the collection. Kishore Nallan explains filter IDs and document ID matching. The thread concludes with discussions on performance tradeoffs in filter implementation.
Multiple Filters and JSON Requests in Typesense
Manish asked about multiple filter_by arguments, JSON input, and using multisearch. Jason offered typesense documentation links, examples, and how to use JSON formatted requests with multisearch. Ed shared a similar use case.
Grouping Multiple Collections for Federated Search
Kyle wanted to use federated search to group results from multiple collections. He was confused about how to selectively show tags in search context. Jason explained a way to achieve this by setting one filter for each tag and querying dynamically.
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.