[DOCS] Changed the _cat docs to use ?v instead of ?v=true
This commit is contained in:
parent
d9a480c97a
commit
992b2d82b0
|
@ -6,7 +6,7 @@ cluster and the state of disk usage.
|
|||
|
||||
[source,shell]
|
||||
--------------------------------------------------
|
||||
% curl '192.168.56.10:9200/_cat/allocation?v=1'
|
||||
% curl '192.168.56.10:9200/_cat/allocation?v'
|
||||
shards diskUsed diskAvail diskRatio ip node
|
||||
1 5.6gb 72.2gb 7.8% 192.168.56.10 Jarella
|
||||
1 5.6gb 72.2gb 7.8% 192.168.56.30 Solarr
|
||||
|
|
|
@ -9,7 +9,7 @@ timestamping.
|
|||
--------------------------------------------------
|
||||
% curl 192.168.56.10:9200/_cat/health
|
||||
1384308967 18:16:07 foo green 3 3 3 3 0 0 0
|
||||
% curl '192.168.56.10:9200/_cat/health?v=1&ts=0'
|
||||
% curl '192.168.56.10:9200/_cat/health?v&ts=0'
|
||||
cluster status nodeTotal nodeData shards pri relo init unassign
|
||||
foo green 3 3 3 3 0 0 0
|
||||
--------------------------------------------------
|
||||
|
|
|
@ -6,7 +6,7 @@ information *spans nodes*.
|
|||
|
||||
[source,shell]
|
||||
--------------------------------------------------
|
||||
% curl 'localhost:9200/_cat/indices/twi*?v=true'
|
||||
% curl 'localhost:9200/_cat/indices/twi*?v'
|
||||
health index pri rep docs docs/del size/pri size/total
|
||||
green twitter 2 0 627 7 2mb 2mb
|
||||
green twitter2 2 0 628 0 2.5mb 2.5mb
|
||||
|
|
|
@ -6,7 +6,7 @@ master's node ID, bound IP address, and node name.
|
|||
|
||||
[source,shell]
|
||||
--------------------------------------------------
|
||||
% curl 'localhost:9200/_cat/master?v=true'
|
||||
% curl 'localhost:9200/_cat/master?v'
|
||||
id ip node
|
||||
Ntgn2DcuTjGuXlhKDUD4vA 192.168.56.30 Solarr
|
||||
--------------------------------------------------
|
||||
|
|
|
@ -15,8 +15,8 @@ of the recovery:
|
|||
--------------------------------------------------
|
||||
% curl -XPUT 192.168.56.30:9200/_settings -d'{"number_of_replicas":1}'
|
||||
{"ok":true,"acknowledged":true}
|
||||
% curl '192.168.56.30:9200/_cat/recovery?v=true'
|
||||
index shard target recovered % ip node
|
||||
% curl '192.168.56.30:9200/_cat/recovery?v'
|
||||
index shard target recovered % ip node
|
||||
wiki1 2 68083830 7865837 11.6% 192.168.56.20 Adam II
|
||||
wiki2 1 2542400 444175 17.5% 192.168.56.20 Adam II
|
||||
wiki2 2 3242108 329039 10.1% 192.168.56.10 Jarella
|
||||
|
|
Loading…
Reference in New Issue