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: integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3570.yml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,10 @@ teardown:
43
43
- skip:
44
44
features:
45
45
- headers
46
+
- allowed_warnings
46
47
- do:
48
+
allowed_warnings:
49
+
- 'Loading the fielddata on the _id field is deprecated and will be removed in future versions. If you require sorting or aggregating on this field you should also include the id in the body of your documents, and map this field as a keyword field that has [doc_values] enabled'
47
50
headers:
48
51
Content-Type: 'application/json'
49
52
ppl:
@@ -65,7 +68,10 @@ teardown:
65
68
- skip:
66
69
features:
67
70
- headers
71
+
- allowed_warnings
68
72
- do:
73
+
allowed_warnings:
74
+
- 'Loading the fielddata on the _id field is deprecated and will be removed in future versions. If you require sorting or aggregating on this field you should also include the id in the body of your documents, and map this field as a keyword field that has [doc_values] enabled'
- 'Loading the fielddata on the _id field is deprecated and will be removed in future versions. If you require sorting or aggregating on this field you should also include the id in the body of your documents, and map this field as a keyword field that has [doc_values] enabled'
39
+
headers:
40
+
Content-Type: 'application/json'
41
+
ppl:
42
+
body:
43
+
query: 'source=test | where a = 1 or a = 2 or isNull(a) | sort a'
- 'Loading the fielddata on the _id field is deprecated and will be removed in future versions. If you require sorting or aggregating on this field you should also include the id in the body of your documents, and map this field as a keyword field that has [doc_values] enabled'
51
+
headers:
52
+
Content-Type: 'application/json'
53
+
ppl:
54
+
body:
55
+
query: 'source=test | where (a = 1 or a = 2) and isNotNull(a) | sort a'
0 commit comments