Fixed asciidoc issues

This commit is contained in:
Clinton Gormley 2016-02-05 14:47:27 +01:00
parent 778ec84a7c
commit 0c41a68690
2 changed files with 5 additions and 5 deletions

View File

@ -95,7 +95,7 @@ green wiki1 3 0 10000 413 103776272 103776272
green foo 1 0 227 0 2065131 2065131
--------------------------------------------------
[float]
=== Response as text, json, smile, yaml or cbor
[source,sh]
@ -116,17 +116,17 @@ green foo 1 0 227 0 2065131 2065131
]
--------------------------------------------------
Currently supported formats (for the ?format parameter):
Currently supported formats (for the `?format=` parameter):
- text (default)
- json
- smile
- yaml
- cbor
alternatively you can set the "Accept" HTTP header to the appropriate media format.
Alternatively you can set the "Accept" HTTP header to the appropriate media format.
All formats above are supported, the GET parameter takes precedence over the header.
For example:
For example
[source,sh]
--------------------------------------------------
% curl '192.168.56.10:9200/_cat/indices' -H "Accept: application/json" | jq .

View File

@ -314,7 +314,7 @@ On all types but `string`, the `index` property now only accepts `true`/`false`
instead of `not_analyzed`/`no`. The `string` field still accepts
`analyzed`/`not_analyzed`/`no`.
==== `_source`'s `format` option
==== ++_source++'s `format` option
The `_source` mapping does not support the `format` option anymore. This option
will still be accepted for indices created before the upgrade to 3.0 for backward