Search...Rollup(3pm)
π Search::Elasticsearch::Client::7_0::Direct::Rollup β the Search...Rollup page, bestie edition
okay so this is a page from User Contributed Perl Documentation, and it's the Search...Rollup(3pm) one. It's the Perl docs for the rollup plugin. Strap in. π
β¨ NAME β¨
Search::Elasticsearch::Client::7_0::Direct::Rollup β it's the plugin that hands you Rollups for Search::Elasticsearch 7.x. That's it, that's the whole name section. π
πΈ VERSION πΈ
version 7.715 β yes, very specific, we love that for it.
π¦ SYNOPSIS π¦
my $response = $es->rollup->search( body => {...} )
that's the vibe. one line. iconic. β¨
π DESCRIPTION π
So basically this class extends the Search::Elasticsearch client by bolting on a whole "rollup" namespace, and that namespace exists to support the Rollup APIs over at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-apis.html>.
If you want the full full documentation for the Rollups feature itself (not just this Perl wrapper), it lives here: <https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html>
π GENERAL METHODS π
π "search()"
$response = $es->rollup->search(
index => $index | \@indices, # optional
body => {...} # optional
)
The "search()" method runs a totally normal search, except β plot twist β it can join results from ordinary indices together with results from rolled up indices. bestie behavior fr fr. π₯
Query string parameters it takes:
"error_trace""filter_path""human""typed_keys"
See the rollup search docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-search.html> for more info.
π§ JOB METHODS π§
π "put_job()"
$response = $es->rollup->put_job(
id => $id, # required
body => {...} # optional
)
The "put_job()" method creates a rollup job, and that job will rollup matching indices into a rolled up index in the background. lowkey magical. β¨
Query string parameters:
"error_trace""filter_path""human"
See the rollup create job docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-put-job.html> for more info.
π "delete_job()"
$response = $es->rollup->delete_job(
id => $id, # required
)
The "delete_job()" method deletes a rollup job, by ID. bye girl π
Query string parameters:
"error_trace""filter_path""human"
See the rollup delete job docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-delete-job.html> for more info.
π«Ά "get_jobs()"
$response = $es->rollup->get_jobs(
id => $id, # optional
)
The "get_job()" method retrieves a rollup job by ID, or all jobs if you don't specify one. (yes the heading says get_jobs() and the prose says "get_job()" β we are simply reporting the lore as written, no notes π)
Query string parameters:
"error_trace""filter_path""human"
See the rollup get jobs docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-get-job.html> for more info.
π "start_job()"
$response = $es->rollup->start_job(
id => $id, # required
)
The "start_job()" method starts the specified rollup job. go girl go πβοΈ
Query string parameters:
"error_trace""filter_path""human"
See the rollup start job docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-start-job.html> for more info.
β "stop_job()"
$response = $es->rollup->stop_job(
id => $id, # required
)
The "stop_job()" method stops the specified rollup job. sit. stay. π
Query string parameters:
"error_trace""filter_path""human"
See the rollup stop job docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-stop-job.html> for more info.
π₯ DATA METHODS π₯
π "get_rollup_caps()"
$response = $es->rollup->get_rollup_caps(
id => $index # optional
)
The "get_rollup_caps()" method returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.
Query string parameters:
"error_trace""filter_path""human"
See the get rollup caps docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-get-rollup-caps.html> for more info.
πΈ "get_rollup_index_caps()"
$response = $es->rollup->get_rollup_index_caps(
id => $index # optional
)
The "get_rollup_index_caps()" method returns the rollup capabilities of all jobs inside of a rollup index. the way that it just tells you everything?? obsessed. π
Query string parameters:
"error_trace""filter_path""human"
See the get rollup index caps docs at <https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-get-rollup-index-caps.html> for more info.
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co> β thank you king π
π 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 the whole page, bestie!! π this was perl v5.32.1, dated 2021-10-23, and yes it really is Search...Rollup(3pm). go forth and roll up your indices, no cap. π¦β¨
π¦ 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