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.
Jun 24, 2021 (31 months ago)
Jun 25, 2021 (31 months ago)
No, 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.
Indexed 3015 threads (79% resolved)
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.