OpenSearch/rest-api-spec/test/update
Adrien Grand 7c698146f5 Rest: Add all meta fields to the top level json document.
Some of our meta fields (such as _id, _version, ...) are returned as top-level
properties of the json document, while other properties (_timestamp, _routing,
...) are returned under `fields`. This commit makes all meta fields returned
as top-level properties.

So eg. `GET test/test/1?fields=_timestamp,foo` would now return

```json
{
   "_index": "test",
   "_type": "test",
   "_id": "1",
   "_version": 1,
   "_timestamp": 10000000,
   "found": true,
   "fields": {
     "foo": [ "bar" ]
   }
}
```

while it used to return

```json
{
   "_index": "test",
   "_type": "test",
   "_id": "1",
   "_version": 1,
   "found": true,
   "fields": {
     "_timestamp": 10000000,
     "foo": [ "bar" ]
   }
}
```
2015-06-04 23:42:17 +02:00
..
10_doc.yaml Changed the `ignore_missing` client parameter to `ignore: 404` 2013-09-09 23:36:45 +02:00
11_shard_header.yaml Core: Added `_shards` header to all write responses. 2015-01-08 18:10:08 +01:00
15_script.yaml REST tests - add feature groovy_scripting to skip tests if groovy not enabled 2015-02-12 18:08:35 +01:00
20_doc_upsert.yaml Renamed "ok" and "not_ok" to "is_true" and "is_false" 2013-07-01 15:58:23 +02:00
22_doc_as_upsert.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
25_script_upsert.yaml REST tests - add feature groovy_scripting to skip tests if groovy not enabled 2015-02-12 18:08:35 +01:00
30_internal_version.yaml Version types `EXTERNAL` & `EXTERNAL_GTE` test for version equality in read operation & disallow them in the Update API 2014-04-25 23:06:12 +02:00
35_other_versions.yaml [REST-SPEC] update to update test, to check for es-js error messages 2014-04-29 14:18:20 -07:00
40_routing.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
50_parent.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
55_parent_with_routing.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
60_refresh.yaml [TEST] decreased number of replicas to 0 in refresh tests 2014-03-31 11:28:34 +02:00
70_timestamp.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
75_ttl.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
80_fields.yaml [TEST] Fix yaml tests after #4542 2014-01-07 16:06:25 +01:00
85_fields_meta.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
90_missing.yaml REST tests - add feature groovy_scripting to skip tests if groovy not enabled 2015-02-12 18:08:35 +01:00
TODO.txt [REPLICATION] Remove `async` replication 2015-03-19 14:44:21 -07:00