Filtering Issue with hierarchicalMenu Widget
TLDR Keith experienced a problem while filtering results using the hierarchicalMenu
widget. They resolved it by using filters: "break:true"
instead of facetFilters
. Jason agreed with the solution.
1
Apr 13, 2023 (6 months ago)
Keith
06:55 PMhierarchicalMenu
widget for some reason.Setting
filter_by: "breaker:true"
under additionalSearchParameters
works the the page loads, and when I filter results using a refinementList
widgets; but for some reason, the hierarchicalMenu
widget loads all my categories and displays all results when a item is selected.From what I understand, I need to use:
instantsearch.widgets.configure({
facetFilters: ["break:true"]
})
but I tried this inside and outside of
addWidgets([])
, so I’m a bit stumpedKeith
07:16 PMfilters: "break:true"
instead of facetFilters
1
Apr 14, 2023 (6 months ago)
Jason
02:43 AMJason
02:44 AMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Using Hierarchical Menu for Filtering in InstantSearch Vue Component
Sanjay needed help on filtering product data by hierarchy in InstantSearch Vue. Jason suggested using the hierarchical menu widget and provided the needed data format.
Configuring HierarchicalMenu and Autocomplete in React
gab needed guidance on configuring index-related components. Jason advised using different Configure widgets, and helped with the correct usage in React.
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.