(&self, vector_id: VectorId)
| 54 | |
| 55 | #[inline] |
| 56 | pub async fn vec_remove(&self, vector_id: VectorId) -> Result<(), SessionResult> { |
| 57 | match self.datastores.get::<VecStorage>() { |
| 58 | None => Err(SessionResult::DataStoreNotFound), |
| 59 | Some(datastore) => { |
| 60 | datastore.remove(vector_id).await |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | |
| 66 | #[inline] |