meilisearch / meilisearch-js-plugins

The search client to use Meilisearch with InstantSearch.
https://www.meilisearch.com
MIT License
468 stars 57 forks source link

useDynamicWidgets #1223

Closed pakerekchdz closed 1 year ago

pakerekchdz commented 1 year ago

Do you plan to deploy this to the meilisearch adapter.

I see that meilisearch has everything that is necessary. https://www.meilisearch.com/docs/learn/fine_tuning_results/faceted_search

https://www.algolia.com/doc/api-reference/widgets/dynamic-facets/react/#hook-usage

pakerekchdz commented 1 year ago

image Meilisearch instantsearch even sends a request - but this is not handled by mailisearch instantsearch. const { attributesToRender } = useDynamicWidgets({ facets: ['*'] }) It shows an empty array all the time, and there should be available e.g. ["color", "brand"] etc.

pakerekchdz commented 1 year ago

They should be here. image

bidoubiwa commented 1 year ago

Hey @pakerekchdz, thanks for raising this. Closing as it is a duplicate of #1014