Skip to content

Commit 61c86d3

Browse files
committed
updating test
1 parent 0daa391 commit 61c86d3

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/70_dense_vector_telemetry.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ setup:
1313
index.number_of_shards: 2
1414
mappings:
1515
properties:
16-
vector1:
16+
vector_hnsw_explicit:
1717
type: dense_vector
1818
dims: 768
1919
index: true
@@ -23,12 +23,16 @@ setup:
2323
type: hnsw
2424
m: 16
2525
ef_construction: 100
26-
vector2:
26+
vector_bbq_default:
2727
type: dense_vector
2828
dims: 1024
2929
index: true
3030
similarity: dot_product
31-
vector3:
31+
vector_int8_hnsw_default:
32+
type: dense_vector
33+
dims: 100
34+
index: true
35+
vector_no_index:
3236
type: dense_vector
3337
dims: 100
3438
index: false
@@ -52,10 +56,10 @@ setup:
5256
- do: { cluster.stats: { } }
5357
- length: { indices.mappings.field_types: 1 }
5458
- match: { indices.mappings.field_types.0.name: dense_vector }
55-
- match: { indices.mappings.field_types.0.count: 4 }
59+
- match: { indices.mappings.field_types.0.count: 5 }
5660
- match: { indices.mappings.field_types.0.index_count: 2 }
57-
- match: { indices.mappings.field_types.0.indexed_vector_count: 3 }
58-
- match: { indices.mappings.field_types.0.indexed_vector_dim_min: 768 }
61+
- match: { indices.mappings.field_types.0.indexed_vector_count: 4 }
62+
- match: { indices.mappings.field_types.0.indexed_vector_dim_min: 100 }
5963
- match: { indices.mappings.field_types.0.indexed_vector_dim_max: 1024 }
6064
---
6165
"Field mapping stats with field details":
@@ -70,15 +74,16 @@ setup:
7074
- do: { cluster.stats: { } }
7175
- length: { indices.mappings.field_types: 1 }
7276
- match: { indices.mappings.field_types.0.name: dense_vector }
73-
- match: { indices.mappings.field_types.0.count: 4 }
77+
- match: { indices.mappings.field_types.0.count: 5 }
7478
- match: { indices.mappings.field_types.0.index_count: 2 }
75-
- match: { indices.mappings.field_types.0.indexed_vector_count: 3 }
76-
- match: { indices.mappings.field_types.0.indexed_vector_dim_min: 768 }
79+
- match: { indices.mappings.field_types.0.indexed_vector_count: 4 }
80+
- match: { indices.mappings.field_types.0.indexed_vector_dim_min: 100 }
7781
- match: { indices.mappings.field_types.0.indexed_vector_dim_max: 1024 }
7882
- match: { indices.mappings.field_types.0.vector_index_type_count.hnsw: 1 }
79-
- match: { indices.mappings.field_types.0.vector_index_type_count.int8_hnsw: 2 }
83+
- match: { indices.mappings.field_types.0.vector_index_type_count.int8_hnsw: 1 }
84+
- match: { indices.mappings.field_types.0.vector_index_type_count.bbq_hnsw: 2 }
8085
- match: { indices.mappings.field_types.0.vector_index_type_count.not_indexed: 1 }
8186
- match: { indices.mappings.field_types.0.vector_similarity_type_count.l2_norm: 2 }
8287
- match: { indices.mappings.field_types.0.vector_similarity_type_count.dot_product: 1 }
83-
- match: { indices.mappings.field_types.0.vector_element_type_count.float: 3 }
88+
- match: { indices.mappings.field_types.0.vector_element_type_count.float: 4 }
8489
- match: { indices.mappings.field_types.0.vector_element_type_count.byte: 1 }

0 commit comments

Comments
 (0)