Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Store lifecycle and memory accounting. Store lifecycle and memory accounting.

Modules§

durability
Explicit per-store and per-commit durability policy.
lock
Single-writer ownership via a process-local registry and an OS file lock.

Structs§

CancelToken
A clonable, thread-safe request to cancel one query without partial results.
Deadline
A monotonic absolute query deadline.
DocumentCount
Exact live-row count from one pinned store generation.
DocumentFields
Bit-set selecting the optional fields copied by Store::get_documents.
DocumentScanCursor
Opaque-to-callers continuation for one published store generation.
DocumentScanPage
One bounded page returned by Store::scan_documents.
DocumentScanRequest
One bounded document-scan request.
GraphSearchOptions
Traversal controls carried only when a caller explicitly selects the graph tier.
InMemorySegment
One complete already-built segment whose vector buffers can be adopted by a store.
MaterializedRow
One owned source row corresponding to a ranked query hit.
OpenOptions
Store-open configuration.
PreparedSegment
Store-owned, exactly accounted anonymous buffers waiting to be sealed.
PublishedSnapshot
One atomically published generation and its immutable segment readers.
QueryCancellation
Cheap cooperative stop check shared by one query and its snapshot lease.
QueryMaterializer
Rank-addressed text access available only inside a Store query callback.
ScanRescoreOptions
Controls the candidate frontier of each active or sealed segment.
SearchOptions
Store-search controls, separating scan worker budget from tier selection.
SnapshotLease
One admitted read’s strong ownership of its published snapshot.
Stats
One point-in-time snapshot of resources owned by an open Store.
Store
One explicitly closeable embedded-store handle.
StoredDocument
One live document copied from a single pinned store generation.
SystemMonotonicClock
The standard-library monotonic clock used by ordinary stores.

Enums§

AccessMode
Filesystem authority requested for one store handle.
DeadlineError
Failure while constructing a monotonic deadline.
DocumentScanSource
Source position named by a document-scan continuation.
HybridPreparationError
Preserves a deferred vector producer’s typed error separately from search.
InMemorySegmentFactors
Owned vector-factor buffers for one already-built in-memory segment.
MaterializationError
A ranked row could not be materialized faithfully.
QueryControl
The mandatory cooperative stop mechanism carried by one store query.
QueryError
Typed failure from a store-admitted query.
ScanOrder
Deterministic ordering used by Store::scan_documents.
SearchTier
Per-query execution tier at the public store seam.
StoreError
An open, lifecycle, or close operation was rejected.
StoreErrorKind
Coarse, exhaustive classification of a StoreError, stable for hosts that map engine failures onto their own status codes. Every variant of StoreError maps to exactly one kind; adding a variant is a compile error here until it is classified.
StoreState
Explicit lifecycle state for one store handle.

Constants§

DEFAULT_READER_DRAIN_TIMEOUT
Default grace period given to admitted readers before close cancellation.
MAX_DOCUMENT_SCAN_LIMIT
Largest document page accepted by the core and C ABI.

Traits§

MonotonicClock
A monotonic time source.