{"acl_categories":["@search"],"arguments":[{"name":"dict","type":"string"},{"multiple":true,"name":"term","type":"string"}],"categories":["docs","develop","stack","oss","rs","rc","oss","kubernetes","clients"],"complexity":"O(1)","description":"Adds terms to a dictionary","duplicateOf":"head:data-ai-metadata","group":"search","location":"body","since":"1.4.0","syntax_fmt":"FT.DICTADD dict term [term ...]","title":"FT.DICTADD","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":[]}
dict_add(
name: str, // The dictionary nameterms: *str// Terms to add to the dictionary
) → int// Number of terms added
client.ft.dictAdd(
dictionary: RedisArgument, // The dictionary nameterms: Array<RedisArgument> | RedisArgument// Terms to add
) → number// Number of terms added
No method signature available for this client.
ftDictAdd(
dict: String, // The dictionary nameterms: String...// Terms to add
) → long// Number of terms added
ftDictadd(
dict: String, // the dictionary nameterms: String...// the terms to add to the dictionary
) → Long// the number of new terms that were added
ftDictadd(
dict: String, // the dictionary nameterms: String...// the terms to add to the dictionary
) → RedisFuture<Long>// the number of new terms that were added
ftDictadd(
dict: String, // the dictionary nameterms: String...// the terms to add to the dictionary
) → Mono<Long>// the number of new terms that were added
FTDictAdd(
ctx: context.Context,
dict: string, // The dictionary nameterms: ...interface{}// Terms to add
) → *IntCmd// Number of terms added
DictAdd(
dict: string, // The dictionary nameterms: string[]// Terms to add to the dictionary
) → long// Number of terms added
DictAddAsync(
dict: string, // The dictionary nameterms: string[]// Terms to add to the dictionary
) → Task<long>// Number of terms added
ftdictadd(
$dict: string, // The dictionary name$term: string// Terms to add (variadic)
) → int// Number of terms added
ft_dictadd(
dict_name: String, // the dictionary nameterms: Array<String>// the terms to add
) → Integer// the number of new terms added
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.