Migration

class elasticsearch.client.MigrationClient(client)
Parameters:

client (BaseClient)

deprecations(*, index=None, error_trace=None, filter_path=None, human=None, pretty=None)

Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.

https://www.elastic.co/guide/en/elasticsearch/reference/8.14/migration-api-deprecation.html

Parameters:
  • index (str | None) – Comma-separate list of data streams or indices to check. Wildcard (*) expressions are supported.

  • error_trace (bool | None)

  • filter_path (str | Sequence[str] | None)

  • human (bool | None)

  • pretty (bool | None)

Return type:

ObjectApiResponse[Any]

get_feature_upgrade_status(*, error_trace=None, filter_path=None, human=None, pretty=None)

Find out whether system features need to be upgraded or not

https://www.elastic.co/guide/en/elasticsearch/reference/8.14/migration-api-feature-upgrade.html

Parameters:
Return type:

ObjectApiResponse[Any]

post_feature_upgrade(*, error_trace=None, filter_path=None, human=None, pretty=None)

Begin upgrades for system features

https://www.elastic.co/guide/en/elasticsearch/reference/8.14/migration-api-feature-upgrade.html

Parameters:
Return type:

ObjectApiResponse[Any]