Grouping Product Variants in Search Parameters
TLDR Alessandro was inquiring about selecting a specific product variant when grouping by model. Kishore Nallan clarified that there is no way to set an additional selection criteria.
Jul 22, 2022 (15 months ago)
Alessandro
10:44 AMI'm using
group_by=model
and group_limit=1
params during search to group together variants of a product model, each variant has a specific color, is there a way select which variant to display ?Kishore Nallan
10:46 AMAlessandro
12:37 PMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Including All Individual Documents in a Group in Typesense
Magnus was uncertain how to include all documents within a group in Typesense, and specifically asked about ecommerce product cards. Jason published a new version of Typesense Instantsearch Adapter and advised storing all variant information for a product on each document. Magnus confirmed this as a viable solution.
Displaying Preview of Variations in Typesense Results
John asks how to display previews of product variations with deduplication. Jason recommends using `group_by` and `group_limit` parameters.
Equitable Distribution of Suppliers in Ecommerce Platform
Max has a problem with pagination, distribution, and grouping in an ecommerce use case. Jason suggests using "group_by" but notes that dynamic group sizes are not possible.