RediSearch commands
The following table lists RediSearch commands. See the command links for more information about each command’s syntax, arguments, and examples.
Command | Redis Enterprise |
Redis Cloud |
Description |
---|---|---|---|
FT.AGGREGATE | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Runs a search query on an index and groups, sorts, transforms, limits, and/or filters the results. |
FT.ALIASADD | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Adds an alias to an index. |
FT.ALIASDEL | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Removes an alias from an index. |
FT.ALIASUPDATE | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Adds an alias to an index. If the alias already exists for a different index, it updates the alias to point to the specified index instead. |
FT.ALTER | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Adds a new field to an index. |
FT.CONFIG GET | Displays configuration options. | ||
FT.CONFIG HELP | Describes configuration options. | ||
FT.CONFIG SET | Sets configuration options. | ||
FT.CREATE | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Creates an index. |
FT.CURSOR DEL | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Deletes a cursor. |
FT.CURSOR READ | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Reads the next results from an existing cursor. |
FT.DICTADD | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Adds terms to a dictionary. |
FT.DICTDEL | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Deletes terms from a dictionary. |
FT.DICTDUMP | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Returns all terms in the specified dictionary. |
FT.DROPINDEX | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Deletes an index. |
FT.EXPLAIN | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Returns the execution plan for a complex query as a string. |
FT.EXPLAINCLI | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Returns the execution plan for a complex query as an array. |
FT.INFO | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Returns index information and statistics. |
FT._LIST | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Lists all indexes. |
FT.PROFILE | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Runs FT.SEARCH or FT.AGGREGATE and reports performance information. |
FT.SEARCH | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Searches an index for a text query and returns matching documents or document IDs. |
FT.SPELLCHECK | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Suggests spelling corrections for misspelled terms in a query. |
FT.SYNDUMP | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Returns a list of synonym terms and their synonym group IDs. |
FT.SYNUPDATE | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Creates or updates a synonym group with additional terms. |
FT.TAGVALS | ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Returns all distinct values indexed in a tag field. |