Expand description
Common types used throughout the engine.
Structs§
- Outlier
Entry - Outlier entry for a vector (stored separately for precision)
- Query
Params - Query parameters for search
- Query
Result - Query result with timing information
- Query
Stats - Statistics from query execution
- RdfPosting
- RDF posting entry (stored in striped chunks)
- Scored
Candidate - A scored candidate from search
- Stripe
Chunk Header - Stripe chunk header for RDF posting lists
Enums§
- Metric
- Similarity metric
- Segment
State - Segment state in LSM
Constants§
- DEFAULT_
BPS_ BLOCK_ SIZE - DEFAULT_
BPS_ PROJECTIONS - DEFAULT_
DIM - Default configuration values
- DEFAULT_
NUM_ OUTLIERS - DEFAULT_
RDF_ TOP_ T - DEFAULT_
STOP_ DIM_ THRESHOLD - DEFAULT_
STRIPE_ SHIFT - MAGIC
- Configuration constants
- SEGMENT_
VERSION
Type Aliases§
- Block
Index - Block index for BPS
- DimIndex
- Dimension index
- Distance
- Distance type for BPS (lower = better, L1 distance)
- Score
- Score type for ranking (higher = better for dot product)
- Segment
Id - Segment ID - unique across the collection
- Stripe
Id - Stripe ID for RDF posting lists
- Vector
Id - Vector ID - unique identifier for a vector within a segment