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

Method equality

nodedb-vector/src/collection/payload_index.rs:209–212  ·  view source on GitHub ↗

Return the bitmap of node ids with `field = value`, or `None` if the value has never been inserted (empty set).

(&self, value: &Value)

Source from the content-addressed store, hash-verified

207 /// Return the bitmap of node ids with `field = value`, or `None` if the
208 /// value has never been inserted (empty set).
209 pub fn equality(&self, value: &Value) -> Option<&RoaringBitmap> {
210 let key = PayloadKey::from_value(value)?;
211 self.bitmaps.get(&key)
212 }
213
214 /// Return the union bitmap of all entries whose key falls in
215 /// `[low, high]` (with `low_inclusive` / `high_inclusive` controlling

Callers 5

pre_filterMethod · 0.80
nan_equalityFunction · 0.80
null_value_indexedFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 4

nan_equalityFunction · 0.64
null_value_indexedFunction · 0.64