Mark `id` as tombstoned. It will be excluded from `search` results and from the patch applied to the main HNSW.
(&mut self, id: u32)
| 46 | /// Mark `id` as tombstoned. It will be excluded from `search` results |
| 47 | /// and from the patch applied to the main HNSW. |
| 48 | pub fn tombstone(&mut self, id: u32) { |
| 49 | self.tombstones.insert(id); |
| 50 | } |
| 51 | |
| 52 | /// Returns `true` when the number of fresh vectors has reached `max_fresh`. |
| 53 | pub fn is_full(&self) -> bool { |