FT.CONFIG SET (deprecated)

As of Search version 8.0.0, this command is regarded as deprecated.

It can be replaced by CONFIG SET when migrating or writing new code.

Syntax
FT.CONFIG SET option value
Available in:
Redis CE / Search 1.0.0
Time complexity:
O(1)
ACL categories:
@admin, @search,

Set the value of a RediSearch configuration parameter.

Values set using FT.CONFIG SET are not persisted after server restart.

RediSearch configuration parameters are detailed in Configuration parameters.

Note:
As detailed in the link above, not all RediSearch configuration parameters can be set at runtime.

Examples

Required arguments

option

is name of the configuration option, or '*' for all.

value

is value of the configuration option.

Return

FT.CONFIG SET returns a simple string reply OK if executed correctly, or an error reply otherwise.

Examples

Set runtime configuration options
127.0.0.1:6379> FT.CONFIG SET TIMEOUT 42
OK

See also

FT.CONFIG GET | FT.CONFIG HELP

RediSearch


RATE THIS PAGE
Back to top ↑