Skip to main content

Module online_update

Module online_update 

Source
Expand description

Online Index Updates

Provides a unified interface for incrementally updating indexes without requiring a full rebuild. Supports:

  • Incremental vector insertion
  • Vector deletion with lazy cleanup
  • Vector updates (delete + insert)
  • Background maintenance operations
  • Concurrent update handling

§Design Principles

  1. Non-blocking reads: Updates don’t block ongoing searches
  2. Eventual consistency: Updates visible after brief delay
  3. Lazy cleanup: Deleted vectors marked, cleaned up in background
  4. Batch efficiency: Batching updates for better performance

Structs§

DeltaLog
Delta log for tracking changes between index snapshots
MaintenanceResult
Result of a maintenance operation
OnlineIndex
Wrapper that adds online update capabilities to any index
OnlineUpdateConfig
Configuration for online updates
OnlineUpdateStats
Statistics for online update operations
UpdateBuffer
Buffer for batching online updates

Traits§

OnlineUpdatable
Trait for indexes that support online updates