Skip to content

Commit

Permalink
Update index-codecs.md
Browse files Browse the repository at this point in the history
qat_deflate does not work on 2.14, it does on 2.15.

2.14:

{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "unknown value for [index.codec] must be one of [default, lz4, best_compression, zlib] but was: qat_deflate"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "unknown value for [index.codec] must be one of [default, lz4, best_compression, zlib] but was: qat_deflate"
  },
  "status": 400
}

2.15:
{
  "acknowledged": true,
  "shards_acknowledged": true,
  "index": "x"
}

Signed-off-by: Sander van de Geijn <[email protected]>
  • Loading branch information
sandervandegeijn authored Jul 25, 2024
1 parent fdfd53f commit 9ac2ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _im-plugin/index-codecs.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ As of OpenSearch 2.14, hardware-accelerated compression codecs for the `DEFLATE`

The new hardware-accelerated codecs can be used by setting one of the following `index.codec` values:
* `qat_lz4` (OpenSearch 2.14 and later): Hardware-accelerated `LZ4`
* `qat_deflate` (OpenSearch 2.14 and later): Hardware-accelerated `DEFLATE`
* `qat_deflate` (OpenSearch 2.15 and later): Hardware-accelerated `DEFLATE`

`qat_deflate` offers a much better compression ratio than `qat_lz4`, with a modest drop in compression and decompression speed.
{: .note}
Expand Down

0 comments on commit 9ac2ff1

Please sign in to comment.