Skip to content

Commit 73018d2

Browse files
authored
[DOCS] Fix ILM force merge codec param (#62243) (#62252)
1 parent 1aba2ea commit 73018d2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/reference/ilm/actions/ilm-forcemerge.asciidoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ If no rollover action is configured, {ilm-init} will reject the policy.
1919
(Required, integer)
2020
Number of segments to merge to. To fully merge the index, set to `1`.
2121

22-
`codec`::
23-
(Optional, string)
24-
Use the `best_compression` codec. Valid values: `best_compression`.
22+
`index_codec`::
23+
(Optional, string)
24+
Codec used to compress the document store. The only accepted value is
25+
`best_compression`, which uses {wikipedia}/DEFLATE[DEFLATE] for a higher
26+
compression ratio but slower stored fields performance. To use the default LZ4
27+
codec, omit this argument.
2528
+
26-
[WARNING]
27-
======
28-
Setting `"codec": "best_compression"` in the {ilm-init} forcemerge action causes {ilm-int} to
29-
<<indices-close,close>> and then <<indices-open-close,re-open>> the index prior to the force merge.
30-
During this time, the index is unavailable for both read and write operations.
31-
======
29+
WARNING: If using `best_compression`, {ilm-init} will <<indices-close,close>>
30+
and then <<indices-open-close,re-open>> the index prior to the force merge.
31+
While closed, the index will be unavailable for read or write operations.
3232

3333
[[ilm-forcemerge-action-ex]]
3434
==== Example

0 commit comments

Comments
 (0)