FT.CONFIG SET

Syntax
FT.CONFIG SET option value
Available in:
Redis Stack / Search 1.0.0
Time complexity:
O(1)

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