[DOCS] Changed the _cat docs to use ?v instead of ?v=true

This commit is contained in:
Clinton Gormley 2013-12-02 15:27:41 +01:00
parent d9a480c97a
commit 992b2d82b0
5 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -15,7 +15,7 @@ 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'
% 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