{
  "schema_version": 2,
  "id": "commands/bf.loadchunk",
  "title": "BF.LOADCHUNK",
  "url": "https://redis.io/docs/latest/commands/bf.loadchunk/",
  "summary": "Restores a filter previously saved using SCANDUMP",
  "since": "1.0.0",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-09-18T09:48:54+01:00",
  "page_type": "content",
  "content_hash": "8951bdea0b7b9b6c300d4ae734cfa3a0ca40b8d0bf02d1a8cfa40b4f658f3918",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Restores a Bloom filter previously saved using [`BF.SCANDUMP`](https://redis.io/docs/latest/commands/bf.scandump).\n\nSee the [`BF.SCANDUMP`](https://redis.io/docs/latest/commands/bf.scandump) command for example usage.\n\n<note><b>Notes</b>\n\n- This command overwrites the Bloom filter stored under `key`. \n- Make sure that the Bloom filter is not changed between invocations.\n\n</note>"
    },
    {
      "id": "required-arguments",
      "title": "Required arguments",
      "role": "content",
      "text": "<details open><summary><code>key</code></summary>\n\nis key name for a Bloom filter to restore.\n</details>\n\n<details open><summary><code>iterator</code></summary>\n\nIterator value associated with `data` (returned by [`BF.SCANDUMP`](https://redis.io/docs/latest/commands/bf.scandump))\n</details>\n\n<details open><summary><code>data</code></summary>\n\nCurrent data chunk (returned by [`BF.SCANDUMP`](https://redis.io/docs/latest/commands/bf.scandump))\n</details>"
    },
    {
      "id": "examples",
      "title": "Examples",
      "role": "example",
      "text": "See [`BF.SCANDUMP`](https://redis.io/docs/latest/commands/bf.scandump) for an example."
    },
    {
      "id": "redis-software-and-redis-cloud-compatibility",
      "title": "Redis Software and Redis Cloud compatibility",
      "role": "content",
      "text": "| Redis<br />Software | Redis<br />Cloud | <span style=\"min-width: 9em; display: table-cell\">Notes</span> |\n|:----------------------|:-----------------|:------|\n| <span title=\"Supported\">&#x2705; Supported</span><br /> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> |  |"
    },
    {
      "id": "return-information",
      "title": "Return information",
      "role": "returns",
      "text": "**RESP2:**\n\nOne of the following:\n* [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-strings): `OK` if executed correctly.\n* [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, wrong key type, or when invalid data was passed.\n\n**RESP3:**\n\nOne of the following:\n* [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-strings): `OK` if executed correctly.\n* [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, wrong key type, or when invalid data was passed."
    }
  ],
  "examples": []
}
