Storage Adapters
- File Adapter
- Redis Adapter
- Memory Adapter
Cache Invalidation
VectoriaDB automatically invalidates the cache when documents change. UsetoolsHash and version to control invalidation:
How Invalidation Works
Oninitialize(), VectoriaDB checks:
- Does the cache file/key exist?
- Does
toolsHashmatch? - Does
versionmatch? - Does
modelNamematch?
Warm-up Pattern
Common pattern for production deployments:Manual Storage Operations
Multi-Tenant Isolation
Use namespaces to isolate different indexes:Error Handling
Related
Overview
Getting started
HNSW
Scaling with HNSW index
Indexing
Adding documents