Name/key of the filter
Options
Add an item to the filter
Item
1 if item was newly added, 0 if it may have already existed
Connect to Redis server
Disconnect from Redis server
Check whether an item may already exist in the filter
Item
1 if item may exist, 0 if item certainly does not exist
Get filter info
Array of string
Add items to the filter
Array of items
Array of integers, each is either 1 or 0 depending on whether the corresponding item was newly added or may have already existed
Check whether items may already exist in the filter
Array of items
Array of integers, each is either 1 or 0 depending on whether the corresponding item may exist or certainly does not exist
Reserve space for the filter
The desired probability for false positives
The number of entries intended to be added to the filter
Expansion rate. If expansionRate <= 0, the filter is non-scalable.
OK on success, error otherwise
Reset the filter
1 on success, 0 otherwise
Bloom filter