Skip to main content

Module vector_index

Module vector_index 

Source
Expand description

Optional vector-index boundary and production zvec sidecar support.

SQLite remains the canonical store for documents, chunks, FTS5 rows, and embedding metadata. A VectorIndex only retrieves vector candidates for semantic search; core hybrid scoring still consumes ChunkCandidates.

Structsยง

BruteForceSqliteVectorIndex
Exact brute-force SQLite vector scan used as the behavioral baseline.
DisabledVectorIndex
Disabled vector index. Callers should use the configured fallback.
IndexedVectorRecord ๐Ÿ”’
SqliteVectorSnapshot ๐Ÿ”’
VectorIndexHealth
Health information for the configured vector-index backend.
VectorIndexManifest
VectorIndexRouter
VectorIndexStatus
VectorIndexedStore
Store wrapper that preserves all SQLite behavior except vector candidates.
VectorRecord
A vector row available to an optional vector index.
VectorSearchOptions
Search controls passed to vector-index backends.

Constantsยง

COLLECTION_DIR ๐Ÿ”’
MANIFEST_FILE ๐Ÿ”’
MANIFEST_VERSION ๐Ÿ”’
ZVEC_BATCH_SIZE ๐Ÿ”’

Traitsยง

VectorIndex
Optional semantic-search accelerator.

Functionsยง

configured_auto_zvec ๐Ÿ”’
configured_required_zvec ๐Ÿ”’
configured_vector_index
configured_vector_store
manifest_for_snapshot ๐Ÿ”’
mark_sidecar_stale ๐Ÿ”’
parse_since ๐Ÿ”’
read_manifest ๐Ÿ”’
rebuild_configured_vector_index
rebuild_zvec_if_available ๐Ÿ”’
remove_configured_sidecar
resolve_vector_index_path
sqlite_vector_snapshot ๐Ÿ”’
status_health ๐Ÿ”’
sync_vector_record_after_sqlite
sync_vector_record_after_sqlite_impl ๐Ÿ”’
vector_index_status
write_manifest ๐Ÿ”’
zvec_health_message ๐Ÿ”’