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

TypeError: index.updateAttributesForFaceting is not a function #1583

Closed
eldoy opened this issue Sep 19, 2023 · 1 comment · Fixed by #1584
Closed

TypeError: index.updateAttributesForFaceting is not a function #1583

eldoy opened this issue Sep 19, 2023 · 1 comment · Fixed by #1584
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@eldoy
Copy link

eldoy commented Sep 19, 2023

When doing this code like found in the README I'm getting this error:

TypeError: index.updateAttributesForFaceting is not a function

await index.updateAttributesForFaceting([
    'id',
    'name'
])
@curquiza
Copy link
Member

Hello @eldoy
Thanks for the report, indeed it should have been updateFilterableAttributes instead

I created #1584

@curquiza curquiza added bug Something isn't working documentation Improvements or additions to documentation labels Sep 20, 2023
@meili-bors meili-bors bot closed this as completed in d5c2bde Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants