2024-09-02 10:42:19 +02:00
|
|
|
pub use document_change::{Deletion, DocumentChange, Insertion, Update};
|
|
|
|
pub use items_pool::ItemsPool;
|
2024-09-24 17:24:50 +02:00
|
|
|
pub use top_level_map::{CowStr, TopLevelMap};
|
2024-09-02 10:42:19 +02:00
|
|
|
|
|
|
|
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;
|
2024-08-28 18:45:16 +02:00
|
|
|
mod items_pool;
|
2024-09-03 11:02:39 +02:00
|
|
|
mod merger;
|
2024-09-24 17:24:50 +02:00
|
|
|
mod top_level_map;
|
2024-09-25 14:15:18 +02:00
|
|
|
mod word_fst_builder;
|
2024-10-01 09:56:49 +02:00
|
|
|
mod words_prefix_docids;
|
2024-08-28 18:45:16 +02:00
|
|
|
|
2024-09-02 10:42:19 +02:00
|
|
|
/// TODO move them elsewhere
|
2024-08-29 15:07:59 +02:00
|
|
|
pub type StdResult<T, E> = std::result::Result<T, E>;
|
2024-09-02 10:42:19 +02:00
|
|
|
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>;
|