Persist a synonym group to the FTS backend.
(
&self,
tid: TenantId,
rec: &nodedb_fts::SynonymGroupRecord,
)
| 11 | impl InvertedIndex { |
| 12 | /// Persist a synonym group to the FTS backend. |
| 13 | pub fn put_synonym_group( |
| 14 | &self, |
| 15 | tid: TenantId, |
| 16 | rec: &nodedb_fts::SynonymGroupRecord, |
| 17 | ) -> crate::Result<()> { |
| 18 | self.inner |
| 19 | .put_synonym_group(tid.as_u64(), rec) |
| 20 | .map_err(|e| inverted_err("put_synonym_group", e)) |
| 21 | } |
| 22 | |
| 23 | /// Delete a synonym group from the FTS backend. Returns `true` if it existed. |
| 24 | pub fn delete_synonym_group(&self, tid: TenantId, name: &str) -> crate::Result<bool> { |
no test coverage detected