mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
create the end Batch type for all Document* operation
This commit is contained in:
parent
d7146d7b21
commit
72496122c3
2 changed files with 269 additions and 52 deletions
|
@ -1,6 +1,7 @@
|
|||
use anyhow::Result;
|
||||
use index::{Settings, Unchecked};
|
||||
|
||||
use milli::DocumentId;
|
||||
use serde::{Deserialize, Serialize, Serializer};
|
||||
use std::{fmt::Write, path::PathBuf};
|
||||
use time::{Duration, OffsetDateTime};
|
||||
|
@ -125,7 +126,7 @@ pub enum KindWithContent {
|
|||
},
|
||||
DocumentDeletion {
|
||||
index_uid: String,
|
||||
documents_ids: Vec<String>,
|
||||
documents_ids: Vec<DocumentId>,
|
||||
},
|
||||
DocumentClear {
|
||||
index_uid: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue