Skip to content

Commit 269fe6e

Browse files
authored
[DOCS] Fix ILM force merge codec param (#62243)
1 parent 4eb6cd0 commit 269fe6e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ shards are relocating, in which case they will not be merged.
2323
(Required, integer)
2424
Number of segments to merge to. To fully merge the index, set to `1`.
2525

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

3737
[[ilm-forcemerge-action-ex]]
3838
==== Example

0 commit comments

Comments
 (0)