Understanding Facet Results Updating in Typesense
TLDR Emile asked about updating facet results in Typesense. Jason clarified that an additional search is required after filtering.
Powered by Struct AI
1
1
4
14mo
Solved
Aug 18, 2022 (14 months ago)
Emile
Emile
09:14 AMHello,
Very beginners question, as it's the first time I work with facets.
When you click on the facet results to filter, we have to do another search (filter_by the element that got clicked) to get the updated facets results ?
Or am I doing it wrong ?
Very beginners question, as it's the first time I work with facets.
When you click on the facet results to filter, we have to do another search (filter_by the element that got clicked) to get the updated facets results ?
Or am I doing it wrong ?
Aug 19, 2022 (14 months ago)
Jason
Jason
05:57 AMThat’s right.
1
05:58
Jason
05:58 AMIf you open the network tab in the dev console for this demo: https://ecommerce-store.typesense.org/
And then click on a filter, you’ll see the multiple queries that are generated (within a multi_search request)
And then click on a filter, you’ll see the multiple queries that are generated (within a multi_search request)
Aug 22, 2022 (14 months ago)
Emile
Emile
03:36 AMthanks :)
1
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2779 threads (79% resolved)
Similar Threads
Understanding Multisearch in Typesense
Pantelis needed clarity on multisearch behavior in typesense. Jason explained it's used to get consistent facets for all filters.
2
1mo
Solved
Faceting and Filtering Issue in Typesense
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.
12
1mo
Solved
Creating Search Filters and Facets for E-commerce
Stefanie needed assistance creating search filters. Jason recommended examining Typesense network requests to understand the pattern.
3
15mo
Solved