lib/elasticsearch/api/actions/indices/delete.rb in elasticsearch-api-7.9.0.pre vs lib/elasticsearch/api/actions/indices/delete.rb in elasticsearch-api-7.9.0
- old
+ new
@@ -24,15 +24,13 @@
# @option arguments [List] :index A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Boolean] :ignore_unavailable Ignore unavailable indexes (default: false)
# @option arguments [Boolean] :allow_no_indices Ignore if a wildcard expression resolves to no concrete indices (default: false)
- # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open)
- # (options: open,closed,hidden,none,all)
-
+ # @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-delete-index.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/indices-delete-index.html
#
def delete(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
headers = arguments.delete(:headers) || {}