-
Notifications
You must be signed in to change notification settings - Fork 44
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
fix delete documents by filter documentation #536
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.
Well spotted! Thanks for taking the time, if you could also add a =
in the same commit so that we don't spam the commit history too much.
Thanks again 😄
.code-samples.meilisearch.yaml
Outdated
@@ -10,7 +10,7 @@ get_documents_post_1: |- | |||
fields: ['title', 'genres', 'rating', 'language'] | |||
) | |||
delete_documents_by_filter_1: |- | |||
client.index('movies').get_documents(filter: 'genres = action OR genres adventure') | |||
client.index('movies').delete_documents(filter: 'genres = action OR genres adventure') |
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.
client.index('movies').delete_documents(filter: 'genres = action OR genres adventure') | |
client.index('movies').delete_documents(filter: 'genres = action OR genres = adventure') |
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.
Seems to be missing an =
as well.
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.
sure, will do the changes
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.
done
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!
bors merge |
Pull Request
Related issue
Fixes #535
What does this PR do?
PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!