Faceting and Filtering Issue in Typesense
TLDR Hauke faced issues with facets filtering in Typesense. Kishore Nallan recommended using the instantsearch.js JS library or the multi_search endpoint for independent search queries.
Aug 15, 2023 (1 month ago)
Hauke
10:54 AMWhen filtering by a faceted field, I still want to be able to see the other facet options from this field. Filters from other fields should still apply. So for example:
I have a collection of books with a
year
and author
field. Faceting returns e.g. [2020,2021,2022]
for the year. Is there a way to select books from 2020 and still have the other facet options available in the response? When I select 2020 I still want the author facets to be filtered by that query.Kishore Nallan
10:56 AMWe've implemented this, and I can share a build with you tomorrow.
Hauke
10:58 AMyear:2020
the facets in the response only include this year. I want the user to be able to see the other options as wellKishore Nallan
11:05 AMHauke
11:11 AMHauke
11:13 AMKishore Nallan
11:22 AMKishore Nallan
11:22 AMHauke
12:18 PMHauke
12:19 PMKishore Nallan
12:20 PMHauke
12:27 PMTypesense
Indexed 2776 threads (79% resolved)
Similar Threads
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.
Multiple Filters and JSON Requests in Typesense
Manish asked about multiple filter_by arguments, JSON input, and using multisearch. Jason offered typesense documentation links, examples, and how to use JSON formatted requests with multisearch. Ed shared a similar use case.
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.
Fixing Multiple Document Retrieval in Typesense
Phil needed an efficient way to retrieve multiple documents by id. Kishore Nallan proposed a solution available in a pre-release build. After some bug fixing regarding id matching by Jason and Kishore Nallan, Phil successfully tested the solution.
Moving from Algolia to Typesense: Questions and Answers
Juan sought advice from Kishore Nallan about moving from Algolia to Typesense, handling MultiSearch, setting parameters, checking imported documents, and a specific syntax query.