BF.ADD
Syntax
BF.ADD key item
Time complexity: O(1)
ACL categories: @bloom
Adds a single item to a Bloom filter key.
If the key does not exist, a new Bloom filter is created with default parameters.
Return
1if the item was successfully added to the filter.0if the item was already added to the filter, which could be a false positive.
Examples
dragonfly> BF.ADD bf Hello
(integer) 1
dragonfly> BF.ADD bf Hello
(integer) 0