Repository navigation
[Redis 8.10] Add FT.ALIASLIST search command support - #4619
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 to the SearchCommand protocol enum - Add CommandObjects.ftAliasList(indexName) using STRING_SET, routed as a keyless round-robin search command - Declare ftAliasList in RediSearchCommands (Set<String>) and RediSearchPipelineCommands (Response<Set<String>>) - Implement in UnifiedJedis and PipeliningBase - Add integration test covering the empty-index, multiple-aliases, and non-existent-index (error propagated) cases
uglide
force-pushed
the
im/8_10-ft-alias-list
branch
from
July 14, 2026 10:38
91cec46 to
86ae7a7
Compare
…sion gate The 8.10-rc2 image reports redis_version 8.9.241, so gating at 8.10.0 silently skipped the test in CI even though the command is present; the named constant carries the rc mapping.
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
Read-only search command added in parallel with existing FT alias APIs; no auth, data mutation, or cluster routing changes beyond the new command.
Overview
Adds client support for FT.ALIASLIST, which returns all RediSearch aliases for a given index as a
Set<String>.The change wires the command through the usual stack:
SearchCommand.ALIASLISTin the protocol enum,CommandObjects.ftAliasList(round-robin search routing,STRING_SETbuilder), and matching methods onRediSearchCommands,RediSearchPipelineCommands,UnifiedJedis, andPipeliningBase.Integration coverage (
aliasList, gated with@SinceRedisVersionfor 8.10) checks empty alias sets, multiple aliases after add/delete, and server errors for a missing index.Reviewed by Cursor Bugbot for commit d165c3d. Bugbot is set up for automated code reviews on this repo. Configure here.