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

Method iter

nodedb-vector/src/multivec/storage.rs:99–101  ·  view source on GitHub ↗

Iterate over all stored documents (order unspecified).

(&self)

Source from the content-addressed store, hash-verified

97
98 /// Iterate over all stored documents (order unspecified).
99 pub fn iter(&self) -> impl Iterator<Item = &MultiVectorDoc> {
100 self.docs.values()
101 }
102
103 /// Returns `Some(k)` for `MetaToken` mode; `None` for `PerToken`.
104 pub fn k(&self) -> Option<u8> {

Callers 10

meta_embed_searchFunction · 0.45
assignFunction · 0.45
min_dist_to_centroidsFunction · 0.45
recomputeFunction · 0.45
kmeans_plus_plus_initFunction · 0.45
trainMethod · 0.45
candidatesMethod · 0.45
maxsimFunction · 0.45
reopen_roundtripFunction · 0.45

Calls

no outgoing calls

Tested by 2

reopen_roundtripFunction · 0.36