Skip to content

Commit

Permalink
[DOCS] Fix ILM force merge codec param (#62243)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Sep 10, 2020
1 parent 4eb6cd0 commit 269fe6e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/reference/ilm/actions/ilm-forcemerge.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ shards are relocating, in which case they will not be merged.
(Required, integer)
Number of segments to merge to. To fully merge the index, set to `1`.

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

[[ilm-forcemerge-action-ex]]
==== Example
Expand Down

0 comments on commit 269fe6e

Please sign in to comment.