From 7042a9aa65ed018a41fa8199de4a2ce65477b268 Mon Sep 17 00:00:00 2001 From: Alexander Reelsen Date: Thu, 9 Jan 2014 11:30:28 +0100 Subject: [PATCH] [DOCS] Fix HTTP endpoints after stats API changes --- docs/reference/cluster.asciidoc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/reference/cluster.asciidoc b/docs/reference/cluster.asciidoc index 25576760723..088de8d2ccf 100644 --- a/docs/reference/cluster.asciidoc +++ b/docs/reference/cluster.asciidoc @@ -15,17 +15,17 @@ example, here are some sample executions of nodes info: [source,js] -------------------------------------------------- # Local -curl localhost:9200/_cluster/nodes/_local +curl localhost:9200/_nodes/_local # Address -curl localhost:9200/_cluster/nodes/10.0.0.3,10.0.0.4 -curl localhost:9200/_cluster/nodes/10.0.0.* +curl localhost:9200/_nodes/10.0.0.3,10.0.0.4 +curl localhost:9200/_nodes/10.0.0.* # Names -curl localhost:9200/_cluster/nodes/node_name_goes_here -curl localhost:9200/_cluster/nodes/node_name_goes_* +curl localhost:9200/_nodes/node_name_goes_here +curl localhost:9200/_nodes/node_name_goes_* # Attributes (set something like node.rack: 2 in the config) -curl localhost:9200/_cluster/nodes/rack:2 -curl localhost:9200/_cluster/nodes/ra*:2 -curl localhost:9200/_cluster/nodes/ra*:2* +curl localhost:9200/_nodes/rack:2 +curl localhost:9200/_nodes/ra*:2 +curl localhost:9200/_nodes/ra*:2* -------------------------------------------------- --