lib/elasticsearch/api/actions/cat/fielddata.rb in elasticsearch-api-2.0.2 vs lib/elasticsearch/api/actions/cat/fielddata.rb in elasticsearch-api-5.0.0.pre

- old
+ new

@@ -19,10 +19,11 @@ # (default: false) # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node # @option arguments [List] :h Comma-separated list of column names to display # @option arguments [Boolean] :help Return help information # @option arguments [Boolean] :v Verbose mode. Display column headers + # @option arguments [List] :s Comma-separated list of column names or column aliases to sort by # # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat-fielddata.html # def fielddata(arguments={}) valid_params = [ @@ -30,9 +31,10 @@ :local, :master_timeout, :h, :help, :v, + :s, :fields ] fields = arguments.delete(:fields) method = HTTP_GET