Skip to content

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

Merged
uglide merged 6 commits into
mainfrom
im/8_10-ft-alias-list
Jul 30, 2026
Merged

uglide merged 6 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, read-only RediSearch command wired like existing alias APIs; no auth or data-mutation paths touched.

Overview
Adds FT.ALIASLIST (Redis 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.ftAliaslist with StringListOutput, and exposed as ftAliaslist on sync, async, reactive, cluster (keyless routing), node-selection, and Kotlin coroutines APIs. FT_ALIASLIST is also classified as a keyless read-only command for replica routing.

Coverage includes a RESP encoding unit test and an integration test gated on Redis 8.10+.

Reviewed by Cursor Bugbot for commit 4b41c27. 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

@ggivo ggivo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@uglide
uglide merged commit 7a22903 into main Jul 30, 2026
9 of 10 checks passed
@uglide
uglide deleted the im/8_10-ft-alias-list branch July 30, 2026 09:50
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.

3 participants

⌂ 换网址