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 Open Source / 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.Required arguments
option
is name of the configuration option, or '*' for all.
value
is value of the configuration option.
Examples
Set runtime configuration options
127.0.0.1:6379> FT.CONFIG SET TIMEOUT 42
OKReturn information
One of the following:
- Simple string reply:
OKif executed correctly. - Simple error reply in these cases: invalid option, invalid value.
See also
FT.CONFIG GET | FT.CONFIG HELP