Enumerate every `(TenantId, collection)` pair that has at least one FTS segment in the backing store. Used by the maintenance cycle to discover compaction candidates without requiring a separate in-memory registry of FTS-indexed collections.
(&self)
| 42 | /// without requiring a separate in-memory registry of FTS-indexed |
| 43 | /// collections. |
| 44 | pub fn list_all_fts_collections(&self) -> crate::Result<Vec<(TenantId, String)>> { |
| 45 | self.inner |
| 46 | .backend() |
| 47 | .list_all_fts_collections() |
| 48 | .map(|pairs| { |
| 49 | pairs |
| 50 | .into_iter() |
| 51 | .map(|(t, c)| (TenantId::new(t), c)) |
| 52 | .collect() |
| 53 | }) |
| 54 | } |
| 55 | } |
no test coverage detected