Skip to content

Commit

Permalink
Fix IT bug (#350)
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Roblin <finnrobl@amazon.com>
  • Loading branch information
finnroblin authored Jul 19, 2024
1 parent 29d9715 commit b7ff271
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vectorsearch/indices/train-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"properties": {
"{{ train_field_name }}": {
"type": "knn_vector",
"dimension": {{ target_index_dimension }}
"dimension": {{ target_index_dimension | default(-1) }}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
4 changes: 2 additions & 2 deletions vectorsearch/workload.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
}
],
Expand Down

0 comments on commit b7ff271

Please sign in to comment.