From 5be2380c835c9c5cd5b32effd47e97ee3fa990f0 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 19 Jul 2024 12:25:28 -0500 Subject: [PATCH] Fix IT bug (#350) (#352) (cherry picked from commit b7ff271212bfb3398c1bfb33169018c56a87b284) Signed-off-by: Finn Roblin Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- vectorsearch/indices/train-index.json | 2 +- vectorsearch/test_procedures/common/train-model-schedule.json | 2 +- vectorsearch/workload.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vectorsearch/indices/train-index.json b/vectorsearch/indices/train-index.json index ea499daf..ad75bbcd 100644 --- a/vectorsearch/indices/train-index.json +++ b/vectorsearch/indices/train-index.json @@ -13,7 +13,7 @@ "properties": { "{{ train_field_name }}": { "type": "knn_vector", - "dimension": {{ target_index_dimension }} + "dimension": {{ target_index_dimension | default(-1) }} } } } diff --git a/vectorsearch/test_procedures/common/train-model-schedule.json b/vectorsearch/test_procedures/common/train-model-schedule.json index 11b74174..60557567 100644 --- a/vectorsearch/test_procedures/common/train-model-schedule.json +++ b/vectorsearch/test_procedures/common/train-model-schedule.json @@ -14,7 +14,7 @@ "training_index": "{{ train_index_name | default('train_index') }}", "training_field": "{{ train_field_name | default('train_field') }}", "search_size": "{{ train_search_size | default(10000) }}", - "dimension": {{ target_index_dimension }}, + "dimension": {{ target_index_dimension | default(-1) }}, {%- if train_max_vector_count is defined and train_max_vector_count %} "max_training_vector_count": "{{ train_max_vector_count }}", {%- endif %} diff --git a/vectorsearch/workload.json b/vectorsearch/workload.json index c5f2940c..fad1e057 100644 --- a/vectorsearch/workload.json +++ b/vectorsearch/workload.json @@ -4,11 +4,11 @@ "description": "Benchmark vector search engine performance for different engine types like faiss, lucene and nmslib", "indices": [ { - "name": "{{ target_index_name }}", + "name": "{{ target_index_name | default('target_index') }}", "body": "{{ target_index_body }}" }, { - "name": "{{ train_index_name }}", + "name": "{{ train_index_name | default('train_index') }}", "body": "{{ train_index_body }}" } ],