-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add faceting index settings methods #1344
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this great PR 🔥
Could you update the README.md as well? At the bottom their are the API references.
Also, could you update the tests in settings.test.ts
by adding the faceting in the tests?
The styling tests are failing, could you check them ? yarn style:fix
My bad this is already oke :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad I come with these late comments, I just noticed them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is only one thing missing, it's adding the new methods at the bottom of the README.md in the API references?
settings_guide_faceting_1: |- | ||
client.index('books').updateSettings({ faceting: { maxValuesPerFacet: 5 }}) | ||
client.index('movies').updateSettings({ faceting: { maxValuesPerFacet: 5 }}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for noticing this error 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add settings
in the titles. But I understand it was intuitive to add them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🔥 Very nice PR thanks a lot
bors merge |
Thanks again for contributing with Meilisearch ❤️ |
Pull Request
Related issue
Fixes #1299
PR checklist
Please check if your PR fulfills the following requirements: