lib/elasticsearch/api/actions/cat/count.rb in elasticsearch-api-1.0.0.rc1 vs lib/elasticsearch/api/actions/cat/count.rb in elasticsearch-api-1.0.0.rc2

- old
+ new

@@ -15,12 +15,16 @@ # # @example Display number of documents in a list of indices # # puts client.cat.count index: ['index-a', 'index-b'] # + # @example Display header names in the output + # + # puts client.cat.count v: true + # # @example Return the information as Ruby objects # - # client.cat.allocation format: 'json' + # client.cat.count format: 'json' # # @option arguments [List] :index A comma-separated list of index names to limit the returned information # @option arguments [List] :h Comma-separated list of column names to display -- see the `help` argument # @option arguments [Boolean] :v Display column headers as part of the output # @option arguments [String] :format The output format. Options: 'text', 'json'; default: 'text'