From 3ff5eaed72481280d0df25def7598ecd3c051c27 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:50:40 -0600 Subject: [PATCH] Add compression level param to mapping (#483) (#484) (cherry picked from commit 551c705f06a165834622566ab64dc0f78ea7ab2b) Signed-off-by: Vijayan Balasubramanian Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- vectorsearch/indices/faiss-index.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vectorsearch/indices/faiss-index.json b/vectorsearch/indices/faiss-index.json index b23c9cc5..d6c2c6f6 100644 --- a/vectorsearch/indices/faiss-index.json +++ b/vectorsearch/indices/faiss-index.json @@ -24,6 +24,9 @@ {%- if mode is defined %} "mode": "{{ mode }}", {%- endif %} + {%- if compression_level is defined %} + "compression_level": "{{ compression_level }}", + {%- endif %} {%- if train_model_id is defined %} "model_id": "{{ train_model_id }}" {%- else %}