Filtering Items with Low, Mid, and High Labels
TLDR Jameshwart needed assistance with filtering using Low, Mid, and High labels. Kishore Nallan provided an example and clarified that actual range of numbers should be used for filtering.
May 09, 2023 (7 months ago)
Kishore Nallan02:02 AM
Kishore Nallan02:31 AM
Can you try the above and see?
Kishore Nallan02:47 AM
Kishore Nallan02:50 AM
price:>=100 && price<=150?
Kishore Nallan03:20 AM
Indexed 3015 threads (79% resolved)
Setting dynamic range faceting in Typesense
Jacob requested dynamic range faceting in Typesense, and explanation for fetching max/min values. Kishore Nallan clarified pricing bucket sizes were user dependent and explained the stats return as part of facet results.
Resolving Issue with Empty Arrays in the Filter
Rushil faced an issue with a filter not dismissing empty arrays. Kishore Nallan assisted them. The resolution was to input  not [""] for an empty array.
Faceting issue with Products Collections in Typesense
Carl was unable to facet on a string array. Kishore Nallan and Jason advised ensuring facet counts were being returned and offered to assist in troubleshooting. Issue resolved upon Carl realizing no data was saved in the database.
Implementing Histogram Slider with Typesense
em1nos asked about implementing a histogram slider with typesense. James suggested using facets and group by feature. Jason recommended creating a new field for price buckets to achieve the desired output using facet_counts.
Issue with Join Operation in `CustomerProductPrices` Collection
Nikhil had concerns about adding product prices before the corresponding product and reported a crash when using a filter clause. Harpreet provided a workaround for fetching related products and also suggested a reason for the need of product presence enforcement. The crash could not be reproduced at Harpreet's end.