[Redis 8.10] Add FT.ALIASLIST search command support - #3844
Open
uglide wants to merge 4 commits into
Open
Conversation
Add support for the FT.ALIASLIST command (Query Engine 8.10), which lists all aliases associated with a given index. - Add FT_ALIASLIST to CommandType - Add RediSearchCommandBuilder.ftAliaslist(index) using ValueListOutput - Wire up dispatch in AbstractRedisAsyncCommands and AbstractRedisReactiveCommands, and keyless cluster routing in the advanced cluster async/reactive implementations - Expose ftAliaslist across the sync, async, reactive, node-selection (sync/async), and Kotlin coroutines APIs - Update the RediSearchCommands API code-gen template so regeneration keeps the new method - Add a command-builder encoding unit test and an integration test (guarded to Redis 8.10+)
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 8f9e2d7. 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 RediSearch API following existing alias commands; read-only with no auth or data-mutation behavior beyond listing aliases.
Overview
Adds FT.ALIASLIST (Query Engine 8.10) so clients can list all aliases for a given index name (not an alias).
The command is registered as
FT_ALIASLIST, built inRediSearchCommandBuilderwithValueListOutput, and classified as a keyless read-only RediSearch command.ftAliaslistis wired through sync, async, reactive, cluster (keyless routing), node-selection, Kotlin coroutines, and theRediSearchCommandscodegen template.Tests cover RESP encoding for the builder and an integration flow (empty list, add/remove aliases) gated on Redis 8.10+.
Reviewed by Cursor Bugbot for commit 6425b9b. Bugbot is set up for automated code reviews on this repo. Configure here.