Skip to content

Commit 8fe90d3

Browse files
authored
Update configuration parameters for BG_INDEX_SLEEP_GAP
Added new configuration parameters for background indexing.
1 parent b1f3d4d commit 8fe90d3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

content/develop/ai/search-and-query/administration/configuration.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ The following table summarizes which configuration parameters can be set at run-
3131

3232
| Parameter name<br />(version < 8.0) | Parameter name<br />(version &#8805; 8.0) | Run-time | Redis<br />Software | Redis<br />Cloud |
3333
| :------- | :------- | :------- | :------- | :------- |
34-
| BG_INDEX_SLEEP_GAP | [search-bg-index-sleep-gap](#search-bg-index-sleep-gap) | :white_large_square: |||
34+
| BG_INDEX_SLEEP_GAP | [search-bg-index-sleep-gap](#search-bg-index-sleep-gap) | :white_large_square: | <span title="Supported">&#x2705; Supported</span><br /><span><br /></span> | <span title="Not supported"><nobr>&#x274c; Flexible & Annual</span><br /><span title="Not supported"><nobr>&#x274c; Free & Fixed</nobr></span> |
35+
| BG_INDEX_SLEEP_DURATION_US | [search-bg-index-sleep-duration-us](#search-bg-index-sleep-duration-us) | :white_large_square: |||
3536
| CONCURRENT_WRITE_MODE | [search-concurrent-write-mode](#search-concurrent-write-mode) | :white_check_mark: | <span title="Supported">&#x2705; Supported</span><br /><span><br /></span> | <span title="Supported">&#x2705; Flexible & Annual</span><br /><span title="Not supported"><nobr>&#x274c; Free & Fixed</nobr></span> |
3637
| CONN_PER_SHARD | [search-conn-per-shard](#search-conn-per-shard) | :white_check_mark: |||
3738
| CURSOR_MAX_IDLE | [search-cursor-max-idle](#search-cursor-max-idle) | :white_check_mark: | <span title="Supported">&#x2705; Supported</span><br /><span><br /></span> | <span title="Supported">&#x2705; Flexible & Annual</span><br /><span title="Not supported"><nobr>&#x274c; Free & Fixed</nobr></span> |
@@ -96,6 +97,16 @@ Valid range: `[1 .. 4294967295]`
9697

9798
Default: `100`
9899

100+
### search-bg-index-sleep-duration-us
101+
102+
The sleep duration (in microseconds) used during background indexing. During background indexing (triggered by `FT.CREATE` on existing keys), Redis periodically sleeps to allow the main thread to process commands. This parameter controls how long each sleep lasts. Works in conjunction with [`search-bg-index-sleep-gap`](#search-bg-index-sleep-gap), which controls how many iterations occur between sleeps.
103+
104+
Type: integer
105+
106+
Valid range: `[1 .. 999999]`
107+
108+
Default: `1`
109+
99110
### search-concurrent-write-mode
100111

101112
If enabled, the tokenization of write queries will be performed concurrently.

0 commit comments

Comments
 (0)