mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
create the end Batch type for all Document* operation
This commit is contained in:
parent
1ea9c0b4c0
commit
925971809a
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