Valkey: Good to know

This documentation is part of the Search and JSON guide. View the full 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 provides a host of benefits, including:

  • Valkey Admin web UI included.
  • Unlimited message size and transfers.
  • Effortless updates with just a click.
  • Optimal performance and robust security powered by a private, dedicated infrastructure.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's Valkey cloud hosting solution!

  • The search module offers a focused set of commands: FT.CREATE, FT.SEARCH, FT.AGGREGATE, FT.INFO, FT.DROPINDEX, and FT._LIST. These cover tag, numeric, text, and vector queries efficiently. If your application needs advanced full-text features (such as spell checking, synonyms, or suggestion dictionaries), the Redis query engine provides more depth.
  • Indexes are per-database and work in every database. For example, an index created in database 3 is only visible and queryable from database 3. This is a capability where Valkey extends 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_memory in your Prometheus metrics after building an index.
  • Indexing existing keys runs in the background. Immediately after running FT.CREATE, search results might 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, you can read the vector search guide.