File tree 2 files changed +6
-14
lines changed
rest-api-spec/src/main/resources/rest-api-spec/test/suggest
2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -336,20 +336,6 @@ setup:
336
336
- length : { suggest.result.0.options: 1 }
337
337
- match : { suggest.result.0.options.0.text: "foo" }
338
338
339
- - do :
340
- search :
341
- body :
342
- suggest :
343
- result :
344
- text : " foo"
345
- completion :
346
- skip_duplicates : true
347
- field : suggest_context
348
-
349
- - length : { suggest.result: 1 }
350
- - length : { suggest.result.0.options: 1 }
351
- - match : { suggest.result.0.options.0.text: "foo" }
352
-
353
339
---
354
340
" Querying without contexts is deprecated " :
355
341
- skip :
Original file line number Diff line number Diff line change @@ -31,8 +31,14 @@ setup:
31
31
32
32
---
33
33
" Test typed keys parameter for suggesters " :
34
+ - skip :
35
+ version : " - 6.99.99"
36
+ reason : queying a context suggester with no context was deprecated in 7.0
37
+ features : " warnings"
34
38
35
39
- do :
40
+ warnings :
41
+ - " The ability to query with no context on a context enabled completion field is deprecated and will be removed in the next major release."
36
42
search :
37
43
typed_keys : true
38
44
body :
You can’t perform that action at this time.
0 commit comments