redis-query-engine

redis-query-engine

Populaire

Redis Query Engine (RQE) guidance covering FT.CREATE schema design, field type selection (TEXT, TAG, NUMERIC, GEO, GEOSHAPE, VECTOR), DIALECT 2 query syntax, efficient FT.SEARCH and FT.AGGREGATE queries, zero-downtime index updates via aliases, and the SKIPINITIALSCAN option. Use when defining a search index on Hash or JSON documents, picking between TEXT and TAG for filtering, writing FT.SEARCH queries with filters and SORTBY, managing or swapping indexes in production, or troubleshooting slow searches with FT.PROFILE.

164étoiles
30forks
Mis à jour 08/09/2026
La traduction demandée n’est pas encore prête. Affichage de la version originale (anglais).
SKILL.md
lecture seule
name
redis-query-engine
description

Redis Query Engine (RQE) guidance covering FT.CREATE schema design, field type selection (TEXT, TAG, NUMERIC, GEO, GEOSHAPE, VECTOR), DIALECT 2 query syntax, efficient FT.SEARCH and FT.AGGREGATE queries, zero-downtime index updates via aliases, and the SKIPINITIALSCAN option. Use when defining a search index on Hash or JSON documents, picking between TEXT and TAG for filtering, writing FT.SEARCH queries with filters and SORTBY, managing or swapping indexes in production, or troubleshooting slow searches with FT.PROFILE.

Redis Query Engine

Guidance for using the Redis Query Engine (RQE) to index and search Hash or JSON documents. Covers schema design with FT.CREATE, field-type choices, query syntax, index lifecycle management, and the most common performance pitfalls.

When to apply

  • Creating, modifying, or reviewing an RQE index (FT.CREATE, FT.ALTER).

  • Writing or optimizing FT.SEARCH / FT.AGGREGATE queries.

  • Deciding between TEXT, TAG, NUMERIC, GEO, GEOSHAPE, or VECTOR for a field.

  • Rolling out a new index schema without downtime.

  • Spinning up an index that should only cover newly written keys.

1. Use DIALECT 2 (the modern default)

DIALECT 2 is the baseline. Other dialects (1, 3, 4) are deprecated as of Redis 8. Most modern client libraries already default to it — but specify it explicitly in raw commands for portability.

FT.SEARCH idx:products "@name:laptop" DIALECT 2