Skip to content

Add FT.ALIASLIST search command support#518

Open
uglide wants to merge 2 commits into
masterfrom
im/8_10-ft-alias-list
Open

Add FT.ALIASLIST search command support#518
uglide wants to merge 2 commits into
masterfrom
im/8_10-ft-alias-list

Conversation

@uglide

@uglide uglide commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

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

Note

Low Risk
Additive public API and thin command passthrough with no changes to auth or existing alias behavior; requires Redis 8.10+ for the new command at runtime.

Overview
Adds client support for FT.ALIASLIST (Query Engine 8.10+), which returns all alias names bound to a given index name.

AliasList / AliasListAsync are wired through the same stack as other list-style search commands (_List, TagVals): FT.ALIASLIST literal, SearchCommandBuilder.AliasList(index), sync/async execution returning RedisResult[], plus entries in PublicAPI.Unshipped.txt.

Integration tests cover empty results, add/list/delete flows, and server errors for missing indexes, gated to Redis ≥ 8.10.0. Existing alias tests reuse new AliasAddOrSkipOnCrossSlot helpers so legacy cluster CROSSSLOT failures skip instead of duplicating try/catch blocks.

Reviewed by Cursor Bugbot for commit 9ac3f81. Bugbot is set up for automated code reviews on this repo. Configure here.

uglide added 2 commits July 14, 2026 17:26
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+)
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.

1 participant