Skip to content

Commit 6993e1c

Browse files
Add missing cluster feature checks
1 parent fae7738 commit 6993e1c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/10_semantic_text_field_mapping.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ setup:
550550

551551
---
552552
"Field caps with semantic query does not fail":
553+
- requires:
554+
cluster_features: "semantic_query.filter_field_caps_fix"
555+
reason: "fixed bug with semantic query filtering in field_caps (#116106)"
553556
# We need at least one document present to exercise can-match phase
554557
- do:
555558
index:

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/10_semantic_text_field_mapping_bwc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@ setup:
450450

451451
---
452452
"Field caps with semantic query does not fail":
453+
- requires:
454+
cluster_features: "semantic_query.filter_field_caps_fix"
455+
reason: "fixed bug with semantic query filtering in field_caps (#116106)"
453456
# We need at least one document present to exercise can-match phase
454457
- do:
455458
index:

0 commit comments

Comments
 (0)