迁移
- class elasticsearch.client.MigrationClient
To use this client, access
client.migration
from anElasticsearch
client. For example:from elasticsearch import Elasticsearch # Create the client instance client = Elasticsearch(...) # Use the migration client client.migration.<method>(...)
- deprecations(*, index=None, error_trace=None, filter_path=None, human=None, pretty=None)
获取废弃功能信息。 获取关于集群、节点和索引级别设置中使用废弃功能的信息,这些功能将在下一个主要版本中被移除或更改。
提示:此API专为升级助手间接使用而设计。 强烈建议您使用升级助手。
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-migration-deprecations
- get_feature_upgrade_status(*, error_trace=None, filter_path=None, human=None, pretty=None)
获取功能迁移信息。 版本升级有时需要更改功能在系统索引中存储配置信息和数据的方式。 检查哪些功能需要迁移以及正在进行中的迁移状态。
提示:此API专为升级助手间接使用而设计。 强烈建议您使用升级助手。
- post_feature_upgrade(*, error_trace=None, filter_path=None, human=None, pretty=None)
启动功能迁移。 版本升级有时需要更改功能在系统索引中存储配置信息和数据的方式。 此API启动自动迁移过程。
在迁移过程中,某些功能可能会暂时不可用。
提示:此API专为升级助手间接使用而设计。强烈建议您使用升级助手。