mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-04 10:35:46 +01:00
bb7a503e5d
We are now computing the prefix FST and a prefix delta in the Merger thread, after all the databases are written, the main thread will recompute the prefix databases based on the prefix delta without needing any grenad temporary file anymore
24 lines
657 B
Rust
24 lines
657 B
Rust
pub use document_change::{Deletion, DocumentChange, Insertion, Update};
|
|
pub use items_pool::ItemsPool;
|
|
pub use top_level_map::{CowStr, TopLevelMap};
|
|
|
|
use super::del_add::DelAdd;
|
|
use crate::FieldId;
|
|
|
|
mod channel;
|
|
mod document_change;
|
|
mod extract;
|
|
pub mod indexer;
|
|
mod items_pool;
|
|
mod merger;
|
|
mod top_level_map;
|
|
mod word_fst_builder;
|
|
mod words_prefix_docids;
|
|
|
|
/// 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>;
|