Module Hub Beta

SBF.INIT

key capacity error-rate

Initializes a new scaling counting Bloom filter.

Use this to specify other-than-the-default capacity (100000) and error rate (0.05) for the filter.

Return Value

String reply: “OK”.

Examples

redis> SBF.INIT bloom 1000 0.005
OK

© 2017 Redis Labs, Inc. All rights reserved.