Stats and Info APIs

edit

The cluster_state, nodes_info, nodes_stats and indices_stats APIs have all been changed to make their format more RESTful and less clumsy.

For instance, if you just want the nodes section of the the cluster_state, instead of:

GET /_cluster/state?filter_metadata&filter_routing_table&filter_blocks

you now use:

GET /_cluster/state/nodes

Simliarly for the nodes_stats API, if you want the transport and http metrics only, instead of:

GET /_nodes/stats?clear&transport&http

you now use:

GET /_nodes/stats/transport,http

See the links above for full details.