Valkey: Good to know
This documentation is part of the Search and JSON guide. You can view the complete guide here: Store and query JSON documents with the Valkey search module.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Valkey cloud solution that delivers numerous advantages, including:
Valkey Adminweb UI included.- Unlimited message size and transfers.
- One-click updates for easy maintenance.
- Optimal performance and enhanced security thanks to a private, dedicated infrastructure.
Save time and make your life easier: it only takes 5 minutes to try Stackhero's Valkey cloud hosting solution!
- The search module provides a focused set of commands:
FT.CREATE,FT.SEARCH,FT.AGGREGATE,FT.INFO,FT.DROPINDEX, andFT._LIST. These efficiently cover tag, numeric, text, and vector queries. If your application requires advanced full-text features (such as spell checking, synonyms, or suggestion dictionaries), the Redis query engine offers more advanced capabilities. - Indexes are per-database and work within each database. For example, an index created in database 3 is only visible and queryable from database 3. This is an area where Valkey goes beyond Redis database selection, which only supports indexing on database 0.
- Indexes use your plan's memory, just like your data. You can monitor
used_memoryin your Prometheus metrics after building an index. - Indexing existing keys runs in the background. Immediately after running
FT.CREATE, search results may be incomplete for a few seconds while the index is being built. - All module commands are enabled. Every command from every module is available on your service, with no restrictions.
If you want to explore vector similarity, semantic search, or retrieval-augmented generation, check out the vector search guide.