Browse Source

fix field data stats doc

Kevin Wang 11 years ago
parent
commit
33d256119d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docs/reference/cluster/nodes-stats.asciidoc

+ 4 - 4
docs/reference/cluster/nodes-stats.asciidoc

@@ -82,14 +82,14 @@ level or on index level.
 [source,js]
 --------------------------------------------------
 # Node Stats
-curl localhost:9200/_nodes/stats/indices/field1,field2?pretty
+curl localhost:9200/_nodes/stats/indices/?fields=field1,field2?pretty
 
 # Indices Stat
-curl localhost:9200/_stats/fielddata/field1,field2?pretty
+curl localhost:9200/_stats/fielddata/?fields=field1,field2?pretty
 
 # You can use wildcards for field names
-curl localhost:9200/_stats/fielddata/field*?pretty
-curl localhost:9200/_nodes/stats/indices/field*?pretty
+curl localhost:9200/_stats/fielddata/?fields=field*?pretty
+curl localhost:9200/_nodes/stats/indices/?fields=field*?pretty
 --------------------------------------------------
 
 [float]