module Elasticsearch::API::Migration::Actions
Public Instance Methods
Source
# File lib/elasticsearch/api/actions/migration/deprecations.rb, line 35 def deprecations(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'migration.deprecations' } defined_params = [:index].each_with_object({}) do |variable, set_variables| set_variables[variable] = arguments[variable] if arguments.key?(variable) end request_opts[:defined_params] = defined_params unless defined_params.empty? arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil _index = arguments.delete(:index) method = Elasticsearch::API::HTTP_GET path = if _index "#{Utils.listify(_index)}/_migration/deprecations" else '_migration/deprecations' end params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end
Get deprecation information. Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version. TIP: This APIs is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
@option arguments [String] :index Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported. @option arguments [Hash] :headers Custom HTTP headers
@see www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-migration-deprecations
Source
# File lib/elasticsearch/api/actions/migration/get_feature_upgrade_status.rb, line 35 def get_feature_upgrade_status(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'migration.get_feature_upgrade_status' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_GET path = '_migration/system_features' params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end
Get feature migration information. Version upgrades sometimes require changes to how features store configuration information and data in system indices. Check which features need to be migrated and the status of any migrations that are in progress. TIP: This API
is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
@option arguments [Hash] :headers Custom HTTP headers
Source
# File lib/elasticsearch/api/actions/migration/post_feature_upgrade.rb, line 35 def post_feature_upgrade(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'migration.post_feature_upgrade' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_POST path = '_migration/system_features' params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end
Start the feature migration. Version upgrades sometimes require changes to how features store configuration information and data in system indices. This API
starts the automatic migration process. Some functionality might be temporarily unavailable during the migration process. TIP: The API
is designed for indirect use by the Upgrade Assistant. We strongly recommend you use the Upgrade Assistant.
@option arguments [Hash] :headers Custom HTTP headers