搜索和查询配置与 Redis Enterprise 的兼容性
搜索和查询 Redis Enterprise Software 和 Redis Cloud 支持的配置设置。
Redis 堆栈 |
---|
要在 Redis Enterprise Software 或 Redis Cloud 中配置 RediSearch,请使用以下方法之一,而不是FT.CONFIG SET
.
在 Redis Cloud 中配置搜索
对于 Redis Cloud:
在 Redis Software 中配置搜索
对于 Redis Enterprise Software,请使用以下方法之一:
-
集群管理器 UI:
-
从 Databases 列表中,选择数据库,然后单击 Configuration。
-
选择 Edit 按钮。
-
在 Capabilities (功能) 部分中,单击 Parameters (参数)。
-
在 RediSearch 框中输入设置名称和设置值。
在 Query Performance Factor (查询性能因子) 部分中,您可以配置设置以提高查询性能。有关更多信息,请参阅在 Redis Enterprise 中为 Redis 查询引擎配置查询性能因子。
-
编辑完模块的配置参数后,单击 Done 关闭参数编辑器。
-
单击 Save (保存)。
-
-
$ rladmin tune db db:<ID|name> module_name search \ module_config_params "setting-name setting-value"
-
Configure module REST API request:
POST /v1/modules/config/bdb/<ID> { "modules": [ { "module_name": "search", "module_args": "setting-name setting-value" } ] }
Configuration settings
Setting
Redis
Enterprise
Redis
Cloud
Notes
CONCURRENT_WRITE_MODE
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: Not enabled
CURSOR_MAX_IDLE
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 300000
CURSOR_READ_SIZE
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 1000
DEFAULT_DIALECT
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 1
EXTLOAD
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: None
FORK_GC_CLEAN_THRESHOLD
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 100
FORK_GC_RETRY_INTERVAL
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 5
FORK_GC_RUN_INTERVAL
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 30
FRISOINI
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: Not set
GC_POLICY
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: FORK
GC_SCANSIZE
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 100
MAXAGGREGATERESULTS
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Redis Enterprise default: Unlimited
Redis Cloud defaults:
• Flexible & Annual: Unlimited
• Free & Fixed: 10000
MAXDOCTABLESIZE
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 1000000
MAXPREFIXEXPANSIONS
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 200
MAXSEARCHRESULTS
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Redis Enterprise default: 1000000
Redis Cloud defaults:
• Flexible & Annual: 1000000
• Free & Fixed: 10000
MINPREFIX
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 2
MINSTEMLEN
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 2
NOGC
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: Not set
ON_TIMEOUT
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: RETURN
OSS_GLOBAL_PASSWORD
✅ Supported
❌ Flexible & Annual
❌ Free & Fixed
PARTIAL_INDEXED_DOCS
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: 0
TIMEOUT
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Redis Enterprise default: 500
Redis Cloud defaults:
• Flexible & Annual: 500
• Free & Fixed: 100
UNION_ITERATOR_HEAP
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
UPGRADE_INDEX
✅ Supported
✅ Flexible & Annual
❌ Free & Fixed
Default: No default index name
On this page