From 2f541894a718800cb825d1d02566851d62d0e46e Mon Sep 17 00:00:00 2001 From: rafal Date: Thu, 19 Oct 2023 12:38:02 +0200 Subject: [PATCH] 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 --- .code-samples.meilisearch.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.code-samples.meilisearch.yaml b/.code-samples.meilisearch.yaml index 8903819f..346c78da 100644 --- a/.code-samples.meilisearch.yaml +++ b/.code-samples.meilisearch.yaml @@ -50,7 +50,7 @@ delete_one_document_1: |- delete_documents_by_batch_1: |- client.index('movies').delete_documents([23488, 153738, 437035, 363869]) delete_documents_by_filter_1: |- - client.index('movies').delete_documents({filter='genres=action OR genres=adventure'}) + client.index('movies').delete_documents(filter='genres=action OR genres=adventure') search_post_1: |- client.index('movies').search('American ninja') multi_search_1: |-