Skip to content

Commit bf09d72

Browse files
committed
Update generated code and docs to 8.15
1 parent c5fa0d2 commit bf09d72

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1138
-1058
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Connector APIs
2+
3+
The connector and sync jobs APIs provide a convenient way to create and manage [Elastic connectors](https://www.elastic.co/guide/en/enterprise-search/master/connectors.html) and sync jobs in an internal index. To get started with Connector APIs, check out the tutorial.
4+
5+
Connectors are Elasticsearch integrations that bring content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure:
6+
7+
* Native connectors are a managed service on Elastic Cloud
8+
* Connector clients are self-managed on your infrastructure
9+
10+
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.

api_generator/docs/namespaces/esql.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ES|QL APIs
2+
3+
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. For an overview of ES|QL and related tutorials, see [ES|QL](https://www.elastic.co/guide/en/elasticsearch/reference/current/esql.html).
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Inference APIs
2+
3+
The inference APIs enable you to create inference endpoints and use machine learning models of different providers - such as Amazon Bedrock, Anthropic, Azure AI Studio, Cohere, Google AI, Mistral, OpenAI, or HuggingFace - as a service.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Query rules APIs
2+
3+
Query rules allow you to configure per-query rules that are applied at query time to queries that match the specific rule. Query rules are organized into rulesets, collections of query rules that are matched against incoming queries. Query rules are applied using the rule query.
4+
5+
If a query matches one or more rules in the ruleset, the query is re-written to apply the rules before searching. This allows pinning documents for only queries that match a specific term.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Search Application APIs
2+
3+
Use Search Application APIs to manage tasks and resources related to Search Applications.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Pipeline simulation APIs
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Synonyms APIs
2+
3+
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.
4+
5+
This provides an alternative to:
6+
7+
* Defining inline synonyms in an analyzer definition, which impacts mapping size and can lead to performance issues.
8+
* Using synonyms files, which implies uploading and managing file consistency on all cluster nodes.
9+
10+
Synonyms sets can be used to configure synonym graph token filters and synonym token filters. These filters are applied as part of the analysis process by the search analyzer.
11+

elasticsearch/src/.generated.toml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
written = [
2-
'async_search.rs',
3-
'autoscaling.rs',
4-
'cat.rs',
5-
'ccr.rs',
6-
'cluster.rs',
7-
'connector.rs',
8-
'dangling_indices.rs',
9-
'enrich.rs',
10-
'eql.rs',
11-
'esql.rs',
12-
'features.rs',
13-
'fleet.rs',
14-
'graph.rs',
15-
'ilm.rs',
16-
'indices.rs',
17-
'inference.rs',
18-
'ingest.rs',
19-
'license.rs',
20-
'logstash.rs',
21-
'migration.rs',
22-
'ml.rs',
23-
'monitoring.rs',
24-
'nodes.rs',
25-
'profiling.rs',
26-
'query_rules.rs',
27-
'rollup.rs',
28-
'root/mod.rs',
29-
'search_application.rs',
30-
'searchable_snapshots.rs',
31-
'security.rs',
32-
'shutdown.rs',
33-
'simulate.rs',
34-
'slm.rs',
35-
'snapshot.rs',
36-
'sql.rs',
37-
'ssl.rs',
38-
'synonyms.rs',
39-
'tasks.rs',
40-
'text_structure.rs',
41-
'transform.rs',
42-
'watcher.rs',
43-
'xpack.rs',
2+
"async_search.rs",
3+
"autoscaling.rs",
4+
"cat.rs",
5+
"ccr.rs",
6+
"cluster.rs",
7+
"connector.rs",
8+
"dangling_indices.rs",
9+
"enrich.rs",
10+
"eql.rs",
11+
"esql.rs",
12+
"features.rs",
13+
"fleet.rs",
14+
"graph.rs",
15+
"ilm.rs",
16+
"indices.rs",
17+
"inference.rs",
18+
"ingest.rs",
19+
"license.rs",
20+
"logstash.rs",
21+
"migration.rs",
22+
"ml.rs",
23+
"monitoring.rs",
24+
"nodes.rs",
25+
"profiling.rs",
26+
"query_rules.rs",
27+
"rollup.rs",
28+
"root/mod.rs",
29+
"search_application.rs",
30+
"searchable_snapshots.rs",
31+
"security.rs",
32+
"shutdown.rs",
33+
"simulate.rs",
34+
"slm.rs",
35+
"snapshot.rs",
36+
"sql.rs",
37+
"ssl.rs",
38+
"synonyms.rs",
39+
"tasks.rs",
40+
"text_structure.rs",
41+
"transform.rs",
42+
"watcher.rs",
43+
"xpack.rs",
4444
]
4545
merged = [
46-
'lib.rs',
47-
'params.rs',
46+
"lib.rs",
47+
"params.rs",
4848
]

elasticsearch/src/async_search.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl<'b> AsyncSearchDeleteParts<'b> {
6666
}
6767
}
6868
}
69-
#[doc = "Builder for the [Async Search Delete API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nDeletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted."]
69+
#[doc = "Builder for the [Async Search Delete API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nDeletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted."]
7070
#[derive(Clone, Debug)]
7171
pub struct AsyncSearchDelete<'a, 'b> {
7272
transport: &'a Transport,
@@ -184,7 +184,7 @@ impl<'b> AsyncSearchGetParts<'b> {
184184
}
185185
}
186186
}
187-
#[doc = "Builder for the [Async Search Get API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nRetrieves the results of a previously submitted async search request given its ID."]
187+
#[doc = "Builder for the [Async Search Get API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nRetrieves the results of a previously submitted async search request given its ID."]
188188
#[derive(Clone, Debug)]
189189
pub struct AsyncSearchGet<'a, 'b> {
190190
transport: &'a Transport,
@@ -329,7 +329,7 @@ impl<'b> AsyncSearchStatusParts<'b> {
329329
}
330330
}
331331
}
332-
#[doc = "Builder for the [Async Search Status API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nRetrieves the status of a previously submitted async search request given its ID."]
332+
#[doc = "Builder for the [Async Search Status API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nRetrieves the status of a previously submitted async search request given its ID."]
333333
#[derive(Clone, Debug)]
334334
pub struct AsyncSearchStatus<'a, 'b> {
335335
transport: &'a Transport,
@@ -462,7 +462,7 @@ impl<'b> AsyncSearchSubmitParts<'b> {
462462
}
463463
}
464464
}
465-
#[doc = "Builder for the [Async Search Submit API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nExecutes a search request asynchronously."]
465+
#[doc = "Builder for the [Async Search Submit API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nExecutes a search request asynchronously."]
466466
#[derive(Clone, Debug)]
467467
pub struct AsyncSearchSubmit<'a, 'b, B> {
468468
transport: &'a Transport,
@@ -1014,19 +1014,19 @@ impl<'a> AsyncSearch<'a> {
10141014
pub fn transport(&self) -> &Transport {
10151015
self.transport
10161016
}
1017-
#[doc = "[Async Search Delete API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nDeletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted."]
1017+
#[doc = "[Async Search Delete API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nDeletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted."]
10181018
pub fn delete<'b>(&'a self, parts: AsyncSearchDeleteParts<'b>) -> AsyncSearchDelete<'a, 'b> {
10191019
AsyncSearchDelete::new(self.transport(), parts)
10201020
}
1021-
#[doc = "[Async Search Get API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nRetrieves the results of a previously submitted async search request given its ID."]
1021+
#[doc = "[Async Search Get API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nRetrieves the results of a previously submitted async search request given its ID."]
10221022
pub fn get<'b>(&'a self, parts: AsyncSearchGetParts<'b>) -> AsyncSearchGet<'a, 'b> {
10231023
AsyncSearchGet::new(self.transport(), parts)
10241024
}
1025-
#[doc = "[Async Search Status API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nRetrieves the status of a previously submitted async search request given its ID."]
1025+
#[doc = "[Async Search Status API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nRetrieves the status of a previously submitted async search request given its ID."]
10261026
pub fn status<'b>(&'a self, parts: AsyncSearchStatusParts<'b>) -> AsyncSearchStatus<'a, 'b> {
10271027
AsyncSearchStatus::new(self.transport(), parts)
10281028
}
1029-
#[doc = "[Async Search Submit API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/async-search.html)\n\nExecutes a search request asynchronously."]
1029+
#[doc = "[Async Search Submit API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/async-search.html)\n\nExecutes a search request asynchronously."]
10301030
pub fn submit<'b>(
10311031
&'a self,
10321032
parts: AsyncSearchSubmitParts<'b>,

