chore: export ranked map

This commit is contained in:
qdequele 2019-09-19 10:49:12 +02:00
parent 20f423268e
commit 941302a4be
No known key found for this signature in database
GPG Key ID: B3F0A000EBF11745

View File

@ -316,6 +316,10 @@ impl Index {
self.cache.load().schema.clone()
}
pub fn ranked_map(&self) -> RankedMap {
self.cache.load().ranked_map.clone()
}
pub fn synonyms_index(&self) -> SynonymsIndex {
self.synonyms_index.clone()
}