Name/key of the filter
Options
Add an item to the filter
Item
Increment
null if no change occurred, item dropped from the filter otherwise
Connect to Redis server
Count the number of occurrences an item may be in the filter. Because this is a probabilistic data structure, this may not necessarily be accurate.
Item
The number of occurrences of item
Disconnect from Redis server
Check if an item already exists in the filter
Item
1 if item may exist, 0 if item certainly does not exist
Get full list of items in the filter
Full list of items in the filter
Initialize the filter
The number of top items to keep
The number of counter in each array
The number of counter-arrays
The probability of reducing a counter in an occupied bucket
OK on success, error otherwise
Reset the filter
1 on success, 0 otherwise
TopK filter