Expand description
In-memory segment assembly and atomic publication.
Structs§
- Segment
Build - Complete in-memory data sealed into one immutable segment.
- Segment
Document Versions - Dense application identities aligned to one segment’s local row ids.
- Segment
Postings - One complete encoded lexical segment for the Postings region.
- Segment
Stored Metadata - Dense opaque metadata bytes aligned to one segment’s local row ids.
- Segment
Stored Text - Dense optional UTF-8 source text aligned to one segment’s local row ids.
Enums§
- Segment
Factors - Borrowed factor records for a supported per-segment quantization scheme.
Functions§
- encode_
segment - Encodes one complete segment in RAM, validating every cross-region shape first.
- encode_
segment_ with_ graph - Encodes a complete segment with one fixed-stride graph node-block region.
- encode_
segment_ with_ graph_ and_ documents - Encodes a graph segment while preserving dense application document identities.
- write_
segment - Writes a temp file, synchronizes it, renames it into place, then syncs the directory.
- write_
segment_ with_ documents - Writes and publishes a segment with dense application document identities.
- write_
segment_ with_ documents_ and_ metadata - Writes and publishes document identities plus opaque stored metadata.
- write_
segment_ with_ documents_ and_ postings - Writes document identities and a sealed lexical Postings region.
- write_
segment_ with_ documents_ and_ text - Writes document identities plus optional lossless UTF-8 source rows.
- write_
segment_ with_ documents_ metadata_ and_ postings - Writes document identities, opaque metadata, and a sealed lexical region.
- write_
segment_ with_ graph - Writes and atomically publishes a segment containing fixed-stride graph blocks.
- write_
segment_ with_ graph_ and_ documents - Writes and atomically publishes graph blocks plus dense document identities.
- write_
segment_ with_ postings - Writes a sealed lexical region without application document identities.