MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / tombstone

Method tombstone

nodedb-vector/src/delta/index.rs:48–50  ·  view source on GitHub ↗

Mark `id` as tombstoned. It will be excluded from `search` results and from the patch applied to the main HNSW.

(&mut self, id: u32)

Source from the content-addressed store, hash-verified

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 {

Callers 3

Calls 1

insertMethod · 0.45

Tested by 3