Promoting Curated Products Across Pages with Filtering
TLDR Stefan wants to promote 1-2 curated products per page while filtering user facets. Kishore Nallan suggests using pinned hits and confirms their non-duplication in results. Stefan considers a second request to show the best matching product.
1
Mar 14, 2023 (9 months ago)
Stefan
02:45 PMI think curation doesn't support this use case right now. I guess I will have send a second query and pull the result out like that?
Kishore Nallan
02:46 PMStefan
02:47 PMKishore Nallan
02:48 PM> but you only want to have 1 or 2 curated results per result page (chosen randomly)
The random part is the one that is not possible right now? Otherwise if you know your pagination order, you can still choose results at positions across pages.
Stefan
02:50 PMCould it then happen that let's say product X is the best token match, but I randomly assigned it position 100, will it be shown twice or on page 10?
Kishore Nallan
02:51 PMKishore Nallan
02:52 PMStefan
02:56 PMuser searches for "ITEM XX", but it's pinned at pos 20
then "ITEM XX" would be shown at position 20 and before it would be:
"ITEM XA", "ITEM XB" etc.., correct?
Kishore Nallan
02:57 PMStefan
03:01 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Implementing Result Pinning in Typesense Product
Sai questioned about implementing result pinning in Typesense for a product. Kishore Nallan provided several resources and explanations to assist, ultimately suggesting the use of 'sort_by' to promote groups of objects based on an attribute.
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.
Resolving Typesense Result Issue in Document Collection Queries
Mike was encountering errors when searching for specific query in their Typesense document collection. Jason suggested it may be due to the `drop_tokens_threshold` setting. There was a misunderstanding but after further explanation from Jason, Mike understood and decided to continue the conversation via email.
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.
Implementation and Optimization of 'Similar Products' Feature
Stefan is considering using "curation" for pre-calculating similar products. Kishore Nallan suggests using preset API, but Stefan raised an issue with sorting based on non-stored values. The issue remains open for resolution.