mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Make sure we correctly mix different document operations
This commit is contained in:
parent
d018346f18
commit
8e6893ddbe
3 changed files with 33 additions and 20 deletions
|
@ -23,6 +23,7 @@ use crate::update::new::{Deletion, Insertion, Update};
|
|||
use crate::update::{AvailableIds, IndexDocumentsMethod};
|
||||
use crate::{DocumentId, Error, FieldsIdsMap, Index, InternalError, Result, UserError};
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct DocumentOperation<'pl> {
|
||||
operations: Vec<Payload<'pl>>,
|
||||
method: MergeMethod,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue