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

Method write_doc_length

nodedb/src/engine/sparse/fts_redb/backend/core.rs:133–141  ·  view source on GitHub ↗
(
        &self,
        tid: u64,
        collection: &str,
        doc_id: Surrogate,
        length: u32,
    )

Source from the content-addressed store, hash-verified

131 }
132
133 fn write_doc_length(
134 &self,
135 tid: u64,
136 collection: &str,
137 doc_id: Surrogate,
138 length: u32,
139 ) -> crate::Result<()> {
140 super::doc_lengths::write(self, tid, collection, doc_id, length)
141 }
142
143 fn remove_doc_length(
144 &self,

Callers 1

apply_ftsFunction · 0.45

Calls 1

writeFunction · 0.70

Tested by

no test coverage detected