Configuring HierarchicalMenu and Autocomplete in React
TLDR gab needed guidance on configuring index-related components. Jason advised using different Configure widgets, and helped with the correct usage in React.
1
Feb 23, 2022 (20 months ago)
gab
09:27 AMI'm using the
connectHierarchicalMenu
connector. It is forging "automatically" the appropriate query while navigating inside tree.It is overrding some default properties I have set in
collectionSpecificSearchParameters
.For instance
maxFacetValues
is overrided to be 10How can I modify this?
gab
09:33 AMlimit
argument is used to populate maxFacetValues
.My question still remains in following case: I'm using an autocomplete and the hierarchical menu. Both will use the default same config for a given index.
How would I tune an index relative to the component that will use it?
Jason
01:15 PMgab
01:30 PMDoes it means something like this :thinking_face: ?
<Configure q={'*'}>
<HierarchicalMenu/>
</Configure>
Jason
04:27 PMFeb 24, 2022 (20 months ago)
gab
07:43 AM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Filtering Issue with hierarchicalMenu Widget
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.
Restricting HierarchicalMenu Search to a Specific Collection
gab needed to restrict the HierarchicalMenu component to search within a specific collection. Jason solved the issue by recommending they nest the HierarchicalMenu within an Index element.
Resolving Issue with Instantsearch Sort_by in React
Edward had a problem with sorting functionality in a React component using Algolia's InstantSearch. Jason recommended a potential solution for specifying index names which resolved the issue.