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

Method len

nodedb-fts/src/block.rs:86–88  ·  view source on GitHub ↗

Number of documents in this block.

(&self)

Source from the content-addressed store, hash-verified

84
85 /// Number of documents in this block.
86 pub fn len(&self) -> usize {
87 self.doc_ids.len()
88 }
89
90 /// Whether the block is empty.
91 pub fn is_empty(&self) -> bool {

Callers 8

levenshteinFunction · 0.45
highlightMethod · 0.45
find_query_matchesMethod · 0.45
nextMethod · 0.45
from_postingsMethod · 0.45
metaMethod · 0.45
to_bytesMethod · 0.45
from_bytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected