Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MeiliSearch Instantsearch RefinementList is not working #289

Open
mhernesniemi opened this issue Mar 16, 2024 · 1 comment
Open

MeiliSearch Instantsearch RefinementList is not working #289

mhernesniemi opened this issue Mar 16, 2024 · 1 comment

Comments

@mhernesniemi
Copy link

mhernesniemi commented Mar 16, 2024

Problem:

Error: MeiliSearchCommunicationError: Unknown field facetsDistribution: expected one of q, vector, hybrid, offset, limit, page, hitsPerPage, attributesToRetrieve, attributesToCrop, cropLength, attributesToHighlight, showMatchesPosition, showRankingScore, showRankingScoreDetails, filter, sort, facets, highlightPreTag, highlightPostTag, cropMarker, matchingStrategy, attributesToSearchOn

Fix:

Update to "@meilisearch/instant-meilisearch": "^0.17.0"

and change search-client.ts line 8:

export const { searchClient } = instantMeiliSearch(endpoint, apiKey)

@mhernesniemi mhernesniemi changed the title MeiliSearch Instasearch RefinementList is not working MeiliSearch Instantsearch RefinementList is not working Mar 16, 2024
@VariableVic
Copy link
Collaborator

Nice catch, happy to accept a PR with your fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants