diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/2489.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/2489.yml index 58b1b204d48..a6c727cf479 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/2489.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/2489.yml @@ -31,6 +31,7 @@ teardown: - skip: features: - headers + - allowed_warnings - do: bulk: index: test @@ -39,6 +40,8 @@ teardown: - '{"index": {}}' - '{"timestamp": "1705642934886"}' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: @@ -47,4 +50,3 @@ teardown: - match: {"total": 1} - match: {"schema": [{"name": "timestamp", "type": "timestamp"}]} - match: {"datarows": [["2024-01-19 05:42:14.886"]]} - diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3102.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3102.yml index 08d0400f3c1..6a556cb52d7 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3102.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3102.yml @@ -2,6 +2,7 @@ setup: - skip: features: - headers + - allowed_warnings - do: indices.create: index: test @@ -23,6 +24,8 @@ setup: --- "Prevent push down limit if the offset reach max_result_window": - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: @@ -33,6 +36,8 @@ setup: - match: {"datarows": [[2]]} - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3312.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3312.yml index 91ea109624d..2db5e4ff49f 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3312.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3312.yml @@ -2,6 +2,7 @@ - skip: features: - headers + - allowed_warnings - do: bulk: index: test @@ -10,6 +11,8 @@ - '{"index": {}}' - '{"log": {"url": {"message": "/e2e/h/zap"} } }' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3477.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3477.yml index 3f68febdf9f..819e367493c 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3477.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3477.yml @@ -20,6 +20,7 @@ teardown: - skip: features: - headers + - allowed_warnings - do: bulk: index: test @@ -36,6 +37,8 @@ teardown: - '{"index": {}}' - '{"log": { "json" : {} }, "log.json": { "status": "SUCCESS" }, "log.json.time": 100 }' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3570.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3570.yml index 7d180a2928b..d52a4c35d67 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3570.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3570.yml @@ -132,7 +132,10 @@ teardown: - skip: features: - headers + - allowed_warnings - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3595.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3595.yml index c89d54e72e9..5cbb2d449f0 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3595.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3595.yml @@ -21,6 +21,7 @@ teardown: - skip: features: - headers + - allowed_warnings - do: bulk: refresh: true @@ -38,6 +39,8 @@ teardown: {"index": {"_index": "region_info"}} {"regionId": "2", "regionName": "us-west-2"}' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3607.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3607.yml index 3ad2981f40b..6a1838991b2 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3607.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3607.yml @@ -27,6 +27,7 @@ teardown: - skip: features: - headers + - allowed_warnings - do: bulk: refresh: true @@ -37,6 +38,8 @@ teardown: {"regionId": "2", "action": "file_upload", "timestamp": "2024-04-29T10:05:00Z"}' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3635.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3635.yml index 285ebcd0ca2..2e604409b83 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3635.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3635.yml @@ -20,6 +20,7 @@ teardown: - skip: features: - headers + - allowed_warnings - do: bulk: index: test @@ -28,6 +29,8 @@ teardown: - '{"index": {}}' - '{"log": {"url": {"message": "/e2e/h/zap"} } }' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3646.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3646.yml index 8ce40752063..95b280f77be 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3646.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3646.yml @@ -48,6 +48,7 @@ teardown: - skip: features: - headers + - allowed_warnings - do: bulk: index: test @@ -57,6 +58,8 @@ teardown: - '{"log": {"url": {"message": "/e2e/h/zap", "time": 1} } }' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3655.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3655.yml index a24a246b2ee..20559f8a495 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3655.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3655.yml @@ -2,6 +2,7 @@ setup: - skip: features: - headers + - allowed_warnings - do: indices.create: index: test @@ -77,6 +78,8 @@ teardown: - match: {"datarows": [["This is a match_only_text field 1"]]} - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: diff --git a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3810.yml b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3810.yml index a8bcc5c24a6..cfda26cede8 100644 --- a/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3810.yml +++ b/integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/3810.yml @@ -20,6 +20,7 @@ teardown: - skip: features: - headers + - allowed_warnings - do: bulk: index: test @@ -28,6 +29,8 @@ teardown: - '{"index": {}}' - '{"balance": 1000}' - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: @@ -38,6 +41,8 @@ teardown: - match: {"datarows": [[1000.0]]} - do: + allowed_warnings: + - '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' headers: Content-Type: 'application/json' ppl: