Skip to main content
Redis-based storage adapter for distributed caching.

Constructor

RedisStorageConfig

RedisClient Interface

Compatible with ioredis, node-redis, and similar clients.

Example

Key Structure

Redis key format: {keyPrefix}:{namespace} Example: vectoriadb:my-index

Methods

Security

The adapter includes command injection protection:
  • Namespace is sanitized to remove control characters
  • Key prefix is sanitized similarly

FileStorageAdapter

File storage

MemoryStorageAdapter

Memory storage

Storage Guide

Redis adapter guide