Skip to content

Commit 9e42c98

Browse files
Fix wrong inference names for the yaml tests
1 parent 9c86416 commit 9e42c98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/90_semantic_text_highlighter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ setup:
380380
- match: { hits.hits.0.highlight.body.1: "You Know, for Search!" }
381381

382382
---
383-
"Highlighting with match_all query and multiple field types":
383+
"Highlighting with match_all and multi chunks with empty input":
384384
- requires:
385385
cluster_features: "semantic_text.match_all_highlighter"
386386
reason: semantic text field supports match_all query with semantic highlighter, effective from 8.19 and 9.1.0.
@@ -436,7 +436,7 @@ setup:
436436
properties:
437437
semantic_text_field:
438438
type: semantic_text
439-
inference_id: sparse-inference-id
439+
inference_id: dense-inference-id
440440
text_field:
441441
type: text
442442

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/90_semantic_text_highlighter_bwc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ setup:
348348
- match: { hits.hits.0.highlight.body.1: "You Know, for Search!" }
349349

350350
---
351-
"Highlighting with match_all query and multiple field types":
351+
"Highlighting with match_all and multi chunks with empty input":
352352
- requires:
353353
cluster_features: "semantic_text.match_all_highlighter"
354354
reason: semantic text field supports match_all query with semantic highlighter, effective from 8.19 and 9.1.0.
@@ -404,7 +404,7 @@ setup:
404404
properties:
405405
semantic_text_field:
406406
type: semantic_text
407-
inference_id: sparse-inference-id
407+
inference_id: dense-inference-id
408408
text_field:
409409
type: text
410410

0 commit comments

Comments
 (0)