From 8625d9b177adaf6ceab3c4c19e243e98b1079675 Mon Sep 17 00:00:00 2001 From: Enrico Zimuel Date: Mon, 22 Jan 2024 15:40:39 +0100 Subject: [PATCH] Updated endpoints to 8.11 --- cpanfile | 2 +- lib/Search/Elasticsearch.pm | 2 +- lib/Search/Elasticsearch/Async.pm | 2 +- lib/Search/Elasticsearch/Client/7_0.pm | 2 +- lib/Search/Elasticsearch/Client/7_0/Async.pm | 4 +- lib/Search/Elasticsearch/Client/8_0.pm | 2 +- lib/Search/Elasticsearch/Client/8_0/Async.pm | 4 +- lib/Search/Elasticsearch/Client/8_0/Direct.pm | 18 + .../Client/8_0/Direct/Connector.pm | 59 + .../Elasticsearch/Client/8_0/Direct/Esql.pm | 53 + .../Client/8_0/Direct/Inference.pm | 54 + .../Client/8_0/Direct/Profiling.pm | 43 + .../Client/8_0/Direct/QueryRuleset.pm | 43 + .../Client/8_0/Direct/SearchApplication.pm | 42 + .../Client/8_0/Direct/Simulate.pm | 63 + .../Client/8_0/Direct/Synonyms.pm | 65 + .../Client/8_0/Direct/TextStructure.pm | 38 + .../Elasticsearch/Client/8_0/Role/API.pm | 1430 ++++++++++++++--- lib/Search/Elasticsearch/Cxn/NetCurl.pm | 4 +- test/skip_list.yaml | 17 +- 20 files changed, 1715 insertions(+), 232 deletions(-) create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/Connector.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/Esql.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/Inference.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/Profiling.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/QueryRuleset.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/SearchApplication.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/Simulate.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/Synonyms.pm create mode 100644 lib/Search/Elasticsearch/Client/8_0/Direct/TextStructure.pm diff --git a/cpanfile b/cpanfile index 417f7e4c..cf04b795 100644 --- a/cpanfile +++ b/cpanfile @@ -9,7 +9,7 @@ requires "File::Util::Tempdir" => "0"; requires "HTTP::Headers" => "0"; requires "HTTP::Parser::XS" => "0"; requires "HTTP::Request" => "0"; -requires "HTTP::Tiny" => "0.076"; +requires "HTTP::Tiny" => "0.088"; requires "IO::Compress::Deflate" => "0"; requires "IO::Compress::Gzip" => "0"; requires "IO::Uncompress::Unzip" => "0"; diff --git a/lib/Search/Elasticsearch.pm b/lib/Search/Elasticsearch.pm index fc487ed4..93af9551 100644 --- a/lib/Search/Elasticsearch.pm +++ b/lib/Search/Elasticsearch.pm @@ -22,7 +22,7 @@ use Moo 2.001000 (); use Search::Elasticsearch::Util qw(parse_params load_plugin); use namespace::clean; -our $VERSION = '8.00'; +our $VERSION = '8.12'; my %Default_Plugins = ( client => [ 'Search::Elasticsearch::Client', '8_0::Direct' ], diff --git a/lib/Search/Elasticsearch/Async.pm b/lib/Search/Elasticsearch/Async.pm index bdd05b34..50e7b1d7 100644 --- a/lib/Search/Elasticsearch/Async.pm +++ b/lib/Search/Elasticsearch/Async.pm @@ -17,7 +17,7 @@ package Search::Elasticsearch::Async; -our $VERSION = '8.00'; +our $VERSION = '8.12'; use Search::Elasticsearch 8.00; use Promises 0.93 (); use parent 'Search::Elasticsearch'; diff --git a/lib/Search/Elasticsearch/Client/7_0.pm b/lib/Search/Elasticsearch/Client/7_0.pm index 6449809e..a0094a6d 100644 --- a/lib/Search/Elasticsearch/Client/7_0.pm +++ b/lib/Search/Elasticsearch/Client/7_0.pm @@ -17,7 +17,7 @@ package Search::Elasticsearch::Client::7_0; -our $VERSION='8.00'; +our $VERSION='8.12'; use Search::Elasticsearch 8.00 (); 1; diff --git a/lib/Search/Elasticsearch/Client/7_0/Async.pm b/lib/Search/Elasticsearch/Client/7_0/Async.pm index b46702f3..df7ac92d 100644 --- a/lib/Search/Elasticsearch/Client/7_0/Async.pm +++ b/lib/Search/Elasticsearch/Client/7_0/Async.pm @@ -17,8 +17,8 @@ package Search::Elasticsearch::Client::7_0::Async; -our $VERSION='8.00'; -use Search::Elasticsearch::Client::7_0 7.00 (); +our $VERSION='8.12'; +use Search::Elasticsearch::Client::7_0 8.12 (); 1; diff --git a/lib/Search/Elasticsearch/Client/8_0.pm b/lib/Search/Elasticsearch/Client/8_0.pm index ae53ece8..7246b5e5 100644 --- a/lib/Search/Elasticsearch/Client/8_0.pm +++ b/lib/Search/Elasticsearch/Client/8_0.pm @@ -17,7 +17,7 @@ package Search::Elasticsearch::Client::8_0; -our $VERSION='8.00'; +our $VERSION='8.12'; use Search::Elasticsearch 8.00 (); 1; diff --git a/lib/Search/Elasticsearch/Client/8_0/Async.pm b/lib/Search/Elasticsearch/Client/8_0/Async.pm index 5bdf99df..1161c6f5 100644 --- a/lib/Search/Elasticsearch/Client/8_0/Async.pm +++ b/lib/Search/Elasticsearch/Client/8_0/Async.pm @@ -17,8 +17,8 @@ package Search::Elasticsearch::Client::8_0::Async; -our $VERSION='8.00'; -use Search::Elasticsearch::Client::8_0 8.00 (); +our $VERSION='8.12'; +use Search::Elasticsearch::Client::8_0 8.12 (); 1; diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct.pm b/lib/Search/Elasticsearch/Client/8_0/Direct.pm index 1012ee04..ac65115e 100644 --- a/lib/Search/Elasticsearch/Client/8_0/Direct.pm +++ b/lib/Search/Elasticsearch/Client/8_0/Direct.pm @@ -18,14 +18,17 @@ has 'autoscaling' => ( is => 'lazy', init_arg => undef ); has 'cat' => ( is => 'lazy', init_arg => undef ); has 'ccr' => ( is => 'lazy', init_arg => undef ); has 'cluster' => ( is => 'lazy', init_arg => undef ); +has 'connector' => ( is => 'lazy', init_arg => undef ); has 'dangling_indices' => ( is => 'lazy', init_arg => undef ); has 'enrich' => ( is => 'lazy', init_arg => undef ); has 'eql' => ( is => 'lazy', init_arg => undef ); +has 'esql' => ( is => 'lazy', init_arg => undef ); has 'features' => ( is => 'lazy', init_arg => undef ); has 'fleet' => ( is => 'lazy', init_arg => undef ); has 'graph' => ( is => 'lazy', init_arg => undef ); has 'ilm' => ( is => 'lazy', init_arg => undef ); has 'indices' => ( is => 'lazy', init_arg => undef ); +has 'inference' => ( is => 'lazy', init_arg => undef ); has 'ingest' => ( is => 'lazy', init_arg => undef ); has 'license' => ( is => 'lazy', init_arg => undef ); has 'logstash' => ( is => 'lazy', init_arg => undef ); @@ -33,15 +36,21 @@ has 'migration' => ( is => 'lazy', init_arg => undef ); has 'ml' => ( is => 'lazy', init_arg => undef ); has 'monitoring' => ( is => 'lazy', init_arg => undef ); has 'nodes' => ( is => 'lazy', init_arg => undef ); +has 'profiling' => ( is => 'lazy', init_arg => undef ); +has 'query_ruleset' => ( is => 'lazy', init_arg => undef ); has 'rollup' => ( is => 'lazy', init_arg => undef ); has 'searchable_snapshots' => ( is => 'lazy', init_arg => undef ); +has 'search_application' => ( is => 'lazy', init_arg => undef ); has 'security' => ( is => 'lazy', init_arg => undef ); has 'shutdown' => ( is => 'lazy', init_arg => undef ); +has 'simulate' => ( is => 'lazy', init_arg => undef ); has 'snapshot' => ( is => 'lazy', init_arg => undef ); has 'slm' => ( is => 'lazy', init_arg => undef ); has 'sql' => ( is => 'lazy', init_arg => undef ); has 'ssl' => ( is => 'lazy', init_arg => undef ); +has 'synonyms' => ( is => 'lazy', init_arg => undef ); has 'tasks' => ( is => 'lazy', init_arg => undef ); +has 'text_structure' => ( is => 'lazy', init_arg => undef ); has 'transform' => ( is => 'lazy', init_arg => undef ); has 'watcher' => ( is => 'lazy', init_arg => undef ); has 'xpack' => ( is => 'lazy', init_arg => undef ); @@ -90,14 +99,17 @@ sub _build_async_search { shift->_build_namespace('AsyncSearch') } sub _build_cat { shift->_build_namespace('Cat') } sub _build_ccr { shift->_build_namespace('CCR') } sub _build_cluster { shift->_build_namespace('Cluster') } +sub _build_connector { shift->_build_namespace('Connector') } sub _build_dangling_indices { shift->_build_namespace('DanglingIndices') } sub _build_enrich { shift->_build_namespace('Enrich') } sub _build_eql { shift->_build_namespace('Eql') } +sub _build_esql { shift->_build_namespace('Esql') } sub _build_features { shift->_build_namespace('Features') } sub _build_fleet { shift->_build_namespace('Fleet') } sub _build_graph { shift->_build_namespace('Graph') } sub _build_ilm { shift->_build_namespace('ILM') } sub _build_indices { shift->_build_namespace('Indices') } +sub _build_inference { shift->_build_namespace('Inference') } sub _build_ingest { shift->_build_namespace('Ingest') } sub _build_license { shift->_build_namespace('License') } sub _build_logstash { shift->_build_namespace('Logstash') } @@ -105,15 +117,21 @@ sub _build_migration { shift->_build_namespace('Migration') } sub _build_ml { shift->_build_namespace('ML') } sub _build_monitoring { shift->_build_namespace('Monitoring') } sub _build_nodes { shift->_build_namespace('Nodes') } +sub _build_profiling { shift->_build_namespace('Profiling') } +sub _build_query_ruleset { shift->_build_namespace('QueryRuleset') } sub _build_rollup { shift->_build_namespace('Rollup') } sub _build_searchable_snapshots { shift->_build_namespace('SearchableSnapshots') } +sub _build_search_application { shift->_build_namespace('SearchApplication') } sub _build_security { shift->_build_namespace('Security') } sub _build_shutdown { shift->_build_namespace('Shutdown') } +sub _build_simulate { shift->_build_namespace('Simulate') } sub _build_snapshot { shift->_build_namespace('Snapshot') } sub _build_slm { shift->_build_namespace('Slm') } sub _build_sql { shift->_build_namespace('SQL') } sub _build_ssl { shift->_build_namespace('SSL') } +sub _build_synonyms { shift->_build_namespace('Synonyms') } sub _build_tasks { shift->_build_namespace('Tasks') } +sub _build_text_structure { shift->_build_namespace('TextStructure') } sub _build_transform { shift->_build_namespace('Transform') } sub _build_watcher { shift->_build_namespace('Watcher') } sub _build_xpack { shift->_build_namespace('XPack') } diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/Connector.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/Connector.pm new file mode 100644 index 00000000..cdcb9a22 --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/Connector.pm @@ -0,0 +1,59 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::Connector; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +__PACKAGE__->_install_api('connector'); + +1; + +__END__ + +# ABSTRACT: A client for create and manage Elastic connectors + +=head1 DESCRIPTION + +The connector and sync jobs API provides a convenient way to create +and manage Elastic connectors and sync jobs in an internal index. + +This API provides an alternative to relying solely on Kibana UI +for connector and sync job management. The API comes with a set of +validations and assertions to ensure that the state representation +in the internal index remains valid. + +The full documentation for Eql feature is available here: +L + +It does L. + +=head1 METHODS + +=head2 C + + $response = $e->connector->put( + connector_id => "my-connector", + body => { + index_name => "search-google-drive", + name => "My Connector", + service_type => "google_drive" + } + ); + +The C method create a connector. diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/Esql.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/Esql.pm new file mode 100644 index 00000000..a7df4734 --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/Esql.pm @@ -0,0 +1,53 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::Esql; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('esql'); + +1; + +__END__ + +# ABSTRACT: The Elasticsearch Query Language (ES|QL) provides a +powerful way to filter, transform, and analyze data stored in +Elasticsearch, and in the future in other runtimes. +It is designed to be easy to learn and use, by end users, +SRE teams, application developers, and administrators. + +=head2 DESCRIPTION + +The full documentation for ES|QL feature is available here: +L + +=head1 FOLLOW METHODS + +=head2 C + + my $response = $es->esql->query( + 'body' => { + 'query' => 'FROM sample_data' + } + ); + +An introduction to Elasticsearch Query Language is available here: +L \ No newline at end of file diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/Inference.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/Inference.pm new file mode 100644 index 00000000..57a30bbc --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/Inference.pm @@ -0,0 +1,54 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::Inference; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('inference'); + +1; + +__END__ + +# ABSTRACT: The inference APIs enable you to use certain services, +such as ELSER, OpenAI, or Hugging Face, in your cluster. + +=head2 DESCRIPTION + +The full documentation for Inference is available here: +L + +=head1 FOLLOW METHODS + +=head2 C + + my $response = $es->inference->put_model( + 'task_type' => 'sparse_embedding', + 'model_id' => 'my-elser-model', + 'body' => { + 'service' => 'elser', + 'service_settings' => { + 'num_allocations' => 1, + 'num_threads' => 1 + }, + 'task_settings' => {} + } + ); diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/Profiling.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/Profiling.pm new file mode 100644 index 00000000..39409fdb --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/Profiling.pm @@ -0,0 +1,43 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::Profiling; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('profiling'); + +1; + +__END__ + +# ABSTRACT: The Profile API returns basic information about +the status of Universal Profiling. + +=head2 DESCRIPTION + +The full documentation for Universal Profiling is available here: +L + +=head1 FOLLOW METHODS + +=head2 C + + my $response = $es->profiling->status(); diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/QueryRuleset.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/QueryRuleset.pm new file mode 100644 index 00000000..39c6178d --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/QueryRuleset.pm @@ -0,0 +1,43 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::QueryRuleset; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('query_ruleset'); + +1; + +__END__ + +# ABSTRACT: Query rules allow you to configure per-query rules that +are applied at query time to queries that match the specific rule. + +=head2 DESCRIPTION + +The full documentation for Query Rules is available here: +L + +=head1 FOLLOW METHODS + +=head2 C + + my $response = $es->query_ruleset->get(); diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/SearchApplication.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/SearchApplication.pm new file mode 100644 index 00000000..14a55019 --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/SearchApplication.pm @@ -0,0 +1,42 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::SearchApplication; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('search_application'); + +1; + +__END__ + +# ABSTRACT: ES|QL feature of Search::Elasticsearch 8.x + +=head2 DESCRIPTION + +The full documentation for Elastic Search Applications is available here: +L + +=head1 FOLLOW METHODS + +=head2 C + + my $response = $es->search_application->list(); diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/Simulate.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/Simulate.pm new file mode 100644 index 00000000..ba746ad6 --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/Simulate.pm @@ -0,0 +1,63 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::Simulate; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('simulate'); + +1; + +__END__ + +# ABSTRACT: Executes ingest pipelines against a set of provided +documents, optionally with substitute pipeline definitions. +This API is meant to be used for troubleshooting or pipeline +development, as it does not actually index any data into Elasticsearch. + +=head2 DESCRIPTION + +The full documentation for Simulate ingest API is available here: +L + +=head1 FOLLOW METHODS + +=head2 C + + my $response = $es->simulate->ingest( + 'index' => 'test', + 'body' => { + 'docs' => [ + { + '_id' => '123', + '_source' => { + 'foo': 'bar' + } + }, + { + '_id' => '456', + '_source' => { + 'foo': 'baz' + } + }, + ] + } + ); \ No newline at end of file diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/Synonyms.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/Synonyms.pm new file mode 100644 index 00000000..47af550b --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/Synonyms.pm @@ -0,0 +1,65 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::Synonyms; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('synonyms'); + +1; + +__END__ + +# ABSTRACT: The synonyms management API provides a convenient way +to define and manage synonyms in an internal system index. +Related synonyms can be grouped in a "synonyms set". +Create as many synonym sets as you need. + +=head2 DESCRIPTION + +The full documentation for Synonyms API is available here: +L + +=head1 FOLLOW METHODS + +=head2 C + + my $response = $es->synonyms->put_synonym( + 'id' => 'my-synonyms-set', + 'body' => { + synonyms_set' => [ + { + 'id' => 'test-1', + 'synonyms' => 'hello, hi' + }, + { + 'synonyms' => 'bye, goodbye' + }, + { + 'id' => 'test-2', + 'synonyms' => 'test => check' + }, + ] + } + ); + +An introduction to synonyms in Elasticsearch is available here: +L \ No newline at end of file diff --git a/lib/Search/Elasticsearch/Client/8_0/Direct/TextStructure.pm b/lib/Search/Elasticsearch/Client/8_0/Direct/TextStructure.pm new file mode 100644 index 00000000..34a27141 --- /dev/null +++ b/lib/Search/Elasticsearch/Client/8_0/Direct/TextStructure.pm @@ -0,0 +1,38 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package Search::Elasticsearch::Client::8_0::Direct::TextStructure; + +use Moo; +with 'Search::Elasticsearch::Client::8_0::Role::API'; +with 'Search::Elasticsearch::Role::Client::Direct'; +use namespace::clean; + +__PACKAGE__->_install_api('text_structure'); + +1; + +__END__ + +# ABSTRACT: Finds the structure of text. The text must contain +data that is suitable to be ingested into the Elastic Stack. + + +=head2 DESCRIPTION + +The full documentation for Find structure API is available here: +L diff --git a/lib/Search/Elasticsearch/Client/8_0/Role/API.pm b/lib/Search/Elasticsearch/Client/8_0/Role/API.pm index d8d6b4a5..1e0ad798 100644 --- a/lib/Search/Elasticsearch/Client/8_0/Role/API.pm +++ b/lib/Search/Elasticsearch/Client/8_0/Role/API.pm @@ -93,19 +93,20 @@ sub api { parts => { index => {} }, paths => [ [ { index => 0 }, "{index}", "_bulk" ], [ {}, "_bulk" ] ], qs => { - _source => "list", - _source_excludes => "list", - _source_includes => "list", - error_trace => "boolean", - filter_path => "list", - human => "boolean", - pipeline => "string", - refresh => "enum", - require_alias => "boolean", - routing => "string", - timeout => "time", - type => "string", - wait_for_active_shards => "string", + _source => "list", + _source_excludes => "list", + _source_includes => "list", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + list_executed_pipelines => "boolean", + pipeline => "string", + refresh => "enum", + require_alias => "boolean", + routing => "string", + timeout => "time", + type => "string", + wait_for_active_shards => "string", }, serialize => "bulk", }, @@ -449,6 +450,23 @@ sub api { }, }, + 'health_report' => { + doc => "health-api", + parts => { feature => {} }, + paths => [ + [ { feature => 1 }, "_health_report", "{feature}" ], + [ {}, "_health_report" ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + size => "int", + timeout => "time", + verbose => "boolean", + }, + }, + 'index' => { body => { required => 1 }, doc => "docs-index_", @@ -591,6 +609,7 @@ sub api { }, 'open_point_in_time' => { + body => {}, doc => "point-in-time-api", method => "POST", parts => { index => { multi => 1 } }, @@ -763,6 +782,7 @@ sub api { human => "boolean", ignore_throttled => "boolean", ignore_unavailable => "boolean", + include_named_queries_score => "boolean", lenient => "boolean", max_concurrent_shard_requests => "number", min_compatible_shard_node => "string", @@ -1180,7 +1200,7 @@ sub api { }, 'cat.component_templates' => { - doc => "cat-compoentn-templates", + doc => "cat-component-templates", parts => { name => {} }, paths => [ [ { name => 2 }, "_cat", "component_templates", "{name}" ], @@ -1908,11 +1928,12 @@ sub api { [ {}, "_component_template" ], ], qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - local => "boolean", - master_timeout => "time", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + include_defaults => "boolean", + local => "boolean", + master_timeout => "time", }, }, @@ -1956,6 +1977,17 @@ sub api { }, }, + 'cluster.info' => { + doc => "cluster-info", + parts => { target => { multi => 1 } }, + paths => [ [ { target => 1 }, "_info", "{target}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'cluster.pending_tasks' => { doc => "cluster-pending", parts => {}, @@ -2089,52 +2121,83 @@ sub api { }, }, - 'dangling_indices.delete_dangling_index' => { - doc => "modules-gateway-dangling-indices", + 'connector.check_in' => { + doc => "check-in-connector-api", + method => "PUT", + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", + "{connector_id}", "_check_in", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'connector.delete' => { + doc => "delete-connector-api", method => "DELETE", - parts => { index_uuid => {} }, - paths => [ [ { index_uuid => 1 }, "_dangling", "{index_uuid}" ] ], - qs => { - accept_data_loss => "boolean", - error_trace => "boolean", - filter_path => "list", - human => "boolean", - master_timeout => "time", - timeout => "time", + parts => { connector_id => {} }, + paths => + [ [ { connector_id => 1 }, "_connector", "{connector_id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, - 'dangling_indices.import_dangling_index' => { - doc => "modules-gateway-dangling-indices", - method => "POST", - parts => { index_uuid => {} }, - paths => [ [ { index_uuid => 1 }, "_dangling", "{index_uuid}" ] ], - qs => { - accept_data_loss => "boolean", - error_trace => "boolean", - filter_path => "list", - human => "boolean", - master_timeout => "time", - timeout => "time", + 'connector.get' => { + doc => "get-connector-api", + parts => { connector_id => {} }, + paths => + [ [ { connector_id => 1 }, "_connector", "{connector_id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, - 'dangling_indices.list_dangling_indices' => { - doc => "modules-gateway-dangling-indices", + 'connector.last_sync' => { + body => { required => 1 }, + doc => "update-connector-last-sync-api", + method => "PUT", + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", + "{connector_id}", "_last_sync", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'connector.list' => { + doc => "list-connector-api", parts => {}, - paths => [ [ {}, "_dangling" ] ], + paths => [ [ {}, "_connector" ] ], qs => { error_trace => "boolean", filter_path => "list", - human => "boolean" + from => "int", + human => "boolean", + size => "int", }, }, - 'enrich.delete_policy' => { - doc => "delete-enrich-policy-api", - method => "DELETE", - parts => { name => {} }, - paths => [ [ { name => 2 }, "_enrich", "policy", "{name}" ] ], + 'connector.post' => { + body => { required => 1 }, + doc => "create-connector-api", + method => "POST", + parts => {}, + paths => [ [ {}, "_connector" ] ], qs => { error_trace => "boolean", filter_path => "list", @@ -2142,26 +2205,29 @@ sub api { }, }, - 'enrich.execute_policy' => { - doc => "execute-enrich-policy-api", + 'connector.put' => { + body => { required => 1 }, + doc => "create-connector-api", method => "PUT", - parts => { name => {} }, + parts => { connector_id => {} }, paths => - [ [ { name => 2 }, "_enrich", "policy", "{name}", "_execute" ] ], + [ [ { connector_id => 1 }, "_connector", "{connector_id}" ] ], qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - wait_for_completion => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, - 'enrich.get_policy' => { - doc => "get-enrich-policy-api", - parts => { name => { multi => 1 } }, - paths => [ - [ { name => 2 }, "_enrich", "policy", "{name}" ], - [ {}, "_enrich", "policy" ], + 'connector.update_configuration' => { + body => { required => 1 }, + doc => "update-connector-configuration-api", + method => "PUT", + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", + "{connector_id}", "_configuration", + ], ], qs => { error_trace => "boolean", @@ -2170,111 +2236,442 @@ sub api { }, }, - 'enrich.put_policy' => { + 'connector.update_error' => { body => { required => 1 }, - doc => "put-enrich-policy-api", + doc => "update-connector-error-api", method => "PUT", - parts => { name => {} }, - paths => [ [ { name => 2 }, "_enrich", "policy", "{name}" ] ], - qs => { + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", + "{connector_id}", "_error" + ], + ], + qs => { error_trace => "boolean", filter_path => "list", human => "boolean" }, }, - 'enrich.stats' => { - doc => "enrich-stats-api", - parts => {}, - paths => [ [ {}, "_enrich", "_stats" ] ], - qs => { + 'connector.update_filtering' => { + body => { required => 1 }, + doc => "update-connector-filtering-api", + method => "PUT", + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", + "{connector_id}", "_filtering", + ], + ], + qs => { error_trace => "boolean", filter_path => "list", human => "boolean" }, }, - 'eql.delete' => { - doc => "eql-search-api", - method => "DELETE", - parts => { id => {} }, - paths => [ [ { id => 2 }, "_eql", "search", "{id}" ] ], - qs => { + 'connector.update_name' => { + body => { required => 1 }, + doc => "update-connector-name-description-api", + method => "PUT", + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", "{connector_id}", + "_name" + ], + ], + qs => { error_trace => "boolean", filter_path => "list", human => "boolean" }, }, - 'eql.get' => { - doc => "eql-search-api", - parts => { id => {} }, - paths => [ [ { id => 2 }, "_eql", "search", "{id}" ] ], - qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - keep_alive => "time", - wait_for_completion_timeout => "time", + 'connector.update_pipeline' => { + body => { required => 1 }, + doc => "update-connector-pipeline-api", + method => "PUT", + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", + "{connector_id}", "_pipeline", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, - 'eql.get_status' => { - doc => "eql-search-api", - parts => { id => {} }, - paths => [ [ { id => 3 }, "_eql", "search", "status", "{id}" ] ], - qs => { + 'connector.update_scheduling' => { + body => { required => 1 }, + doc => "update-connector-scheduling-api", + method => "PUT", + parts => { connector_id => {} }, + paths => [ + [ { connector_id => 1 }, "_connector", + "{connector_id}", "_scheduling", + ], + ], + qs => { error_trace => "boolean", filter_path => "list", human => "boolean" }, }, - 'eql.search' => { - body => { required => 1 }, - doc => "eql-search-api", - parts => { index => {} }, - paths => [ [ { index => 0 }, "{index}", "_eql", "search" ] ], - qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - keep_alive => "time", - keep_on_completion => "boolean", - wait_for_completion_timeout => "time", + 'connector_sync_job.cancel' => { + doc => "cancel-connector-sync-job-api", + method => "PUT", + parts => { connector_sync_job_id => {} }, + paths => [ + [ { connector_sync_job_id => 2 }, "_connector", + "_sync_job", "{connector_sync_job_id}", + "_cancel", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, - 'features.get_features' => { - doc => "get-features-api", - parts => {}, - paths => [ [ {}, "_features" ] ], - qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - master_timeout => "time", + 'connector_sync_job.check_in' => { + doc => "check-in-connector-sync-job-api", + method => "PUT", + parts => { connector_sync_job_id => {} }, + paths => [ + [ { connector_sync_job_id => 2 }, "_connector", + "_sync_job", "{connector_sync_job_id}", + "_check_in", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, - 'features.reset_features' => { - doc => "modules-snapshots", - method => "POST", - parts => {}, - paths => [ [ {}, "_features", "_reset" ] ], - qs => { + 'connector_sync_job.delete' => { + doc => "delete-connector-sync-job-api", + method => "DELETE", + parts => { connector_sync_job_id => {} }, + paths => [ + [ { connector_sync_job_id => 2 }, "_connector", + "_sync_job", "{connector_sync_job_id}", + ], + ], + qs => { error_trace => "boolean", filter_path => "list", human => "boolean" }, }, - 'fleet.global_checkpoints' => { - doc => "get-global-checkpoints", - parts => { index => {} }, - paths => - [ [ { index => 0 }, "{index}", "_fleet", "global_checkpoints" ] ], - qs => { + 'connector_sync_job.error' => { + body => { required => 1 }, + doc => "set-connector-sync-job-error-api", + method => "PUT", + parts => { connector_sync_job_id => {} }, + paths => [ + [ { connector_sync_job_id => 2 }, "_connector", + "_sync_job", "{connector_sync_job_id}", + "_error", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'connector_sync_job.get' => { + doc => "get-connector-sync-job-api", + parts => { connector_sync_job_id => {} }, + paths => [ + [ { connector_sync_job_id => 2 }, "_connector", + "_sync_job", "{connector_sync_job_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'connector_sync_job.list' => { + doc => "list-connector-sync-jobs-api", + parts => {}, + paths => [ [ {}, "_connector", "_sync_job" ] ], + qs => { + connector_id => "string", + error_trace => "boolean", + filter_path => "list", + from => "int", + human => "boolean", + size => "int", + status => "string", + }, + }, + + 'connector_sync_job.post' => { + body => { required => 1 }, + doc => "create-connector-sync-job-api", + method => "POST", + parts => {}, + paths => [ [ {}, "_connector", "_sync_job" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'connector_sync_job.update_stats' => { + body => { required => 1 }, + doc => "set-connector-sync-job-stats-api", + method => "PUT", + parts => { connector_sync_job_id => {} }, + paths => [ + [ { connector_sync_job_id => 2 }, "_connector", + "_sync_job", "{connector_sync_job_id}", + "_stats", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'dangling_indices.delete_dangling_index' => { + doc => "modules-gateway-dangling-indices", + method => "DELETE", + parts => { index_uuid => {} }, + paths => [ [ { index_uuid => 1 }, "_dangling", "{index_uuid}" ] ], + qs => { + accept_data_loss => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + master_timeout => "time", + timeout => "time", + }, + }, + + 'dangling_indices.import_dangling_index' => { + doc => "modules-gateway-dangling-indices", + method => "POST", + parts => { index_uuid => {} }, + paths => [ [ { index_uuid => 1 }, "_dangling", "{index_uuid}" ] ], + qs => { + accept_data_loss => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + master_timeout => "time", + timeout => "time", + }, + }, + + 'dangling_indices.list_dangling_indices' => { + doc => "modules-gateway-dangling-indices", + parts => {}, + paths => [ [ {}, "_dangling" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'enrich.delete_policy' => { + doc => "delete-enrich-policy-api", + method => "DELETE", + parts => { name => {} }, + paths => [ [ { name => 2 }, "_enrich", "policy", "{name}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'enrich.execute_policy' => { + doc => "execute-enrich-policy-api", + method => "PUT", + parts => { name => {} }, + paths => + [ [ { name => 2 }, "_enrich", "policy", "{name}", "_execute" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + wait_for_completion => "boolean", + }, + }, + + 'enrich.get_policy' => { + doc => "get-enrich-policy-api", + parts => { name => { multi => 1 } }, + paths => [ + [ { name => 2 }, "_enrich", "policy", "{name}" ], + [ {}, "_enrich", "policy" ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'enrich.put_policy' => { + body => { required => 1 }, + doc => "put-enrich-policy-api", + method => "PUT", + parts => { name => {} }, + paths => [ [ { name => 2 }, "_enrich", "policy", "{name}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'enrich.stats' => { + doc => "enrich-stats-api", + parts => {}, + paths => [ [ {}, "_enrich", "_stats" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'eql.delete' => { + doc => "eql-search-api", + method => "DELETE", + parts => { id => {} }, + paths => [ [ { id => 2 }, "_eql", "search", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'eql.get' => { + doc => "eql-search-api", + parts => { id => {} }, + paths => [ [ { id => 2 }, "_eql", "search", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + keep_alive => "time", + wait_for_completion_timeout => "time", + }, + }, + + 'eql.get_status' => { + doc => "eql-search-api", + parts => { id => {} }, + paths => [ [ { id => 3 }, "_eql", "search", "status", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'eql.search' => { + body => { required => 1 }, + doc => "eql-search-api", + parts => { index => {} }, + paths => [ [ { index => 0 }, "{index}", "_eql", "search" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + keep_alive => "time", + keep_on_completion => "boolean", + wait_for_completion_timeout => "time", + }, + }, + + 'esql.query' => { + body => { required => 1 }, + doc => "esql-query-api", + method => "POST", + parts => {}, + paths => [ [ {}, "_query" ] ], + qs => { + delimiter => "string", + error_trace => "boolean", + filter_path => "list", + format => "string", + human => "boolean", + }, + }, + + 'features.get_features' => { + doc => "get-features-api", + parts => {}, + paths => [ [ {}, "_features" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + master_timeout => "time", + }, + }, + + 'features.reset_features' => { + doc => "modules-snapshots", + method => "POST", + parts => {}, + paths => [ [ {}, "_features", "_reset" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'fleet.delete_secret' => { + method => "DELETE", + parts => { id => {} }, + paths => [ [ { id => 2 }, "_fleet", "secret", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'fleet.get_secret' => { + parts => { id => {} }, + paths => [ [ { id => 2 }, "_fleet", "secret", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'fleet.global_checkpoints' => { + doc => "get-global-checkpoints", + parts => { index => {} }, + paths => + [ [ { index => 0 }, "{index}", "_fleet", "global_checkpoints" ] ], + qs => { checkpoints => "list", error_trace => "boolean", filter_path => "list", @@ -2300,6 +2697,18 @@ sub api { serialize => "bulk", }, + 'fleet.post_secret' => { + body => { required => 1 }, + method => "POST", + parts => {}, + paths => [ [ {}, "_fleet", "secret" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'fleet.search' => { body => {}, parts => { index => {} }, @@ -2630,6 +3039,22 @@ sub api { }, }, + 'indices.delete_data_lifecycle' => { + doc => "data-streams-delete-lifecycle", + method => "DELETE", + parts => { name => { multi => 1 } }, + paths => + [ [ { name => 1 }, "_data_stream", "{name}", "_lifecycle" ] ], + qs => { + error_trace => "boolean", + expand_wildcards => "enum", + filter_path => "list", + human => "boolean", + master_timeout => "time", + timeout => "time", + }, + }, + 'indices.delete_data_stream' => { doc => "data-streams", method => "DELETE", @@ -2644,7 +3069,7 @@ sub api { }, 'indices.delete_index_template' => { - doc => "indices-templates", + doc => "indices-delete-template", method => "DELETE", parts => { name => {} }, paths => [ [ { name => 1 }, "_index_template", "{name}" ] ], @@ -2658,7 +3083,7 @@ sub api { }, 'indices.delete_template' => { - doc => "indices-templates", + doc => "indices-delete-template-v1", method => "DELETE", parts => { name => {} }, paths => [ [ { name => 1 }, "_template", "{name}" ] ], @@ -2744,7 +3169,7 @@ sub api { }, 'indices.exists_index_template' => { - doc => "indices-templates", + doc => "index-templates", method => "HEAD", parts => { name => {} }, paths => [ [ { name => 1 }, "_index_template", "{name}" ] ], @@ -2759,7 +3184,7 @@ sub api { }, 'indices.exists_template' => { - doc => "indices-templates", + doc => "indices-template-exists-v1", method => "HEAD", parts => { name => { multi => 1 } }, paths => [ [ { name => 1 }, "_template", "{name}" ] ], @@ -2773,6 +3198,19 @@ sub api { }, }, + 'indices.explain_data_lifecycle' => { + doc => "data-streams-explain-lifecycle", + parts => { index => {} }, + paths => [ [ { index => 0 }, "{index}", "_lifecycle", "explain" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + include_defaults => "boolean", + master_timeout => "time", + }, + }, + 'indices.field_usage_stats' => { doc => "field-usage-stats", parts => { index => {} }, @@ -2867,6 +3305,20 @@ sub api { }, }, + 'indices.get_data_lifecycle' => { + doc => "data-streams-get-lifecycle", + parts => { name => { multi => 1 } }, + paths => + [ [ { name => 1 }, "_data_stream", "{name}", "_lifecycle" ] ], + qs => { + error_trace => "boolean", + expand_wildcards => "enum", + filter_path => "list", + human => "boolean", + include_defaults => "boolean", + }, + }, + 'indices.get_data_stream' => { doc => "data-streams", parts => { name => { multi => 1 } }, @@ -2879,6 +3331,7 @@ sub api { expand_wildcards => "enum", filter_path => "list", human => "boolean", + include_defaults => "boolean", }, }, @@ -2905,19 +3358,20 @@ sub api { }, 'indices.get_index_template' => { - doc => "indices-templates", + doc => "indices-get-template", parts => { name => {} }, paths => [ [ { name => 1 }, "_index_template", "{name}" ], [ {}, "_index_template" ], ], qs => { - error_trace => "boolean", - filter_path => "list", - flat_settings => "boolean", - human => "boolean", - local => "boolean", - master_timeout => "time", + error_trace => "boolean", + filter_path => "list", + flat_settings => "boolean", + human => "boolean", + include_defaults => "boolean", + local => "boolean", + master_timeout => "time", }, }, @@ -2962,7 +3416,7 @@ sub api { }, 'indices.get_template' => { - doc => "indices-templates", + doc => "indices-get-template-v1", parts => { name => { multi => 1 } }, paths => [ [ { name => 1 }, "_template", "{name}" ], [ {}, "_template" ] ], @@ -3047,9 +3501,26 @@ sub api { }, }, + 'indices.put_data_lifecycle' => { + body => {}, + doc => "data-streams-put-lifecycle", + method => "PUT", + parts => { name => { multi => 1 } }, + paths => + [ [ { name => 1 }, "_data_stream", "{name}", "_lifecycle" ] ], + qs => { + error_trace => "boolean", + expand_wildcards => "enum", + filter_path => "list", + human => "boolean", + master_timeout => "time", + timeout => "time", + }, + }, + 'indices.put_index_template' => { body => { required => 1 }, - doc => "indices-templates", + doc => "indices-put-template", method => "PUT", parts => { name => {} }, paths => [ [ { name => 1 }, "_index_template", "{name}" ] ], @@ -3101,13 +3572,14 @@ sub api { ignore_unavailable => "boolean", master_timeout => "time", preserve_existing => "boolean", + reopen => "boolean", timeout => "time", }, }, 'indices.put_template' => { body => { required => 1 }, - doc => "indices-templates", + doc => "indices-templates-v1", method => "PUT", parts => { name => {} }, paths => [ [ { name => 1 }, "_template", "{name}" ] ], @@ -3165,6 +3637,7 @@ sub api { filter_path => "list", human => "boolean", ignore_unavailable => "boolean", + resource => "string", }, }, @@ -3258,25 +3731,26 @@ sub api { 'indices.simulate_index_template' => { body => {}, - doc => "indices-templates", + doc => "indices-simulate-index", method => "POST", parts => { name => {} }, paths => [ [ { name => 2 }, "_index_template", "_simulate_index", "{name}" ], ], qs => { - cause => "string", - create => "boolean", - error_trace => "boolean", - filter_path => "list", - human => "boolean", - master_timeout => "time", + cause => "string", + create => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + include_defaults => "boolean", + master_timeout => "time", }, }, 'indices.simulate_template' => { body => {}, - doc => "indices-templates", + doc => "indices-simulate-template", method => "POST", parts => { name => {} }, paths => [ @@ -3284,12 +3758,13 @@ sub api { [ {}, "_index_template", "_simulate" ], ], qs => { - cause => "string", - create => "boolean", - error_trace => "boolean", - filter_path => "list", - human => "boolean", - master_timeout => "time", + cause => "string", + create => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + include_defaults => "boolean", + master_timeout => "time", }, }, @@ -3396,6 +3871,71 @@ sub api { }, }, + 'inference.delete_model' => { + doc => "delete-inference-api", + method => "DELETE", + parts => { model_id => {}, task_type => {} }, + paths => [ + [ { model_id => 2, task_type => 1 }, "_inference", + "{task_type}", "{model_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'inference.get_model' => { + doc => "get-inference-api", + parts => { model_id => {}, task_type => {} }, + paths => [ + [ { model_id => 2, task_type => 1 }, "_inference", + "{task_type}", "{model_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'inference.inference' => { + body => {}, + doc => "post-inference-api", + method => "POST", + parts => { model_id => {}, task_type => {} }, + paths => [ + [ { model_id => 2, task_type => 1 }, "_inference", + "{task_type}", "{model_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'inference.put_model' => { + body => {}, + doc => "put-inference-api", + method => "PUT", + parts => { model_id => {}, task_type => {} }, + paths => [ + [ { model_id => 2, task_type => 1 }, "_inference", + "{task_type}", "{model_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'ingest.delete_pipeline' => { doc => "delete-pipeline-api", method => "DELETE", @@ -3583,8 +4123,11 @@ sub api { 'logstash.get_pipeline' => { doc => "logstash-api-get-pipeline", parts => { id => {} }, - paths => [ [ { id => 2 }, "_logstash", "pipeline", "{id}" ] ], - qs => { + paths => [ + [ { id => 2 }, "_logstash", "pipeline", "{id}" ], + [ {}, "_logstash", "pipeline" ], + ], + qs => { error_trace => "boolean", filter_path => "list", human => "boolean" @@ -3815,11 +4358,12 @@ sub api { paths => [ [ { job_id => 2 }, "_ml", "anomaly_detectors", "{job_id}" ] ], qs => { - error_trace => "boolean", - filter_path => "list", - force => "boolean", - human => "boolean", - wait_for_completion => "boolean", + delete_user_annotations => "boolean", + error_trace => "boolean", + filter_path => "list", + force => "boolean", + human => "boolean", + wait_for_completion => "boolean", }, }, @@ -4582,6 +5126,7 @@ sub api { error_trace => "boolean", filter_path => "list", human => "boolean", + wait_for_completion => "boolean", }, }, @@ -4650,10 +5195,11 @@ sub api { ], ], qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - wait_for_completion => "boolean", + delete_user_annotations => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + wait_for_completion => "boolean", }, }, @@ -4742,10 +5288,12 @@ sub api { ], qs => { cache_size => "string", + deployment_id => "string", error_trace => "boolean", filter_path => "list", human => "boolean", number_of_allocations => "int", + priority => "string", queue_capacity => "int", threads_per_allocation => "int", timeout => "time", @@ -4908,6 +5456,24 @@ sub api { }, }, + 'ml.update_trained_model_deployment' => { + body => { required => 1 }, + doc => "update-trained-model-deployment", + method => "POST", + parts => { model_id => {} }, + paths => [ + [ { model_id => 2 }, "_ml", + "trained_models", "{model_id}", + "deployment", "_update", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'ml.upgrade_job_snapshot' => { doc => "ml-upgrade-job-model-snapshot", method => "POST", @@ -5126,6 +5692,69 @@ sub api { }, }, + 'profiling.status' => { + doc => "universal-profiling", + parts => {}, + paths => [ [ {}, "_profiling", "status" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + master_timeout => "time", + timeout => "time", + wait_for_resources_created => "boolean", + }, + }, + + 'query_ruleset.delete' => { + doc => "delete-query-ruleset", + method => "DELETE", + parts => { ruleset_id => {} }, + paths => [ [ { ruleset_id => 1 }, "_query_rules", "{ruleset_id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'query_ruleset.get' => { + doc => "get-query-ruleset", + parts => { ruleset_id => {} }, + paths => [ [ { ruleset_id => 1 }, "_query_rules", "{ruleset_id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'query_ruleset.list' => { + doc => "list-query-rulesets", + parts => {}, + paths => [ [ {}, "_query_rules" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + from => "int", + human => "boolean", + size => "int", + }, + }, + + 'query_ruleset.put' => { + body => { required => 1 }, + doc => "put-query-ruleset", + method => "PUT", + parts => { ruleset_id => {} }, + paths => [ [ { ruleset_id => 1 }, "_query_rules", "{ruleset_id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'rollup.delete_job' => { doc => "rollup-delete-job", method => "DELETE", @@ -5138,12 +5767,129 @@ sub api { }, }, - 'rollup.get_jobs' => { - doc => "rollup-get-job", - parts => { id => {} }, + 'rollup.get_jobs' => { + doc => "rollup-get-job", + parts => { id => {} }, + paths => [ + [ { id => 2 }, "_rollup", "job", "{id}" ], + [ {}, "_rollup", "job" ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'rollup.get_rollup_caps' => { + doc => "rollup-get-rollup-caps", + parts => { id => {} }, + paths => [ + [ { id => 2 }, "_rollup", "data", "{id}" ], + [ {}, "_rollup", "data" ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'rollup.get_rollup_index_caps' => { + doc => "rollup-get-rollup-index-caps", + parts => { index => {} }, + paths => [ [ { index => 0 }, "{index}", "_rollup", "data" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'rollup.put_job' => { + body => { required => 1 }, + doc => "rollup-put-job", + method => "PUT", + parts => { id => {} }, + paths => [ [ { id => 2 }, "_rollup", "job", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'rollup.rollup_search' => { + body => { required => 1 }, + doc => "rollup-search", + parts => { index => { multi => 1 } }, + paths => [ [ { index => 0 }, "{index}", "_rollup_search" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + rest_total_hits_as_int => "boolean", + typed_keys => "boolean", + }, + }, + + 'rollup.start_job' => { + doc => "rollup-start-job", + method => "POST", + parts => { id => {} }, + paths => [ [ { id => 2 }, "_rollup", "job", "{id}", "_start" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'rollup.stop_job' => { + doc => "rollup-stop-job", + method => "POST", + parts => { id => {} }, + paths => [ [ { id => 2 }, "_rollup", "job", "{id}", "_stop" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + timeout => "time", + wait_for_completion => "boolean", + }, + }, + + 'search_application.delete' => { + doc => "delete-search-application", + method => "DELETE", + parts => { name => {} }, + paths => [ + [ { name => 2 }, "_application", "search_application", "{name}" ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'search_application.delete_behavioral_analytics' => { + doc => "delete-analytics-collection", + method => "DELETE", + parts => { name => {} }, + paths => [ [ { name => 2 }, "_application", "analytics", "{name}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'search_application.get' => { + doc => "get-search-application", + parts => { name => {} }, paths => [ - [ { id => 2 }, "_rollup", "job", "{id}" ], - [ {}, "_rollup", "job" ], + [ { name => 2 }, "_application", "search_application", "{name}" ], ], qs => { error_trace => "boolean", @@ -5152,12 +5898,12 @@ sub api { }, }, - 'rollup.get_rollup_caps' => { - doc => "rollup-get-rollup-caps", - parts => { id => {} }, + 'search_application.get_behavioral_analytics' => { + doc => "list-analytics-collection", + parts => { name => { multi => 1 } }, paths => [ - [ { id => 2 }, "_rollup", "data", "{id}" ], - [ {}, "_rollup", "data" ], + [ { name => 2 }, "_application", "analytics", "{name}" ], + [ {}, "_application", "analytics" ], ], qs => { error_trace => "boolean", @@ -5166,67 +5912,99 @@ sub api { }, }, - 'rollup.get_rollup_index_caps' => { - doc => "rollup-get-rollup-index-caps", - parts => { index => {} }, - paths => [ [ { index => 0 }, "{index}", "_rollup", "data" ] ], + 'search_application.list' => { + doc => "list-search-applications", + parts => {}, + paths => [ [ {}, "_application", "search_application" ] ], qs => { error_trace => "boolean", filter_path => "list", - human => "boolean" + from => "int", + human => "boolean", + q => "string", + size => "int", }, }, - 'rollup.put_job' => { + 'search_application.post_behavioral_analytics_event' => { body => { required => 1 }, - doc => "rollup-put-job", + doc => "", + method => "POST", + parts => { collection_name => {}, event_type => {} }, + paths => [ + [ { collection_name => 2, event_type => 4 }, + "_application", "analytics", "{collection_name}", "event", + "{event_type}", + ], + ], + qs => { + debug => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean", + }, + }, + + 'search_application.put' => { + body => { required => 1 }, + doc => "put-search-application", method => "PUT", - parts => { id => {} }, - paths => [ [ { id => 2 }, "_rollup", "job", "{id}" ] ], - qs => { + parts => { name => {} }, + paths => [ + [ { name => 2 }, "_application", "search_application", "{name}" ], + ], + qs => { + create => "boolean", error_trace => "boolean", filter_path => "list", - human => "boolean" + human => "boolean", }, }, - 'rollup.rollup_search' => { - body => { required => 1 }, - doc => "rollup-search", - parts => { index => { multi => 1 } }, - paths => [ [ { index => 0 }, "{index}", "_rollup_search" ] ], + 'search_application.put_behavioral_analytics' => { + doc => "put-analytics-collection", + method => "PUT", + parts => { name => {} }, + paths => [ [ { name => 2 }, "_application", "analytics", "{name}" ] ], qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - rest_total_hits_as_int => "boolean", - typed_keys => "boolean", + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, - 'rollup.start_job' => { - doc => "rollup-start-job", + 'search_application.render_query' => { + body => {}, + doc => "search-application-render-query", method => "POST", - parts => { id => {} }, - paths => [ [ { id => 2 }, "_rollup", "job", "{id}", "_start" ] ], - qs => { + parts => { name => {} }, + paths => [ + [ { name => 2 }, "_application", + "search_application", "{name}", + "_render_query", + ], + ], + qs => { error_trace => "boolean", filter_path => "list", human => "boolean" }, }, - 'rollup.stop_job' => { - doc => "rollup-stop-job", - method => "POST", - parts => { id => {} }, - paths => [ [ { id => 2 }, "_rollup", "job", "{id}", "_stop" ] ], - qs => { - error_trace => "boolean", - filter_path => "list", - human => "boolean", - timeout => "time", - wait_for_completion => "boolean", + 'search_application.search' => { + body => {}, + doc => "search-application-search", + parts => { name => {} }, + paths => [ + [ { name => 2 }, "_application", + "search_application", "{name}", + "_search", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" }, }, @@ -5456,6 +6234,19 @@ sub api { }, }, + 'security.create_cross_cluster_api_key' => { + body => { required => 1 }, + doc => "security-api-create-cross-cluster-api-key", + method => "POST", + parts => {}, + paths => [ [ {}, "_security", "cross_cluster", "api_key" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'security.create_service_token' => { doc => "security-api-create-service-token", method => "POST", @@ -5647,6 +6438,7 @@ sub api { parts => {}, paths => [ [ {}, "_security", "api_key" ] ], qs => { + active_only => "boolean", error_trace => "boolean", filter_path => "list", human => "boolean", @@ -5752,6 +6544,17 @@ sub api { }, }, + 'security.get_settings' => { + doc => "security-api-get-settings", + parts => {}, + paths => [ [ {}, "_security", "settings" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'security.get_token' => { body => { required => 1 }, doc => "security-api-get-token", @@ -6088,6 +6891,34 @@ sub api { }, }, + 'security.update_cross_cluster_api_key' => { + body => { required => 1 }, + doc => "security-api-update-cross-cluster-api-key", + method => "PUT", + parts => { id => {} }, + paths => [ + [ { id => 3 }, "_security", "cross_cluster", "api_key", "{id}" ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'security.update_settings' => { + body => { required => 1 }, + doc => "security-api-update-settings", + method => "PUT", + parts => {}, + paths => [ [ {}, "_security", "settings" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'security.update_user_profile_data' => { body => { required => 1 }, doc => "security-api-update-user-profile-data", @@ -6144,6 +6975,22 @@ sub api { }, }, + 'simulate.ingest' => { + body => { required => 1 }, + doc => "simulate-ingest-api", + parts => { index => {} }, + paths => [ + [ { index => 1 }, "_ingest", "{index}", "_simulate" ], + [ {}, "_ingest", "_simulate" ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + pipeline => "string", + }, + }, + 'slm.delete_lifecycle' => { doc => "slm-api-delete-policy", method => "DELETE", @@ -6576,6 +7423,105 @@ sub api { }, }, + 'synonyms.delete_synonym' => { + doc => "delete-synonyms-set", + method => "DELETE", + parts => { id => {} }, + paths => [ [ { id => 1 }, "_synonyms", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'synonyms.delete_synonym_rule' => { + doc => "delete-synonym-rule", + method => "DELETE", + parts => { rule_id => {}, set_id => {} }, + paths => [ + [ { rule_id => 2, set_id => 1 }, "_synonyms", + "{set_id}", "{rule_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'synonyms.get_synonym' => { + doc => "get-synonyms-set", + parts => { id => {} }, + paths => [ [ { id => 1 }, "_synonyms", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + from => "int", + human => "boolean", + size => "int", + }, + }, + + 'synonyms.get_synonym_rule' => { + doc => "get-synonym-rule", + parts => { rule_id => {}, set_id => {} }, + paths => [ + [ { rule_id => 2, set_id => 1 }, "_synonyms", + "{set_id}", "{rule_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'synonyms.get_synonyms_sets' => { + doc => "list-synonyms-sets", + parts => {}, + paths => [ [ {}, "_synonyms" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + from => "int", + human => "boolean", + size => "int", + }, + }, + + 'synonyms.put_synonym' => { + body => { required => 1 }, + doc => "put-synonyms-set", + method => "PUT", + parts => { id => {} }, + paths => [ [ { id => 1 }, "_synonyms", "{id}" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + + 'synonyms.put_synonym_rule' => { + body => { required => 1 }, + doc => "put-synonym-rule", + method => "PUT", + parts => { rule_id => {}, set_id => {} }, + paths => [ + [ { rule_id => 2, set_id => 1 }, "_synonyms", + "{set_id}", "{rule_id}", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'tasks.cancel' => { doc => "tasks", method => "POST", @@ -6662,11 +7608,12 @@ sub api { paths => [ [ { transform_id => 1 }, "_transform", "{transform_id}" ] ], qs => { - error_trace => "boolean", - filter_path => "list", - force => "boolean", - human => "boolean", - timeout => "time", + delete_dest_index => "boolean", + error_trace => "boolean", + filter_path => "list", + force => "boolean", + human => "boolean", + timeout => "time", }, }, @@ -6703,6 +7650,7 @@ sub api { from => "number", human => "boolean", size => "number", + timeout => "time", }, }, @@ -6758,6 +7706,23 @@ sub api { }, }, + 'transform.schedule_now_transform' => { + doc => "schedule-now-transform", + method => "POST", + parts => { transform_id => { required => 1 } }, + paths => [ + [ { transform_id => 1 }, "_transform", + "{transform_id}", "_schedule_now", + ], + ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean", + timeout => "time", + }, + }, + 'transform.start_transform' => { doc => "start-transform", method => "POST", @@ -6770,6 +7735,7 @@ sub api { qs => { error_trace => "boolean", filter_path => "list", + from => "string", human => "boolean", timeout => "time", }, @@ -6910,6 +7876,17 @@ sub api { }, }, + 'watcher.get_settings' => { + doc => "watcher-api-get-settings", + parts => {}, + paths => [ [ {}, "_watcher", "settings" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'watcher.get_watch' => { doc => "watcher-api-get-watch", parts => { id => {} }, @@ -6989,6 +7966,19 @@ sub api { }, }, + 'watcher.update_settings' => { + body => { required => 1 }, + doc => "watcher-api-update-settings", + method => "PUT", + parts => {}, + paths => [ [ {}, "_watcher", "settings" ] ], + qs => { + error_trace => "boolean", + filter_path => "list", + human => "boolean" + }, + }, + 'xpack.info' => { doc => "info-api", parts => {}, diff --git a/lib/Search/Elasticsearch/Cxn/NetCurl.pm b/lib/Search/Elasticsearch/Cxn/NetCurl.pm index 30489c98..a66ef454 100644 --- a/lib/Search/Elasticsearch/Cxn/NetCurl.pm +++ b/lib/Search/Elasticsearch/Cxn/NetCurl.pm @@ -20,8 +20,8 @@ package Search::Elasticsearch::Cxn::NetCurl; use Moo; with 'Search::Elasticsearch::Role::Cxn', 'Search::Elasticsearch::Role::Is_Sync'; -use Search::Elasticsearch 8.00; -our $VERSION = '8.00'; +use Search::Elasticsearch 8.12; +our $VERSION = '8.12'; use HTTP::Parser::XS qw(HEADERS_AS_HASHREF parse_http_response); use Try::Tiny; diff --git a/test/skip_list.yaml b/test/skip_list.yaml index fc4f4c11..bc6ee72b 100644 --- a/test/skip_list.yaml +++ b/test/skip_list.yaml @@ -207,4 +207,19 @@ - transform/transforms_upgrade.yml - tile/10_basic.yml - xpack/20_info.yml - \ No newline at end of file + +8.12.0: + - aggregations/bucket_script.yml + - aggregations/bucket_selector.yml + - aggregations/cumulative_sum.yml + - aggregations/max_bucket.yml + - aggregations/min_bucket.yml + - aggregations/percentiles_bucket.yml + - aggregations/sum_bucket.yml + - cat.segments/10_basic.yml + - field_caps/40_time_series.yml + - search/150_rewrite_on_coordinator.yml + - search/220_total_hits_object.yml + - search.highlight/10_unified.yml + - search.vectors/90_sparse_vector.yml + - tsdb/*