Skip to content

[Redis 8.10] Add FT.ALIASLIST search command support - #3844

Open
uglide wants to merge 4 commits into
mainfrom
im/8_10-ft-alias-list
Open

[Redis 8.10] Add FT.ALIASLIST search command support#3844
uglide wants to merge 4 commits into
mainfrom
im/8_10-ft-alias-list

Conversation

@uglide

@uglide uglide commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

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+)

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 in RediSearchCommandBuilder with ValueListOutput, and classified as a keyless read-only RediSearch command. ftAliaslist is wired through sync, async, reactive, cluster (keyless routing), node-selection, Kotlin coroutines, and the RediSearchCommands codegen 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.

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+)

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ 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.

@uglide
uglide requested review from a-TODO-rov and atakavci July 28, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants