Skip to content

Implement FT.ALIASADD, FT.ALIASUPDATE, and FT.ALIASDEL #5962

@vyavdoshenko

Description

@vyavdoshenko

Alias management commands (FT.ALIASADD, FT.ALIASUPDATE, FT.ALIASDEL) allow users to assign stable, human-readable names to existing indexes.

Expected behavior:

FT.ALIASADD

  • Creates a new alias for the specified index.
  • Returns an error if the alias already exists.

FT.ALIASUPDATE

  • Adds or updates an alias to point to a new index.
  • If the alias doesn’t exist, it is created.
  • If it exists, it’s updated atomically to point to the new index.

FT.ALIASDEL

  • Deletes an existing alias without removing the underlying index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions