Typesense Filter Ranking and User-Specific Filters
TLDR Pramit inquires about filter ranking in Typesense. Kishore Nallan explains filters are ranked by count, with no secondary sorting option. However, secondary sorting is on their roadmap, and client-side sorting is suggested for now.
Jun 06, 2023 (6 months ago)
Kishore Nallan07:52 AM
Suppose, Facet A having filters A1, A2, A3, A4
I want A3 should always come on top
Kishore Nallan07:57 AM
Kishore Nallan07:59 AM
Jun 07, 2023 (6 months ago)
If multiple filters have the same count, is there any second argument or way for us with whom we can sort the results?
Our use case is we want to control/manage the order of filters based on the trends/popularity.
If there is no way to achieve this through typesense UI, Can you guide us whether something like this is possible where we can show the ordered facets from our Server and then just filter the results on clicking them through typesense?
Jun 08, 2023 (6 months ago)
Jun 09, 2023 (6 months ago)
Kishore Nallan02:30 AM
Indexed 3005 threads (79% resolved)
Resolve Facets and Sorting Issues with Typesense
Ethan needed assistance with getting all facet values and sorting results by date using Typesense. Jason provided guidance on how to use Typesense properties to accomplish these tasks, and resolved issues related to specific use-cases provided by Ethan and Rushil.
Typesense Facet Sorting When Counts Are Equal
Pedro inquired about sorting facets when counts are the same. Kishore Nallan explained it uses internal ID and directed to an existing GitHub issue discussing alphabetical ordering.
Query on Facet Values, `max_facet_values` , and `facet_query_num_typos`.
Jan asked about sorting facet values, managing `max_facet_values` and issues with `facet_query_num_typos`. Jason clarified the details on instantsearch widget handling of `max_facet_values` and identified a bug on the Typesense Server. Jason suggested a solution to the sorting issue.
Facet Groups Filtering with Typesense and Instantsearch.js
Cristopher was having issues with faceting on Typesense and sought advice. Kishore Nallan and Jason provided recommendations and resources. Cristopher finally resolved the issue by switching to instantsearch.js.
Typesense Facet Query Issue and Resolution
Stefan wanted to have typesense return count: 0 for filtered out facets, which was not supported. They shared a workaround using a server data call. The solution involved adding "facets: [this.filterConfig.attribute]," for the server adapter to work. Kishore Nallan acknowledged the resolution.