Skip to content

Redis vector store integration#1509

Open
daric93 wants to merge 2 commits into0xPlaygrounds:mainfrom
daric93:feature/redis_vector_store
Open

Redis vector store integration#1509
daric93 wants to merge 2 commits into0xPlaygrounds:mainfrom
daric93:feature/redis_vector_store

Conversation

@daric93
Copy link

@daric93 daric93 commented Mar 13, 2026

Summary

Adds Redis vector store implementation to Rig framework using RediSearch for efficient KNN vector similarity search.

Fixes #1239 - Originally requested Valkey support, implemented as Redis for broader compatibility and ecosystem maturity. Redis provides the same vector capabilities through RediSearch while offering more established tooling, documentation, and cloud provider support.

Vector Store Integration

Redis is an in-memory data structure store that can be used as a vector database through its RediSearch module. This integration leverages Redis's FT.SEARCH command with KNN queries for high-performance vector similarity search, making it suitable for applications requiring fast, scalable vector operations with the reliability and features of Redis.

Key Capabilities

  • High Performance: In-memory storage with sub-millisecond query times
  • Scalability: Horizontal scaling with Redis Cluster support
  • Persistence: Optional disk persistence for data durability
  • Rich Filtering: Advanced metadata filtering alongside vector search
  • Production Ready: Battle-tested in production environments worldwide

Resources

Source Code: https://github.com/redis/redis
Rust SDK: https://github.com/redis-rs/redis-rs
RediSearch Module: https://github.com/RediSearch/RediSearch
Official Documentation: https://redis.io/docs/stack/search/
Redis Stack: https://redis.io/docs/stack/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add support for Valkey vector store

1 participant