File tree 1 file changed +13
-1
lines changed
docs/reference/index-modules
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -209,4 +209,16 @@ The maximum number of threads to perform the merge operation. Defaults to
209
209
210
210
A merge scheduler that simply does each merge sequentially using the
211
211
calling thread (blocking the operations that triggered the merge or the
212
- index operation).
212
+ index operation). This merge scheduler has a merge thread pool that
213
+ explicitly schedules merges, and it makes sure that merges are serial
214
+ within a shard, yet concurrent across multiple shards.
215
+
216
+ The scheduler supports the following settings:
217
+
218
+ `index.merge.scheduler.max_merge_at_once`::
219
+
220
+ The maximum number of merges a single merge run performs. This setting prevents
221
+ executing unlimited amount of merges in a loop until another shards has a
222
+ chance to get a merge thread from the pool. If this limit is reached the
223
+ merge thread returns to the pool and continues once the the call to a single
224
+ shards is executed. The default is `5`
You can’t perform that action at this time.
0 commit comments