mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 05:14:27 +01:00
chore: export a getter for synonyms
This commit is contained in:
parent
e3c413759f
commit
522013425b
@ -316,6 +316,14 @@ impl Index {
|
||||
self.cache.load().schema.clone()
|
||||
}
|
||||
|
||||
pub fn synonyms_index(&self) -> SynonymsIndex {
|
||||
self.synonyms_index.clone()
|
||||
}
|
||||
|
||||
pub fn synonyms_set(&self) -> Arc<fst::Set> {
|
||||
self.cache.load().synonyms.clone()
|
||||
}
|
||||
|
||||
pub fn custom_settings(&self) -> CustomSettingsIndex {
|
||||
self.custom_settings_index.clone()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user