Add FT.ALIASLIST search command support - #518
Merged
Merged
Conversation
Add support for the FT.ALIASLIST command (Query Engine 8.10), which lists all aliases associated with a given index. - Add ALIASLIST constant and SearchCommandBuilder.AliasList(index) - Expose AliasList / AliasListAsync on ISearchCommands and ISearchCommandsAsync (returning RedisResult[], matching _List/TagVals) - Register the new public API surface in PublicAPI.Unshipped.txt - Add sync and async integration tests (guarded to Redis 8.10+)
mgravell
approved these changes
Jul 15, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d536e0d. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add support for the FT.ALIASLIST command (Query Engine 8.10), which lists all aliases associated with a given index.
Note
Low Risk
Additive public API and thin command wiring with no changes to existing alias or search behavior; main caveat is server version requirement (8.10) for the new command.
Overview
Adds client support for FT.ALIASLIST (Query Engine 8.10+), so callers can list all aliases bound to a search index name.
AliasList/AliasListAsyncare exposed on the search command interfaces and implementations, wired throughSearchCommandBuilder.AliasListand a newFT.ALIASLISTliteral. Results are returned asRedisResult[], consistent withTagValsand_List. The new surface is registered inPublicAPI.Unshipped.txt.Integration tests cover empty lists, add/remove alias flows, and server errors for missing indexes (Redis 8.10+). Existing alias tests reuse shared helpers that skip on legacy cluster CROSSSLOT failures.
Reviewed by Cursor Bugbot for commit c7ba0ca. Bugbot is set up for automated code reviews on this repo. Configure here.