Displaying Preview of Variations in Typesense Results
TLDR John asks how to display previews of product variations with deduplication. Jason recommends using
Apr 28, 2023 (5 months ago)
New to typesense, so my apologies if my question seems elementary.
Our ecomm store has quite a few products that have variations (sizes, colors, etc.). When using deduplication to reduce the search result to only display 1 of the variations.
Is it possible to efficiently display some type of preview of the variations of that item that are not shown (example – image thumbnail, or icon depicting the color)? If so, how?
group_bysearch parameter to return say X items per group (using the
group_limitparameter). Then in the UI, you can display the first item in the group to the user with product title, etc and then use just the image url attribute from the other records within the group, to render a small thumbnail for each
Indexed 2776 threads (79% resolved)
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.
Grouping Product Variants in Search Parameters
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.
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.