Filtering Ecommerce Search Queries by Store Locations with Available Stock
TLDR Sean wanted to filter search queries by store locations with available stock; Kishore Nallan suggested using an array of store locations and mentioned an upcoming join feature.
1
Apr 28, 2023 (5 months ago)
Sean
08:16 AMI'm assuming we could add a field which contains an array of location ID's and stock on hand values for each product? I had a browse of the docs and didn't see anything which resembled what I'd like to do. Just wondering if that is possible and if so, what the best practise is to structure the schema?
Kishore Nallan
09:01 AMSean
09:03 AM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Ecommerce Search Engine with User-added Products
Max seeks advice on handling a boolean field showing if a product is already in a user's cart for an ecommerce search engine. Kishore Nallan suggests waiting for the future "join" feature to allow merging separate indexes at query time.
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.
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.