BF.LOADCHUNK key iterator data

Available in: Redis Stack

Time complexity: O(n), where n is the capacity

Restores a filter previously saved using SCANDUMP. See the SCANDUMP command for example usage.

This command overwrites any bloom filter stored under key. Make sure that the bloom filter is not be changed between invocations.

Parameters

  • key: Name of the key to restore
  • iter: Iterator value associated with data (returned by SCANDUMP)
  • data: Current data chunk (returned by SCANDUMP)

Return

[] otherwise.

Examples

See BF.SCANDUMP for an example.