{
  "schema_version": 2,
  "id": "commands/cf.loadchunk",
  "title": "CF.LOADCHUNK",
  "url": "https://redis.io/docs/latest/commands/cf.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": "d28ea5eec7d961683237c6529ef7953bc7307e5d1f6012f3d4659af12faf55f4",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Restores a cuckoo filter previously saved using [`CF.SCANDUMP`](https://redis.io/docs/latest/commands/cf.scandump).\n\nSee the [`CF.SCANDUMP`](https://redis.io/docs/latest/commands/cf.scandump) command for example usage.\n\n<note><b>Notes</b>\n\n- This command overwrites the cuckoo filter stored under `key`.\n- Make sure that the cuckoo 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 cuckoo filter to restore.\n</details>\n\n<details open><summary><code>iterator</code></summary>\n\nIterator value associated with `data` (returned by [`CF.SCANDUMP`](https://redis.io/docs/latest/commands/cf.scandump))\n</details>\n\n<details open><summary><code>data</code></summary>\n\nCurrent data chunk (returned by [`CF.SCANDUMP`](https://redis.io/docs/latest/commands/cf.scandump))\n</details>"
    },
    {
      "id": "examples",
      "title": "Examples",
      "role": "example",
      "text": "See [`CF.SCANDUMP`](https://redis.io/docs/latest/commands/cf.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": []
}
