Skip to content

Commit 2f54189

Browse files
committed
fix: replace the code sample related to the delete_documents method with a correct one
The code sample for the `delete_documents` method has been updated to use the `filter` argument correctly. The fix ensures that the code sample functions as expected. Fixes: #867
1 parent bebff44 commit 2f54189

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)