lib/elasticsearch/api/actions/indices/create.rb in elasticsearch-api-7.7.0.pre vs lib/elasticsearch/api/actions/indices/create.rb in elasticsearch-api-7.7.0
- old
+ new
@@ -14,10 +14,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/master/indices-create-index.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/indices-create-index.html
#
def create(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
headers = arguments.delete(:headers) || {}