Made the same length of opening and closing lines (#23583)

This commit is contained in:
Andrey Groshev 2017-06-09 10:50:43 +03:00 committed by Ryan Ernst
parent 348884bda4
commit e4fd8485ce
6 changed files with 11 additions and 11 deletions

View File

@ -31,7 +31,7 @@ U7321H6 jvm-example {version} Demonstrates all the pluggable Java en
U7321H6 mapper-murmur3 {version} The Mapper Murmur3 plugin allows to compute hashes of a field's values at index-time and to store them in the index. U7321H6 mapper-murmur3 {version} The Mapper Murmur3 plugin allows to compute hashes of a field's values at index-time and to store them in the index.
U7321H6 mapper-size {version} The Mapper Size plugin allows document to record their uncompressed size at index time. U7321H6 mapper-size {version} The Mapper Size plugin allows document to record their uncompressed size at index time.
U7321H6 store-smb {version} The Store SMB plugin adds support for SMB stores. U7321H6 store-smb {version} The Store SMB plugin adds support for SMB stores.
------------------------------------------------------------------------------- ------------------------------------------------------------------------------
// TESTRESPONSE[s/([.()])/\\$1/ s/U7321H6/.+/ _cat] // TESTRESPONSE[s/([.()])/\\$1/ s/U7321H6/.+/ _cat]
We can tell quickly how many plugins per node we have and which versions. We can tell quickly how many plugins per node we have and which versions.

View File

@ -15,7 +15,7 @@ are no shards in transit from one node to another:
[source,js] [source,js]
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
GET _cat/recovery?v GET _cat/recovery?v
--------------------------------------------------------------------------- ----------------------------------------------------------------------------
// CONSOLE // CONSOLE
// TEST[setup:twitter] // TEST[setup:twitter]
@ -42,14 +42,14 @@ what a live shard recovery looks like.
[source,js] [source,js]
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
GET _cat/recovery?v&h=i,s,t,ty,st,shost,thost,f,fp,b,bp GET _cat/recovery?v&h=i,s,t,ty,st,shost,thost,f,fp,b,bp
--------------------------------------------------------------------------- ----------------------------------------------------------------------------
// CONSOLE // CONSOLE
// TEST[setup:twitter] // TEST[setup:twitter]
This will return a line like: This will return a line like:
[source,js] [source,js]
--------------------------------------------------------------------------- ----------------------------------------------------------------------------
i s t ty st shost thost f fp b bp i s t ty st shost thost f fp b bp
twitter 0 1252ms peer done 192.168.1.1 192.168.1.2 0 100.0% 0 100.0% twitter 0 1252ms peer done 192.168.1.1 192.168.1.2 0 100.0% 0 100.0%
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
@ -70,14 +70,14 @@ API.
[source,js] [source,js]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
GET _cat/recovery?v&h=i,s,t,ty,st,rep,snap,f,fp,b,bp GET _cat/recovery?v&h=i,s,t,ty,st,rep,snap,f,fp,b,bp
--------------------------------------------------------------------------- --------------------------------------------------------------------------------
// CONSOLE // CONSOLE
// TEST[skip:no need to execute snapshot/restore here] // TEST[skip:no need to execute snapshot/restore here]
This will show a recovery of type snapshot in the response This will show a recovery of type snapshot in the response
[source,js] [source,js]
--------------------------------------------------------------------------- --------------------------------------------------------------------------------
i s t ty st rep snap f fp b bp i s t ty st rep snap f fp b bp
twitter 0 1978ms snapshot done twitter snap_1 79 8.0% 12086 9.0% twitter 0 1978ms snapshot done twitter snap_1 79 8.0% 12086 9.0%
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@ -121,7 +121,7 @@ GET index/_search
} }
} }
} }
-------------------------------- ----------------------------
// CONSOLE // CONSOLE
// TEST[continued] // TEST[continued]

View File

@ -32,7 +32,7 @@ PUT /my_index
} }
} }
------------------------------------------ --------------------------------------------
// CONSOLE // CONSOLE
// TESTSETUP // TESTSETUP

View File

@ -155,6 +155,6 @@ GET _msearch/template
{ "id": "my_template_1", "params": { "query_string": "some message" } } { "id": "my_template_1", "params": { "query_string": "some message" } }
{"index" : "main"} {"index" : "main"}
{ "id": "my_template_2", "params": { "field": "user", "value": "test" } } { "id": "my_template_2", "params": { "field": "user", "value": "test" } }
---------------------------------------------- -----------------------------------------------
// CONSOLE // CONSOLE
// TEST[continued] // TEST[continued]

View File

@ -8,7 +8,7 @@ best explained by example:
Imagine that you are selling shirts that have the following properties: Imagine that you are selling shirts that have the following properties:
[source,js] [source,js]
------------------------------------------------- --------------------------------------------------
PUT /shirts PUT /shirts
{ {
"mappings": { "mappings": {
@ -28,7 +28,7 @@ PUT /shirts/item/1?refresh
"color": "red", "color": "red",
"model": "slim" "model": "slim"
} }
------------------------------------------------ --------------------------------------------------
// CONSOLE // CONSOLE
// TESTSETUP // TESTSETUP