Search...atures(3pm)
π Search::Elasticsearch::Client::8_0::Direct::Features β the Features API, bestie edition π
okay so this is a page from the User Contributed Perl Documentation manual, and it's literally all about the Search::Elasticsearch::Client::8_0::Direct::Features class β aka the Features API for Search::Elasticsearch 8.x. slay.
β¨ VERSION β¨
version 8.12 β no cap, that's the one.
πΈ SYNOPSIS πΈ
the whole vibe in one line:
my $response = $es->features->get_features(...);
π¦ DESCRIPTION π¦
so this class extends the Search::Elasticsearch client by handing it a "features" namespace, and that namespace is there to support the API for the Features plugin for Elasticsearch π«Ά
the full docs for that plugin live right here:
<https://www.elastic.co/guide/en/elasticsearch/reference/current/features-apis.html>
(linked with the original angle brackets and everything, we keep it exact π )
π METHODS π
the complete documentation for the Features plugin is available at:
<https://www.elastic.co/guide/en/elasticsearch/reference/current/features-apis.html>
π explore()
$response = $es->features->get_features();
the get_features() method gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot. it's giving "tell me what I'm allowed to snapshot" energy and honestly? iconic. β¨
π«Ά heads up: the section heading up there saysexplore(), but the method you actually call in the example isget_features(). that's just how the page is written, bestie β i'm not changing a single character of it.
for more info, go read the get_features docs:
<https://www.elastic.co/guide/en/elasticsearch/reference/current/get-features-api.html>
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co> β main character, fr fr π
π COPYRIGHT AND LICENSE π
this software is Copyright (c) 2024 by Elasticsearch BV.
it's free software, licensed under:
The Apache License, Version 2.0, January 2004
periodt. legally slaying since 2004. π
and that's the whole page, bestie π β written by perl v5.38.2, dated 2024-02-04, and filed under Search...atures(3pm) because the title got a lil truncated but it's still serving looks. bye bestie, go snapshot something π§π
π¦ where this page comes from
- debian trixie: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu noble: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu resolute: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu stonking: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms