From 7328a1871b30b79958736d9fbc90d85535077872 Mon Sep 17 00:00:00 2001 From: Michail Romaios Date: Wed, 26 Nov 2025 18:25:11 +0100 Subject: [PATCH 1/4] test: temporarily mute tests involving subobjects --- muted-tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/muted-tests.yml b/muted-tests.yml index 429cf9ad0ad86..ff9a64eff7c2f 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -540,6 +540,16 @@ tests: - class: org.elasticsearch.versioning.ConcurrentSeqNoVersioningIT method: testSeqNoCASLinearizability issue: https://github.com/elastic/elasticsearch/issues/117249 +- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/138649 + methods: + - test {p0=index/92_metrics_auto_subobjects/Metrics object indexing} + - test {p0=index/92_metrics_auto_subobjects/Root without subobjects with synthetic source} + - test {p0=index/92_metrics_auto_subobjects/Metrics object indexing with synthetic source} + - test {p0=indices.put_index_template/15_composition/Composable index templates that include subobjects: auto at root} + - test {p0=search/330_fetch_fields/Test with subobjects: auto} + - test {p0=indices.put_index_template/15_composition/Composable index templates that include subobjects: auto on arbitrary field} + - test {p0=index/92_metrics_auto_subobjects/Root with metrics} # Examples: # From c59377cc4d35a24faacf17091dfc8d70d2185f1c Mon Sep 17 00:00:00 2001 From: Michail Romaios Date: Wed, 26 Nov 2025 18:41:26 +0100 Subject: [PATCH 2/4] simplify muted tests --- muted-tests.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index ff9a64eff7c2f..19181af9e1029 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -542,14 +542,6 @@ tests: issue: https://github.com/elastic/elasticsearch/issues/117249 - class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT issue: https://github.com/elastic/elasticsearch/issues/138649 - methods: - - test {p0=index/92_metrics_auto_subobjects/Metrics object indexing} - - test {p0=index/92_metrics_auto_subobjects/Root without subobjects with synthetic source} - - test {p0=index/92_metrics_auto_subobjects/Metrics object indexing with synthetic source} - - test {p0=indices.put_index_template/15_composition/Composable index templates that include subobjects: auto at root} - - test {p0=search/330_fetch_fields/Test with subobjects: auto} - - test {p0=indices.put_index_template/15_composition/Composable index templates that include subobjects: auto on arbitrary field} - - test {p0=index/92_metrics_auto_subobjects/Root with metrics} # Examples: # From cb1ff65b84a84453f0ee08e0a228a05907bc351c Mon Sep 17 00:00:00 2001 From: Michail Romaios Date: Wed, 26 Nov 2025 20:14:07 +0100 Subject: [PATCH 3/4] repurpose pr --- muted-tests.yml | 19 +++++++++++++++++++ .../xpack/inference/InferenceFeatures.java | 4 ++++ 2 files changed, 23 insertions(+) diff --git a/muted-tests.yml b/muted-tests.yml index 19181af9e1029..e3c0042adbc28 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -542,6 +542,25 @@ tests: issue: https://github.com/elastic/elasticsearch/issues/117249 - class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT issue: https://github.com/elastic/elasticsearch/issues/138649 + method: test {p0=index/92_metrics_auto_subobjects/Metrics object indexing} +- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/138649 + method: test {p0=index/92_metrics_auto_subobjects/Root without subobjects with synthetic source} +- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/138649 + method: test {p0=index/92_metrics_auto_subobjects/Metrics object indexing with synthetic source} +- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/138649 + method: "test {p0=indices.put_index_template/15_composition/Composable index templates that include subobjects: auto at root}" +- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/138649 + method: "test {p0=search/330_fetch_fields/Test with subobjects: auto}" +- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/138649 + method: "test {p0=indices.put_index_template/15_composition/Composable index templates that include subobjects: auto on arbitrary field}" +- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT + issue: https://github.com/elastic/elasticsearch/issues/138649 + method: test {p0=index/92_metrics_auto_subobjects/Root with metrics} # Examples: # diff --git a/x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferenceFeatures.java b/x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferenceFeatures.java index 4942c0a86a194..a14f89a83a596 100644 --- a/x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferenceFeatures.java +++ b/x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferenceFeatures.java @@ -40,6 +40,9 @@ public class InferenceFeatures implements FeatureSpecification { private static final NodeFeature SEMANTIC_TEXT_HIGHLIGHTER_DISKBBQ_SIMILARITY_SUPPORT = new NodeFeature( "semantic_text.highlighter.bbq_and_similarity_support" ); + private static final NodeFeature SEMANTIC_TEXT_HIGHLIGHTER_VECTOR_SIMILARITY_SUPPORT = new NodeFeature( + "semantic_text.highlighter.vector_similarity_support" + ); private static final NodeFeature TEST_RERANKING_SERVICE_PARSE_TEXT_AS_SCORE = new NodeFeature( "test_reranking_service.parse_text_as_score" ); @@ -97,6 +100,7 @@ public Set getTestFeatures() { SEMANTIC_TEXT_SPARSE_VECTOR_INDEX_OPTIONS, SEMANTIC_TEXT_FIELDS_CHUNKS_FORMAT, SEMANTIC_TEXT_HIGHLIGHTER_DISKBBQ_SIMILARITY_SUPPORT, + SEMANTIC_TEXT_HIGHLIGHTER_VECTOR_SIMILARITY_SUPPORT, SemanticQueryBuilder.SEMANTIC_QUERY_MULTIPLE_INFERENCE_IDS, SemanticQueryBuilder.SEMANTIC_QUERY_FILTER_FIELD_CAPS_FIX, InterceptedInferenceQueryBuilder.NEW_SEMANTIC_QUERY_INTERCEPTORS, From 2fc5e53aba8279ac8ece12196478b7a400444e5d Mon Sep 17 00:00:00 2001 From: Michail Romaios Date: Wed, 26 Nov 2025 20:25:32 +0100 Subject: [PATCH 4/4] add changelog --- docs/changelog/138644.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/changelog/138644.yaml diff --git a/docs/changelog/138644.yaml b/docs/changelog/138644.yaml new file mode 100644 index 0000000000000..f892b86be5966 --- /dev/null +++ b/docs/changelog/138644.yaml @@ -0,0 +1,5 @@ +pr: 138644 +summary: "Fix: add missing `vector_similarity_support` in InferenceFeatures" +area: Search +type: bug +issues: []