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)
Jameshwart
01:28 AMKishore Nallan
02:02 AMJameshwart
02:02 AMKishore Nallan
02:31 AMCan you try the above and see?
Jameshwart
02:33 AMJameshwart
02:33 AMJameshwart
02:41 AMKishore Nallan
02:47 AMJameshwart
02:47 AMJameshwart
02:48 AMJameshwart
02:48 AMJameshwart
02:49 AMKishore Nallan
02:50 AMJameshwart
02:51 AMprice:>=100 && price<=150
?Kishore Nallan
03:20 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.