OpenSearch/docs
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
..
community [Docs] Fix minor spelling errors 2015-05-25 19:56:43 +02:00
groovy-api [Docs] Fix minor spelling errors 2015-05-25 19:56:43 +02:00
java-api Scripting: Unify script and template requests across codebase 2015-05-29 16:52:04 +01:00
perl Docs: Minor test change to Perl docs 2015-02-28 17:19:55 +01:00
python Updated copyright years to include 2015 2015-02-28 03:18:45 +01:00
reference Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
resiliency [Docs] Fix minor spelling errors 2015-05-25 19:56:43 +02:00
river Warning in documentation for deprecation of rivers 2015-04-05 20:54:26 +02:00
ruby Docs: Fixed typos 2015-05-05 10:38:05 +02:00
README.asciidoc Docs: Updated docs/README.asciidoc to point to the new docs repo 2015-04-27 08:54:07 +02:00

README.asciidoc

The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process

See: https://github.com/elastic/docs