MeiliSearch/milli/src/update/new/mod.rs

20 lines
545 B
Rust
Raw Normal View History

pub use document_change::{Deletion, DocumentChange, Insertion, Update};
pub use items_pool::ItemsPool;
use super::del_add::DelAdd;
use crate::FieldId;
2024-08-29 15:07:59 +02:00
mod channel;
2024-09-03 11:02:39 +02:00
mod document_change;
mod extract;
2024-09-02 14:42:27 +02:00
pub mod indexer;
mod items_pool;
2024-09-03 11:02:39 +02:00
mod merger;
/// TODO move them elsewhere
2024-08-29 15:07:59 +02:00
pub type StdResult<T, E> = std::result::Result<T, E>;
pub type KvReaderDelAdd = obkv::KvReader<DelAdd>;
pub type KvReaderFieldId = obkv::KvReader<FieldId>;
pub type KvWriterDelAdd<W> = obkv::KvWriter<W, DelAdd>;
pub type KvWriterFieldId<W> = obkv::KvWriter<W, FieldId>;