Skip to content

Commit 6616885

Browse files
committed
[API] Deprecation notices and promotion from experimental docs
1 parent a1d933c commit 6616885

14 files changed

+14
-44
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/cat/indices.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module Actions
2424
# @option arguments [List] :index A comma-separated list of index names to limit the returned information
2525
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2626
# @option arguments [String] :bytes The unit in which to display byte values (options: b, k, kb, m, mb, g, gb, t, tb, p, pb)
27-
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
27+
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false) *Deprecated*
2828
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
2929
# @option arguments [List] :h Comma-separated list of column names to display
3030
# @option arguments [String] :health A health status ("green", "yellow", or "red" to filter only indices matching the specified health status (options: green, yellow, red)

elasticsearch-api/lib/elasticsearch/api/actions/cat/shards.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module Actions
2424
# @option arguments [List] :index A comma-separated list of index names to limit the returned information
2525
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
2626
# @option arguments [String] :bytes The unit in which to display byte values (options: b, k, kb, m, mb, g, gb, t, tb, p, pb)
27-
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
27+
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false) *Deprecated*
2828
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
2929
# @option arguments [List] :h Comma-separated list of column names to display
3030
# @option arguments [Boolean] :help Return help information

elasticsearch-api/lib/elasticsearch/api/actions/cluster/delete_component_template.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ module API
2020
module Cluster
2121
module Actions
2222
# Deletes a component template
23-
# This functionality is Experimental and may be changed or removed
24-
# completely in a future release. Elastic will take a best effort approach
25-
# to fix any issues, but experimental features are not subject to the
26-
# support SLA of official GA features.
2723
#
2824
# @option arguments [String] :name The name of the template
2925
# @option arguments [Time] :timeout Explicit operation timeout

elasticsearch-api/lib/elasticsearch/api/actions/cluster/exists_component_template.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ module API
2020
module Cluster
2121
module Actions
2222
# Returns information about whether a particular component template exist
23-
# This functionality is Experimental and may be changed or removed
24-
# completely in a future release. Elastic will take a best effort approach
25-
# to fix any issues, but experimental features are not subject to the
26-
# support SLA of official GA features.
2723
#
2824
# @option arguments [String] :name The name of the template
2925
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node

elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_component_template.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ module API
2020
module Cluster
2121
module Actions
2222
# Returns one or more component templates
23-
# This functionality is Experimental and may be changed or removed
24-
# completely in a future release. Elastic will take a best effort approach
25-
# to fix any issues, but experimental features are not subject to the
26-
# support SLA of official GA features.
2723
#
2824
# @option arguments [List] :name The comma separated names of the component templates
2925
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node

elasticsearch-api/lib/elasticsearch/api/actions/cluster/put_component_template.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ module API
2020
module Cluster
2121
module Actions
2222
# Creates or updates a component template
23-
# This functionality is Experimental and may be changed or removed
24-
# completely in a future release. Elastic will take a best effort approach
25-
# to fix any issues, but experimental features are not subject to the
26-
# support SLA of official GA features.
2723
#
2824
# @option arguments [String] :name The name of the template
2925
# @option arguments [Boolean] :create Whether the index template should only be added if new or can also replace an existing one

elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_index_template.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ module API
2020
module Indices
2121
module Actions
2222
# Deletes an index template.
23-
# This functionality is Experimental and may be changed or removed
24-
# completely in a future release. Elastic will take a best effort approach
25-
# to fix any issues, but experimental features are not subject to the
26-
# support SLA of official GA features.
2723
#
2824
# @option arguments [String] :name The name of the template
2925
# @option arguments [Time] :timeout Explicit operation timeout

elasticsearch-api/lib/elasticsearch/api/actions/indices/exists_index_template.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ module API
2020
module Indices
2121
module Actions
2222
# Returns information about whether a particular index template exists.
23-
# This functionality is Experimental and may be changed or removed
24-
# completely in a future release. Elastic will take a best effort approach
25-
# to fix any issues, but experimental features are not subject to the
26-
# support SLA of official GA features.
2723
#
2824
# @option arguments [String] :name The name of the template
2925
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)

elasticsearch-api/lib/elasticsearch/api/actions/indices/get_index_template.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ module API
2020
module Indices
2121
module Actions
2222
# Returns an index template.
23-
# This functionality is Experimental and may be changed or removed
24-
# completely in a future release. Elastic will take a best effort approach
25-
# to fix any issues, but experimental features are not subject to the
26-
# support SLA of official GA features.
2723
#
2824
# @option arguments [List] :name The comma separated names of the index templates
2925
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)

elasticsearch-api/lib/elasticsearch/api/actions/indices/get_upgrade.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ module Elasticsearch
1919
module API
2020
module Indices
2121
module Actions
22-
# The _upgrade API is no longer useful and will be removed.
22+
# DEPRECATED Returns a progress status of current upgrade.
2323
#
2424
# @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
2525
# @option arguments [Boolean] :ignore_unavailable Whether specified concrete indices should be ignored when unavailable (missing or closed)
2626
# @option arguments [Boolean] :allow_no_indices Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
2727
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
2828
# @option arguments [Hash] :headers Custom HTTP headers
2929
#
30+
# *Deprecation notice*:
31+
# The _upgrade API is no longer useful and will be removed. Instead, see _reindex API.
32+
# Deprecated since version 8.0.0
33+
#
34+
#
3035
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-upgrade.html
3136
#
3237
def get_upgrade(arguments = {})

0 commit comments

Comments
 (0)