Search...atures(3pm)

πŸ“¦
version 8.12 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 says explore(), but the method you actually call in the example is get_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 πŸ’œ


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