Move to zerocopy-lmdb

This commit is contained in:
Clément Renault
2019-10-16 17:05:24 +02:00
parent c332c7bc70
commit 1667e1b32f
25 changed files with 450 additions and 684 deletions

View File

@ -23,7 +23,7 @@ pub struct AutomatonProducer {
impl AutomatonProducer {
pub fn new(
reader: &impl rkv::Readable,
reader: &zlmdb::RoTxn,
query: &str,
main_store: store::Main,
synonyms_store: store::Synonyms,
@ -108,7 +108,7 @@ pub fn normalize_str(string: &str) -> String {
}
fn generate_automatons(
reader: &impl rkv::Readable,
reader: &zlmdb::RoTxn,
query: &str,
main_store: store::Main,
synonym_store: store::Synonyms,