[フレーム]
Docs Pricing
Login Book a meeting Try Redis

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,
Compatibility:
Redis Enterprise and Redis Cloud compatibility

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.

Examples

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

Redis Enterprise and Redis Cloud compatibility

Redis
Enterprise
Redis Cloud
Flexible & Annual
Redis Cloud
Free & Fixed
Notes
⚠️ Not supported1 ⚠️ Not supported2 ❌ Not supported
  1. Use rladmin or the REST API to change search and query configuration for Redis Enterprise Software. See search and query configuration compatibility with Redis Enterprise for more information and examples.

  2. Contact support to view the current configuration values or request configuration changes for Flexible or Annual Redis Cloud subscriptions.

Return information

One of the following:

See also

FT.CONFIG GET | FT.CONFIG HELP

RediSearch

RATE THIS PAGE
Back to top ↑

AltStyle によって変換されたページ (->オリジナル) /