Understanding Filtering, Faceting and Their Differences
TLDR Gabe inquired about using a boolean field for filtering, sparking a detailed discussion about the distinctions between filtering and faceting with Jason providing a comprehensive explanation.
1
1
Jun 24, 2021 (31 months ago)
Gabe
05:34 PMJason
05:35 PMGabe
05:42 PMJun 25, 2021 (31 months ago)
sonu
06:06 PMGabe
06:08 PMGabe
06:09 PMGabe
06:10 PM1
Jason
06:14 PMNo, you can filter without setting a field as a facet, at least in Typesense. In Algolia, IIRC they require all fields you filter by to also be set as facets.
And you can also facet without using filters.
Jason
06:15 PMJason
06:17 PMGabe
07:56 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.
Faceting on All Fields in Algolia
Dipankar inquired about faceting on all fields in Algolia, paralleling a need Viji also had. Kishore Nallan confirmed this feature isn't currently available and requested an issue be created on Github, to which Dipankar complied.
Understanding Multisearch in Typesense
Pantelis needed clarity on multisearch behavior in typesense. Jason explained it's used to get consistent facets for all filters.
Discrepancy in Result Counts for Facet_by and Filter_by
Ivan asked why result counts varied between facet_by and filter_by. Kishore Nallan suggested checking for multiple fields with the same string, which Ivan confirmed was the 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.