You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/10_semantic_text_field_mapping.yml
+34-24Lines changed: 34 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -230,22 +230,38 @@ setup:
230
230
- requires:
231
231
cluster_features: "semantic_text.index_options"
232
232
reason: index_options introduced in 8.19.0
233
+
234
+
- do:
235
+
indices.create:
236
+
index: test-index-options
237
+
body:
238
+
settings:
239
+
index:
240
+
mapping:
241
+
semantic_text:
242
+
use_legacy_format: false
243
+
mappings:
244
+
properties:
245
+
dense_field:
246
+
type: semantic_text
247
+
inference_id: dense-inference-id
248
+
233
249
# Checks vector mapping is not updated until first doc arrives
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/10_semantic_text_field_mapping_bwc.yml
0 commit comments