Discussing `additionalSearchParameters` and `group_by` in TypesenseInstantSearchAdapter
TLDR ilia requested advice on manipulating group_by
during runtime. Jason suggested a workaround, but the limitations of Algolia was a problem, resulting in ilia choosing to use the pure Typesense API instead.
1
Jul 10, 2023 (5 months ago)
ilia
01:30 PMadditionalSearchParameters
and group_by
specifically. Is it the only option setting group_by during TypesenseInstantSearchAdapter initialisation?Currently it's a bit messy process to update
group_by
conditionally ( need to updateConfig ). Would be nice to have simpler API to update the value during runtime ( similar to filtering / sorting ). Am I missing anything?Jason
03:56 PMconfigure
widget:distinct: 2
attributeForDistinct: '<fieldToGroupBy>'
Jason
03:57 PMattributeForDistinct
unlike in Typesenseilia
08:13 PM1
Typesense
Indexed 3005 threads (79% resolved)
Similar Threads
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 Sorting Query and Bug Report
michtio is new to Typesense and is querying sorting implementation. Jason shares resources and suggests use of specific adapters. However, michtio shares a bug found when applying a filter on Typesense. Jason asks for a GitHub issue to be opened for the bug.
Range Filtering and Faceting Discussion
Phil asked about the requirements for range filtering, which Jason explained does not always require faceting. Discussion about different possibilities with Algolia and Typesense ensued, resulting in Phil successfully utilizing the 'Configure' widget.