lib/elasticsearch/api/actions/indices/create.rb in elasticsearch-api-7.8.1 vs lib/elasticsearch/api/actions/indices/create.rb in elasticsearch-api-7.9.0.pre
- old
+ new
@@ -27,11 +27,11 @@
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The configuration for the index (`settings` and `mappings`)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-create-index.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-create-index.html
#
def create(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
headers = arguments.delete(:headers) || {}
@@ -55,9 +55,9 @@
:include_type_name,
:wait_for_active_shards,
:timeout,
:master_timeout
].freeze)
-end
end
+ end
end
end