Skip to content

Commit eaa8cb0

Browse files
afoucretmridula-s109
authored andcommitted
[ES|QL] Fix mapping for the colors & dense vector CSV datasets (failing bwc tests) (elastic#130090)
1 parent e480afd commit eaa8cb0

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,6 @@ tests:
555555
- class: org.elasticsearch.xpack.inference.qa.mixed.CohereServiceMixedIT
556556
method: testCohereEmbeddings
557557
issue: https://github.com/elastic/elasticsearch/issues/130010
558-
- class: org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT
559-
issue: https://github.com/elastic/elasticsearch/issues/128224
560558
- class: org.elasticsearch.xpack.esql.qa.multi_node.GenerativeIT
561559
method: test
562560
issue: https://github.com/elastic/elasticsearch/issues/130067

x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-colors.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"type": "dense_vector",
1414
"similarity": "l2_norm",
1515
"index_options": {
16-
"type": "hnsw"
16+
"type": "hnsw",
17+
"m": 16,
18+
"ef_construction": 100
1719
}
1820
}
1921
}

x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-dense_vector.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
},
66
"vector": {
77
"type": "dense_vector",
8-
"similarity": "l2_norm"
8+
"similarity": "l2_norm",
9+
"index_options": {
10+
"type": "hnsw",
11+
"m": 16,
12+
"ef_construction": 100
13+
}
914
}
1015
}
1116
}

0 commit comments

Comments
 (0)