{
  "schema_version": 2,
  "id": "commands/ft.config-set",
  "title": "FT.CONFIG SET",
  "url": "https://redis.io/docs/latest/commands/ft.config-set/",
  "summary": "Sets runtime configuration options",
  "since": "1.0.0",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-09-18T09:47:58+01:00",
  "page_type": "content",
  "content_hash": "b6a826f1e836515e42b19b2efdfdeedea2e0a35848f10521de3d2667390ce83d",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Set the value of a RediSearch configuration parameter.\n\nValues set using `FT.CONFIG SET` are not persisted after server restart.\n\nRediSearch configuration parameters are detailed in [Configuration parameters](https://redis.io/docs/latest/develop/ai/search-and-query/administration/configuration).\n\n> [!NOTE]\n> As detailed in the link above, not all RediSearch configuration parameters can be set at runtime.\n\n[Examples](#examples)"
    },
    {
      "id": "required-arguments",
      "title": "Required arguments",
      "role": "content",
      "text": "<details open>\n<summary><code>option</code></summary> \n\nis name of the configuration option, or '*' for all. \n</details>\n\n<details open>\n<summary><code>value</code></summary> \n\nis value of the configuration option. \n</details>"
    },
    {
      "id": "examples",
      "title": "Examples",
      "role": "example",
      "text": "<details open>\n<summary><b>Set runtime configuration options</b></summary>\n\n\n127.0.0.1:6379> FT.CONFIG SET TIMEOUT 42\nOK\n\n</details>"
    },
    {
      "id": "redis-software-and-redis-cloud-compatibility",
      "title": "Redis Software and Redis Cloud compatibility",
      "role": "content",
      "text": "| Redis<br />Software | Redis Cloud<br />Flexible & Annual | Redis Cloud<br />Free & Fixed | <span style=\"min-width: 9em; display: table-cell\">Notes</span> |\n|:----------------------|:-----------------|:-----------------|:------|\n| <span title=\"Not supported\"><nobr>&#x26A0;&#xFE0F; Not supported</span><sup>1</sup> | <span title=\"Not supported\"><nobr>&#x26A0;&#xFE0F; Not supported</span><sup>2</sup> | <span title=\"Not supported\"><nobr>&#x274c; Not supported</nobr></span> |  |\n\n1. Use [`rladmin`](https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin) or the [REST API](https://redis.io/docs/latest/operate/rs/references/rest-api) to change search and query configuration for Redis Software. See [search and query configuration compatibility with Redis Software](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/config) for more information and examples.\n\n2. [Contact support](https://redis.com/company/support/) to view the current configuration values or request configuration changes for Flexible or Annual Redis Cloud subscriptions."
    },
    {
      "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 option, invalid value.\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 option, invalid value."
    },
    {
      "id": "see-also",
      "title": "See also",
      "role": "related",
      "text": "[`FT.CONFIG GET`](https://redis.io/docs/latest/commands/ft.config-get) | [`FT.CONFIG HELP`](https://redis.io/docs/latest/commands/ft.config-help)"
    },
    {
      "id": "related-topics",
      "title": "Related topics",
      "role": "related",
      "text": "[RediSearch](https://redis.io/docs/latest/develop/ai/search-and-query)"
    }
  ],
  "examples": []
}
