Made the same length of opening and closing lines (#23583)
This commit is contained in:
parent
348884bda4
commit
e4fd8485ce
|
@ -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-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.
|
||||
-------------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------------
|
||||
// TESTRESPONSE[s/([.()])/\\$1/ s/U7321H6/.+/ _cat]
|
||||
|
||||
We can tell quickly how many plugins per node we have and which versions.
|
||||
|
|
|
@ -15,7 +15,7 @@ are no shards in transit from one node to another:
|
|||
[source,js]
|
||||
----------------------------------------------------------------------------
|
||||
GET _cat/recovery?v
|
||||
---------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
// CONSOLE
|
||||
// TEST[setup:twitter]
|
||||
|
||||
|
@ -42,14 +42,14 @@ what a live shard recovery looks like.
|
|||
[source,js]
|
||||
----------------------------------------------------------------------------
|
||||
GET _cat/recovery?v&h=i,s,t,ty,st,shost,thost,f,fp,b,bp
|
||||
---------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
// CONSOLE
|
||||
// TEST[setup:twitter]
|
||||
|
||||
This will return a line like:
|
||||
|
||||
[source,js]
|
||||
---------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
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%
|
||||
----------------------------------------------------------------------------
|
||||
|
@ -70,14 +70,14 @@ API.
|
|||
[source,js]
|
||||
--------------------------------------------------------------------------------
|
||||
GET _cat/recovery?v&h=i,s,t,ty,st,rep,snap,f,fp,b,bp
|
||||
---------------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------
|
||||
// CONSOLE
|
||||
// TEST[skip:no need to execute snapshot/restore here]
|
||||
|
||||
This will show a recovery of type snapshot in the response
|
||||
|
||||
[source,js]
|
||||
---------------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------
|
||||
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%
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
@ -121,7 +121,7 @@ GET index/_search
|
|||
}
|
||||
}
|
||||
}
|
||||
--------------------------------
|
||||
----------------------------
|
||||
// CONSOLE
|
||||
// TEST[continued]
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ PUT /my_index
|
|||
}
|
||||
}
|
||||
|
||||
------------------------------------------
|
||||
--------------------------------------------
|
||||
// CONSOLE
|
||||
// TESTSETUP
|
||||
|
||||
|
|
|
@ -155,6 +155,6 @@ GET _msearch/template
|
|||
{ "id": "my_template_1", "params": { "query_string": "some message" } }
|
||||
{"index" : "main"}
|
||||
{ "id": "my_template_2", "params": { "field": "user", "value": "test" } }
|
||||
----------------------------------------------
|
||||
-----------------------------------------------
|
||||
// CONSOLE
|
||||
// TEST[continued]
|
||||
|
|
|
@ -8,7 +8,7 @@ best explained by example:
|
|||
Imagine that you are selling shirts that have the following properties:
|
||||
|
||||
[source,js]
|
||||
-------------------------------------------------
|
||||
--------------------------------------------------
|
||||
PUT /shirts
|
||||
{
|
||||
"mappings": {
|
||||
|
@ -28,7 +28,7 @@ PUT /shirts/item/1?refresh
|
|||
"color": "red",
|
||||
"model": "slim"
|
||||
}
|
||||
------------------------------------------------
|
||||
--------------------------------------------------
|
||||
// CONSOLE
|
||||
// TESTSETUP
|
||||
|
||||
|
|
Loading…
Reference in New Issue