From 209c631d6a7ae5f86e5bec303fb996132a128464 Mon Sep 17 00:00:00 2001 From: afoucret Date: Thu, 26 Jun 2025 12:41:26 +0200 Subject: [PATCH 1/2] Fix mapping for the colors CSV dataset. --- muted-tests.yml | 2 -- .../qa/testFixtures/src/main/resources/mapping-colors.json | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 78f83034cc765..12fd1f2d08ceb 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -567,8 +567,6 @@ tests: - class: org.elasticsearch.xpack.inference.qa.mixed.CohereServiceMixedIT method: testCohereEmbeddings issue: https://github.com/elastic/elasticsearch/issues/130010 -- class: org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT - issue: https://github.com/elastic/elasticsearch/issues/128224 - class: org.elasticsearch.xpack.autoscaling.storage.ReactiveStorageIT method: testScaleDuringSplitOrClone issue: https://github.com/elastic/elasticsearch/issues/130044 diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-colors.json b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-colors.json index 24c4102e428f8..0d7373e300267 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-colors.json +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-colors.json @@ -13,7 +13,9 @@ "type": "dense_vector", "similarity": "l2_norm", "index_options": { - "type": "hnsw" + "type": "hnsw", + "m": 16, + "ef_construction": 100 } } } From 7a1ad76981c0fd13fc582c27b16fbe5a52ed0d84 Mon Sep 17 00:00:00 2001 From: afoucret Date: Thu, 26 Jun 2025 12:55:25 +0200 Subject: [PATCH 2/2] Adding explicit index options for the dense_vector dataset. --- .../src/main/resources/mapping-dense_vector.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-dense_vector.json b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-dense_vector.json index 572d9870d09da..9c7d34f0f15e4 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-dense_vector.json +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/mapping-dense_vector.json @@ -5,7 +5,12 @@ }, "vector": { "type": "dense_vector", - "similarity": "l2_norm" + "similarity": "l2_norm", + "index_options": { + "type": "hnsw", + "m": 16, + "ef_construction": 100 + } } } }