elasticsearch/src/autoscaling.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl<'b> AutoscalingDeleteAutoscalingPolicyParts<'b> {
6666
}
6767
}
6868
}
69-
#[doc = "Builder for the [Autoscaling Delete Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-delete-autoscaling-policy.html)\n\nDeletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
69+
#[doc = "Builder for the [Autoscaling Delete Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-delete-autoscaling-policy.html)\n\nDeletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
7070
#[derive(Clone, Debug)]
7171
pub struct AutoscalingDeleteAutoscalingPolicy<'a, 'b> {
7272
transport: &'a Transport,
@@ -199,7 +199,7 @@ impl AutoscalingGetAutoscalingCapacityParts {
199199
}
200200
}
201201
}
202-
#[doc = "Builder for the [Autoscaling Get Autoscaling Capacity API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-get-autoscaling-capacity.html)\n\nGets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
202+
#[doc = "Builder for the [Autoscaling Get Autoscaling Capacity API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-get-autoscaling-capacity.html)\n\nGets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
203203
#[derive(Clone, Debug)]
204204
pub struct AutoscalingGetAutoscalingCapacity<'a, 'b> {
205205
transport: &'a Transport,
@@ -326,7 +326,7 @@ impl<'b> AutoscalingGetAutoscalingPolicyParts<'b> {
326326
}
327327
}
328328
}
329-
#[doc = "Builder for the [Autoscaling Get Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-get-autoscaling-policy.html)\n\nRetrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
329+
#[doc = "Builder for the [Autoscaling Get Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-get-autoscaling-policy.html)\n\nRetrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
330330
#[derive(Clone, Debug)]
331331
pub struct AutoscalingGetAutoscalingPolicy<'a, 'b> {
332332
transport: &'a Transport,
@@ -453,7 +453,7 @@ impl<'b> AutoscalingPutAutoscalingPolicyParts<'b> {
453453
}
454454
}
455455
}
456-
#[doc = "Builder for the [Autoscaling Put Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-put-autoscaling-policy.html)\n\nCreates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
456+
#[doc = "Builder for the [Autoscaling Put Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-put-autoscaling-policy.html)\n\nCreates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
457457
#[derive(Clone, Debug)]
458458
pub struct AutoscalingPutAutoscalingPolicy<'a, 'b, B> {
459459
transport: &'a Transport,
@@ -606,25 +606,25 @@ impl<'a> Autoscaling<'a> {
606606
pub fn transport(&self) -> &Transport {
607607
self.transport
608608
}
609-
#[doc = "[Autoscaling Delete Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-delete-autoscaling-policy.html)\n\nDeletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
609+
#[doc = "[Autoscaling Delete Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-delete-autoscaling-policy.html)\n\nDeletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
610610
pub fn delete_autoscaling_policy<'b>(
611611
&'a self,
612612
parts: AutoscalingDeleteAutoscalingPolicyParts<'b>,
613613
) -> AutoscalingDeleteAutoscalingPolicy<'a, 'b> {
614614
AutoscalingDeleteAutoscalingPolicy::new(self.transport(), parts)
615615
}
616-
#[doc = "[Autoscaling Get Autoscaling Capacity API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-get-autoscaling-capacity.html)\n\nGets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
616+
#[doc = "[Autoscaling Get Autoscaling Capacity API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-get-autoscaling-capacity.html)\n\nGets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
617617
pub fn get_autoscaling_capacity<'b>(&'a self) -> AutoscalingGetAutoscalingCapacity<'a, 'b> {
618618
AutoscalingGetAutoscalingCapacity::new(self.transport())
619619
}
620-
#[doc = "[Autoscaling Get Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-get-autoscaling-policy.html)\n\nRetrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
620+
#[doc = "[Autoscaling Get Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-get-autoscaling-policy.html)\n\nRetrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
621621
pub fn get_autoscaling_policy<'b>(
622622
&'a self,
623623
parts: AutoscalingGetAutoscalingPolicyParts<'b>,
624624
) -> AutoscalingGetAutoscalingPolicy<'a, 'b> {
625625
AutoscalingGetAutoscalingPolicy::new(self.transport(), parts)
626626
}
627-
#[doc = "[Autoscaling Put Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/autoscaling-put-autoscaling-policy.html)\n\nCreates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
627+
#[doc = "[Autoscaling Put Autoscaling Policy API](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/autoscaling-put-autoscaling-policy.html)\n\nCreates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."]
628628
pub fn put_autoscaling_policy<'b>(
629629
&'a self,
630630
parts: AutoscalingPutAutoscalingPolicyParts<'b>,

0 commit comments

Comments
 (0)