lib/elasticsearch/api/actions/indices/put_index_template.rb in elasticsearch-api-7.8.1 vs lib/elasticsearch/api/actions/indices/put_index_template.rb in elasticsearch-api-7.9.0.pre

- old
+ new

@@ -18,23 +18,19 @@ module Elasticsearch module API module Indices module Actions # Creates or updates an index template. - # This functionality is Experimental and may be changed or removed - # completely in a future release. Elastic will take a best effort approach - # to fix any issues, but experimental features are not subject to the - # support SLA of official GA features. # # @option arguments [String] :name The name of the template # @option arguments [Boolean] :create Whether the index template should only be added if new or can also replace an existing one # @option arguments [String] :cause User defined reason for creating/updating the index template # @option arguments [Time] :master_timeout Specify timeout for connection to master # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body The template definition (*Required*) # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-templates.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-templates.html # def put_index_template(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] raise ArgumentError, "Required argument 'name' missing" unless arguments[:name] @@ -58,9 +54,9 @@ ParamsRegistry.register(:put_index_template, [ :create, :cause, :master_timeout ].freeze) -end end + end end end