mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
[WIP] rebase on main
This commit is contained in:
parent
1b5fc61eb6
commit
0275b36fb0
20 changed files with 93 additions and 174 deletions
|
@ -5,17 +5,12 @@ use std::marker::PhantomData;
|
|||
|
||||
use flate2::read::GzDecoder;
|
||||
use log::info;
|
||||
use milli::update::{DocumentAdditionResult, IndexDocumentsMethod, UpdateBuilder, UpdateFormat};
|
||||
use milli::update::{IndexDocumentsMethod, UpdateBuilder, UpdateFormat};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use super::{deserialize_some, deserialize_wildcard, Index};
|
||||
use crate::index_controller::UpdateResult;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub enum UpdateResult {
|
||||
DocumentsAddition(DocumentAdditionResult),
|
||||
DocumentDeletion { deleted: u64 },
|
||||
Other,
|
||||
}
|
||||
|
||||
#[derive(Clone, Default, Debug)]
|
||||
pub struct Checked;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue