Skip to main content

Crate lance_context_core

Crate lance_context_core 

Source
Expand description

Core types for the lance-context storage layer.

Modules§

serde

Structs§

CompactionConfig
Configuration for background compaction.
CompactionMetrics
Metrics returned by compact_files.
CompactionStats
Statistics about compaction status and history.
Context
ContextEntry
ContextNamespace
Thin resolver for scoped context partitions under one namespace root.
ContextRecord
User-facing representation of a context entry written to storage.
ContextStore
Persistent Lance-backed context store.
ContextStoreOptions
Additional configuration when opening a ContextStore.
LifecycleQueryOptions
Query-time controls for lifecycle-aware retrieval.
PartitionInfo
Manifest row describing one resolved context partition.
PartitionSpec
Phase-1 partition specification for a context namespace.
RecordFilters
Filters applied to records before list pagination or search ranking.
RecordPatch
Mutable fields that can be patched without resupplying the payload.
Relationship
Directed relationship from this record to another graph node.
RetrieveResult
Result returned from hybrid retrieval over context records.
SearchResult
Result returned from a vector similarity search.
Snapshot
StateMetadata
Structured metadata captured alongside each context entry.
UpdateResult
Result returned from partial record update operations.
UpsertResult
Result returned from insert-or-replace operations.

Enums§

DistanceMetric
Distance metric used to rank candidates during vector search.
IdIndexType
Type of scalar index on the id column.
MetadataFilter
Metadata matching operation for filtered retrieval.

Constants§

LIFECYCLE_ACTIVE
LIFECYCLE_CONTRADICTED

Type Aliases§

PartitionSelector
Complete selector values for one context partition.