Range Filtering and Faceting Discussion
TLDR 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.
2
Oct 04, 2021 (26 months ago)
Phil
11:25 PMJason
11:26 PMJason
11:27 PMJason
11:28 PMPhil
11:32 PMJason
11:34 PM> You must declare each attribute you use as a filter in attributesForFaceting, except for _tags, which we automatically consider as attributesForFaceting.
Jason
11:34 PMPhil
11:49 PMJason
11:51 PMPhil
11:51 PMPhil
11:51 PMPhil
11:51 PMJason
11:52 PMPhil
11:53 PMPhil
11:54 PMJason
11:54 PMJason
11:55 PMJason
11:56 PMPhil
11:59 PMOct 05, 2021 (26 months ago)
Phil
12:00 AMJason
12:02 AMJason
12:07 AMJason
12:09 AMJason
12:10 AMPhil
12:11 AMPhil
12:11 AMPhil
12:11 AMJason
12:12 AMJason
12:12 AMJason
12:13 AMPhil
12:49 AMPhil
12:49 AMPhil
12:50 AMPhil
12:50 AM1
Jason
12:51 AMJason
12:51 AMTrying to find you an example
Phil
12:53 AMJason
12:54 AMPhil
12:54 AMJason
12:55 AMJason
12:59 AMCan't seem to find an example for this. But for some reason I thought you could call the algolia helper functions within a custom widget... I thought these helper functions are what set what fields to set as a facet vs not in the search query
Jason
01:00 AMif you're able to override it and not set the numerical field as a facet, then it won't get sent over to the adapter / Typesense
Jason
01:02 AMgetSearchParameters
here: https://www.algolia.com/doc/guides/building-search-ui/widgets/create-your-own-widgets/react/#usagePhil
05:10 PMJason
05:10 PMPhil
05:10 PM1
Typesense
Indexed 2786 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.
Querying with Typesense-Js and Handling Null Values
michtio was querying using typesense-js and receiving fewer results than expected. Kishore Nallan suggested using different query parameters. Further discussion led to the handling of 'null' values and filtering syntax in the search queries. The thread ended with Jason offering migration support from Algolia to Typesense.
Troubleshooting Typesense Setup and Understanding Facets and Keywords
Demitri encountered errors when exploring Typesense for the first time. Jason guided them through troubleshooting and discussed facets, keyword settings, and widget configurations. Helin shared a Python demo app and its source code to help Demitri with their project.
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 Products Filtering Issue with Mixed AND+OR Filtering
Dmytro faced issues in implementing mixed AND+OR filtering for product filtering on Typesense using `'typesense-instantsearch-adapter'` despite using several approaches and facets. Jason suggested increasing the number of facets fetched and trying a different server version but the issue remains.