Browse Source

Fixed asciidoc issues

Clinton Gormley 9 years ago
parent
commit
0c41a68690
2 changed files with 5 additions and 5 deletions
  1. 4 4
      docs/reference/cat.asciidoc
  2. 1 1
      docs/reference/migration/migrate_3_0.asciidoc

+ 4 - 4
docs/reference/cat.asciidoc

@@ -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 .

+ 1 - 1
docs/reference/migration/migrate_3_0.asciidoc

@@ -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