From 992b2d82b0b4d417fc5c0c628a77bc5fe1514e07 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Mon, 2 Dec 2013 15:27:41 +0100 Subject: [PATCH] [DOCS] Changed the _cat docs to use ?v instead of ?v=true --- docs/reference/cat/allocation.asciidoc | 2 +- docs/reference/cat/health.asciidoc | 2 +- docs/reference/cat/indices.asciidoc | 2 +- docs/reference/cat/master.asciidoc | 2 +- docs/reference/cat/recovery.asciidoc | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference/cat/allocation.asciidoc b/docs/reference/cat/allocation.asciidoc index 351ccdc83a0..4b3e49a9561 100644 --- a/docs/reference/cat/allocation.asciidoc +++ b/docs/reference/cat/allocation.asciidoc @@ -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 diff --git a/docs/reference/cat/health.asciidoc b/docs/reference/cat/health.asciidoc index 0f0cb8ae512..654e4468e85 100644 --- a/docs/reference/cat/health.asciidoc +++ b/docs/reference/cat/health.asciidoc @@ -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 -------------------------------------------------- diff --git a/docs/reference/cat/indices.asciidoc b/docs/reference/cat/indices.asciidoc index 491a929370b..c18c96424af 100644 --- a/docs/reference/cat/indices.asciidoc +++ b/docs/reference/cat/indices.asciidoc @@ -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 diff --git a/docs/reference/cat/master.asciidoc b/docs/reference/cat/master.asciidoc index e8dc03d725f..9c2e2490917 100644 --- a/docs/reference/cat/master.asciidoc +++ b/docs/reference/cat/master.asciidoc @@ -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 -------------------------------------------------- diff --git a/docs/reference/cat/recovery.asciidoc b/docs/reference/cat/recovery.asciidoc index d18abde3e80..f43b7b20485 100644 --- a/docs/reference/cat/recovery.asciidoc +++ b/docs/reference/cat/recovery.asciidoc @@ -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