Skip to content

Commit 844f540

Browse files
Merge #868
868: fix: replace the code sample related to the `delete_documents` method… r=sanders41 a=zebra-f # Pull Request ## Related issue Fixes #867 ## What does this PR do? Updates the code sample to demonstrate the correct method call. Replaces the dictionary usage with the direct usage of the filter argument. ## PR checklist Please check if your PR fulfills the following requirements: - [✅] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [✅] Have you read the contributing guidelines? - [✅] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: rafal <zebraf.dev@gmail.com>
2 parents bebff44 + 2f54189 commit 844f540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ delete_one_document_1: |-
5050
delete_documents_by_batch_1: |-
5151
client.index('movies').delete_documents([23488, 153738, 437035, 363869])
5252
delete_documents_by_filter_1: |-
53-
client.index('movies').delete_documents({filter='genres=action OR genres=adventure'})
53+
client.index('movies').delete_documents(filter='genres=action OR genres=adventure')
5454
search_post_1: |-
5555
client.index('movies').search('American ninja')
5656
multi_search_1: |-

0 commit comments

Comments
 (0)