Skip to main content

Module segment

Module segment 

Source
Expand description

Segment types for the VectorCollection lifecycle.

Structs§

BuildComplete
Completed HNSW build (sent back from builder thread).
BuildRequest
Request to build an HNSW index from sealed vectors (sent to builder thread).
BuildingSegment
A sealed segment whose HNSW index is being built in background.
SealedSegment
A sealed segment with a completed HNSW index.

Constants§

DEFAULT_SEAL_THRESHOLD
Default threshold for sealing the growing segment. 64K vectors × 768 dims × 4 bytes = ~192 MiB per segment.