mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-25 04:23:12 +08:00
bcb1aa3d22
Spoiler: Do not use an HashMap but drain it into a Vec
21 lines
577 B
Rust
21 lines
577 B
Rust
pub use document_change::{Deletion, DocumentChange, Insertion, Update};
|
|
pub use items_pool::ItemsPool;
|
|
|
|
use super::del_add::DelAdd;
|
|
use crate::FieldId;
|
|
|
|
mod document_change;
|
|
mod merger;
|
|
// mod extract;
|
|
mod channel;
|
|
//mod global_fields_ids_map;
|
|
pub mod indexer;
|
|
mod items_pool;
|
|
|
|
/// TODO move them elsewhere
|
|
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>;
|