Search...gration(3pm)
π Search::Elasticsearch::Client::7_0::Direct::Migration π
okay so bestie, this is the Search::Elasticsearch::Client::7_0::Direct::Migration page β a Perl manpage (section 3pm) from the User Contributed Perl Documentation. It's the little plugin that hands you the Migration API for Search::Elasticsearch 7.x. Yes queen, we're migrating. β¨
πΈ NAME πΈ
Search::Elasticsearch::Client::7_0::Direct::Migration β the plugin that provides the Migration API for Search::Elasticsearch 7.x. That's it, that's the whole job, and it does it gorgeously. π
β VERSION β
version 7.715 β noted, memorized, iconic. π
π¦ SYNOPSIS π¦
like, the whole vibe in one line:
my $response = $es->migration->deprecations();
that's the teaser, the rest is below the cut. π
π DESCRIPTION π
So basically: this class extends the Search::Elasticsearch client with a migration namespace, so you can hit up the API Migration APIs without leaving your cozy Perl bubble.
The official docs for those live here, no cap: <https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api.html>
β¨ METHODS β¨
The full documentation for the Migration APIs is right here, bestie, go read it: <https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api.html>
π«Ά deprecations()
$response = $es->migration->deprecations(
index => $index # optional
)
The deprecations() API is your little gossip session with the cluster β it retrieves info about all the different cluster, node, and index level settings that are using deprecated features, i.e. the ones that are getting removed or changed in the next major version. It's giving "let me tell you what's about to be a problem." π
More tea in the deprecations docs: <https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html>
Query string parameters:
error_tracehuman
π§ get_assistance()
$response = $es->migration->get_assistance(
index => $index | \@indices # optional
)
The get_assistance() API analyzes the existing indices in the cluster and hands back the info about which indices need some changes before the cluster can be upgraded to the next major version. It's the "hey bestie, you might wanna fix these first" of APIs. π
See the get_assistance docs for the full story: <https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html>
Query string parameters:
allow_no_indiceserror_traceexpand_wildcardshumanignore_unavailable
π₯ upgrade()
$response = $es->migration->upgrade(
index => $index # required
)
The upgrade() API performs the upgrade of internal indices so they're compatible with the next major version. Glow up time, periodt. β¨
Heads up: index is required here β not optional, not negotiable, not playing. Don't skip it. π
ββοΈ
See the upgrade() docs for more: <https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html>
Query string parameters:
error_tracehumanwait_for_completion
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co> β we stan. π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2021 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
and that's a wrap on the Search::Elasticsearch::Client::7_0::Direct::Migration page, bestie β generated by perl v5.32.1 on 2021-10-23, served fresh from the User Contributed Perl Documentation. go upgrade those indices, you absolute icon ππβ¨
π¦ where this page comes from
- ubuntu jammy: libsearch-elasticsearch-perl 7.715-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms