Typesense's Support for Facets with Range and Pagination
TLDR Stelios inquires about Typesense's handling of facets with range and pagination. Jason & Kishore Nallan clarify its current limitations and future developments.
1
Oct 12, 2022 (14 months ago)
Stelios
10:04 PMTypesense looks like a very interesting project, grats to the team here!
One small question from my side: Does typesense support facets with range?
For example counters for documents with posted date (yesterday, three days ago, last week, all time).
Thanks in advance,
Stelios
Jason
10:15 PMTypesense does not support facets with ranges like you describe, for timestamps. But we’re working on adding support ranges with numbers: https://github.com/typesense/typesense/issues/386
Stelios
10:19 PMStelios
10:21 PMStelios
10:22 PMJason
10:23 PM1
Oct 13, 2022 (14 months ago)
Kishore Nallan
01:26 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Dynamic Facets in Typesense Cloud Version and Optimizing Performance
Andrew asked about dynamic facets in Typesense. Jason gave in-depth explanations and confirmed that Typesense API already supports dynamic facets. Alex inquired on improving performance and SSR support, and Jason suggested server-side rendering and caching for optimized performance.
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.
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.