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

Method backend

nodedb/src/engine/sparse/inverted/core.rs:42–44  ·  view source on GitHub ↗

Shared access to the underlying redb FTS backend. Exposes the raw `FtsBackend` methods for maintenance operations such as bulk postings snapshot and restore used by concurrent index rebuild.

(&self)

Source from the content-addressed store, hash-verified

40 /// Exposes the raw `FtsBackend` methods for maintenance operations such as
41 /// bulk postings snapshot and restore used by concurrent index rebuild.
42 pub fn backend(&self) -> &RedbFtsBackend {
43 self.inner.backend()
44 }
45
46 /// Mutable access to the underlying redb FTS backend.
47 pub fn backend_mut(&mut self) -> &mut RedbFtsBackend {

Callers 10

apply_ftsFunction · 0.45
start_fts_rebuildMethod · 0.45
fts_write_segmentMethod · 0.45
fts_list_segmentsMethod · 0.45
index_documentMethod · 0.45
remove_documentMethod · 0.45
compact_commitMethod · 0.45
phrase_searchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected