lib/elasticsearch/api/actions/indices/create.rb in elasticsearch-api-7.12.0 vs lib/elasticsearch/api/actions/indices/create.rb in elasticsearch-api-7.13.0.pre
- old
+ new
@@ -27,10 +27,10 @@
# @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.12/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) || {}