File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
rest-api-spec/src/main/resources/rest-api-spec/test/search Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
- " Cross fields do not return negative scores " :
2
- - skip :
3
- version : " - 2.99.99"
4
- reason : " This fix is in 2.15. Until we do the BWC dance, we need to skip all pre-3.0, though."
1
+ setup :
5
2
- do :
6
3
index :
7
4
index : test
19
16
body : { "color" : "orange red yellow purple" }
20
17
- do :
21
18
indices.refresh : { }
19
+
20
+ ---
21
+ " Cross fields do not return negative scores " :
22
+ - skip :
23
+ version : " - 2.14.99"
24
+ reason : " This fix is in 2.15.0"
22
25
- do :
23
26
search :
24
27
index : test
34
37
- match : { hits.hits.0._id: "2" }
35
38
- gt : { hits.hits.2._score: 0.0 }
36
39
37
- # Test that query with null field fails appropriately
40
+ ---
41
+ " Query string with null field throws 400 " :
42
+ - skip :
43
+ version : " - 3.0.99"
44
+ reason : " This fix is in 3.1.0"
38
45
- do :
39
46
catch : bad_request
40
47
search :
You can’t perform that action at this time.
0 commit comments