{"acl_categories":["@search"],"arguments":[{"name":"alias","type":"string"},{"name":"index","type":"string"}],"categories":["docs","develop","stack","oss","rs","rc","oss","kubernetes","clients"],"complexity":"O(1)","description":"Adds or updates an alias to the index","duplicateOf":"head:data-ai-metadata","group":"search","location":"body","since":"1.0.0","syntax_fmt":"FT.ALIASUPDATE alias index","title":"FT.ALIASUPDATE","tableOfContents":{"sections":[{"id":"required-arguments","title":"Required arguments"},{"id":"examples","title":"Examples"},{"id":"redis-software-and-redis-cloud-compatibility","title":"Redis Software and Redis Cloud compatibility"},{"id":"return-information","title":"Return information"},{"id":"see-also","title":"See also"},{"id":"related-topics","title":"Related topics"}]},"codeExamples":[]}
aliasupdate(
alias: str// The alias name to update
) → str// OK on success
client.ft.aliasUpdate(
alias: RedisArgument, // The alias nameindex: RedisArgument// The index name
) → string// OK on success
ioredis has no dedicated method for this command. Send it with call.
ftAliasUpdate(
aliasName: String, // The alias nameindexName: String// The index name
) → String// OK on success
ftAliasupdate(
alias: String, // the alias name to update or createindex: String// the target index name that the alias will point to
) → String// "OK" if the alias was successfully updated
ftAliasupdate(
alias: String, // the alias name to update or createindex: String// the target index name that the alias will point to
) → RedisFuture<String>// "OK" if the alias was successfully updated
ftAliasupdate(
alias: String, // the alias name to update or createindex: String// the target index name that the alias will point to
) → Mono<String>// "OK" if the alias was successfully updated
FTAliasUpdate(
ctx: context.Context,
index: string, // The index namealias: string// The alias name
) → *StatusCmd// OK on success
AliasUpdate(
alias: string, // The alias nameindex: string// The index name
) → bool// true if the alias was updated
AliasUpdateAsync(
alias: string, // The alias nameindex: string// The index name
) → Task<bool>// true if the alias was updated
ftaliasupdate(
$alias: string, // The alias name$index: string// The index name
) → Status// OK on success
ft_aliasupdate(
alias_name: String, // the aliasindex_name: String// the index the alias should point to
) → String// "OK"
redis-rs has no dedicated method for this command. Send it with redis::cmd.
redis-rs has no dedicated method for this command. Send it with redis::cmd.