Skip to content

Commit be3d7db

Browse files
committed
fix schema
1 parent eddac44 commit be3d7db

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/30_semantic_text_inference_bwc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,12 +746,16 @@ setup:
746746
indices.create:
747747
index: new-index
748748
body:
749+
settings:
750+
index:
751+
mapping:
752+
semantic_text:
753+
use_legacy_format: true
749754
mappings:
750755
properties:
751756
inference_field:
752757
type: semantic_text
753758
inference_id: new_inference_endpoint
754-
use_legacy_format: true
755759

756760
- do:
757761
inference.put:

0 commit comments

Comments
 (0)