This commit is contained in:
Tamo 2023-04-27 13:51:02 +02:00 committed by Louis Dureuil
parent c12a1cd956
commit 4b92f1b269
No known key found for this signature in database
4 changed files with 61 additions and 57 deletions

View file

@ -226,7 +226,7 @@ impl Index<'_> {
}
pub async fn delete_document_by_filter(&self, body: Value) -> (Value, StatusCode) {
let url = format!("/indexes/{}/documents/delete-batch", urlencode(self.uid.as_ref()));
let url = format!("/indexes/{}/documents/delete", urlencode(self.uid.as_ref()));
self.service.post_encoded(url, body, self.encoder).await
}