From c296f94a83183ce68cf56cca5ad299f7c915d3f0 Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Mon, 20 Apr 2026 10:45:33 +0000 Subject: [PATCH] [codegen] update to latest spec --- .../ElasticsearchAsyncClient.java | 356 +++++++--- .../elasticsearch/ElasticsearchClient.java | 359 +++++++--- .../elasticsearch/_types/CommonStatsFlag.java | 75 ++ .../elasticsearch/_types/IndicesOptions.java | 34 +- .../elasticsearch/_types/ReindexTaskInfo.java | 430 +++++++++++ .../_types/ReindexTaskResult.java | 669 ++++++++++++++++++ .../elasticsearch/_types/ThreadType.java | 15 + .../_types/aggregations/FieldDateMath.java | 10 +- .../query_dsl/LongNumberRangeQuery.java | 164 +++++ .../_types/query_dsl/RangeQuery.java | 30 + .../_types/query_dsl/RangeQueryBuilders.java | 19 + .../ElasticsearchAsyncSearchAsyncClient.java | 24 +- .../ElasticsearchAsyncSearchClient.java | 24 +- .../async_search/SubmitRequest.java | 32 +- .../ElasticsearchAutoscalingAsyncClient.java | 18 +- .../ElasticsearchAutoscalingClient.java | 18 +- .../cat/ElasticsearchCatAsyncClient.java | 152 ++-- .../cat/ElasticsearchCatClient.java | 152 ++-- .../elasticsearch/cat/SegmentsRequest.java | 34 +- .../ccr/ElasticsearchCcrAsyncClient.java | 56 +- .../ccr/ElasticsearchCcrClient.java | 56 +- .../ElasticsearchClusterAsyncClient.java | 84 +-- .../cluster/ElasticsearchClusterClient.java | 84 +-- .../elasticsearch/cluster/StateRequest.java | 32 +- .../cluster/state/ClusterStateMetric.java | 32 + .../ElasticsearchConnectorAsyncClient.java | 124 ++-- .../ElasticsearchConnectorClient.java | 124 ++-- .../core/CancelReindexRequest.java | 236 ++++++ .../core/CancelReindexResponse.java | 584 +++++++++++++++ .../elasticsearch/core/CountRequest.java | 38 +- .../core/DeleteByQueryRequest.java | 38 +- .../elasticsearch/core/FieldCapsRequest.java | 36 +- .../elasticsearch/core/GetReindexRequest.java | 273 +++++++ .../core/GetReindexResponse.java | 530 ++++++++++++++ .../core/ListReindexRequest.java | 180 +++++ .../core/ListReindexResponse.java | 317 +++++++++ .../elasticsearch/core/MsearchRequest.java | 34 +- .../core/OpenPointInTimeRequest.java | 12 +- .../elasticsearch/core/RankEvalRequest.java | 38 +- .../elasticsearch/core/SearchRequest.java | 38 +- .../core/SearchShardsRequest.java | 38 +- .../core/SearchTemplateRequest.java | 38 +- .../core/UpdateByQueryRequest.java | 38 +- .../core/msearch/MultisearchHeader.java | 26 + .../RankEvalMetricExpectedReciprocalRank.java | 2 +- ...asticsearchDanglingIndicesAsyncClient.java | 10 +- .../ElasticsearchDanglingIndicesClient.java | 10 +- .../elasticsearch/doc-files/api-spec.html | 540 +++++++------- .../ElasticsearchEnrichAsyncClient.java | 24 +- .../enrich/ElasticsearchEnrichClient.java | 24 +- .../eql/ElasticsearchEqlAsyncClient.java | 24 +- .../eql/ElasticsearchEqlClient.java | 24 +- .../elasticsearch/eql/EqlSearchRequest.java | 30 +- .../esql/ElasticsearchEsqlAsyncClient.java | 6 +- .../esql/ElasticsearchEsqlClient.java | 6 +- .../ElasticsearchFeaturesAsyncClient.java | 12 +- .../features/ElasticsearchFeaturesClient.java | 12 +- .../fleet/ElasticsearchFleetAsyncClient.java | 8 +- .../fleet/ElasticsearchFleetClient.java | 8 +- .../fleet/FleetSearchRequest.java | 26 + .../graph/ElasticsearchGraphAsyncClient.java | 4 +- .../graph/ElasticsearchGraphClient.java | 4 +- .../ilm/ElasticsearchIlmAsyncClient.java | 50 +- .../ilm/ElasticsearchIlmClient.java | 50 +- .../indices/AddBlockRequest.java | 38 +- .../indices/ClearCacheRequest.java | 34 +- .../indices/CloseIndexRequest.java | 34 +- .../indices/DeleteIndexRequest.java | 34 +- .../indices/DiskUsageRequest.java | 36 +- .../ElasticsearchIndicesAsyncClient.java | 326 ++++----- .../indices/ElasticsearchIndicesClient.java | 326 ++++----- .../indices/ExistsAliasRequest.java | 34 +- .../elasticsearch/indices/ExistsRequest.java | 34 +- .../indices/FieldUsageStatsRequest.java | 38 +- .../elasticsearch/indices/FlushRequest.java | 34 +- .../indices/ForcemergeRequest.java | 32 +- .../indices/GetAliasRequest.java | 34 +- .../indices/GetFieldMappingRequest.java | 34 +- .../indices/GetIndexRequest.java | 34 +- .../indices/GetIndicesSettingsRequest.java | 36 +- .../indices/GetMappingRequest.java | 34 +- .../indices/IndicesStatsRequest.java | 6 +- .../elasticsearch/indices/OpenRequest.java | 34 +- .../indices/PutIndicesSettingsRequest.java | 36 +- .../indices/PutMappingRequest.java | 34 +- .../indices/RecoveryRequest.java | 34 +- .../elasticsearch/indices/RefreshRequest.java | 34 +- .../indices/ReloadSearchAnalyzersRequest.java | 32 +- .../indices/RemoveBlockRequest.java | 38 +- .../indices/ResolveClusterRequest.java | 52 +- .../indices/ResolveIndexRequest.java | 38 +- .../indices/SegmentsRequest.java | 34 +- .../indices/ShardStoresRequest.java | 30 +- .../indices/ValidateQueryRequest.java | 34 +- .../indices/recovery/RecoveryStage.java | 93 +++ .../indices/recovery/RecoveryType.java | 92 +++ .../indices/recovery/ShardRecovery.java | 43 +- .../indices/segments/Segment.java | 111 ++- .../indices/segments/ShardSegmentRouting.java | 26 +- .../indices/shard_stores/ShardStore.java | 23 +- .../shard_stores/ShardStoreAllocation.java | 9 + .../inference/AzureOpenAIServiceSettings.java | 278 +++++++- .../inference/AzureOpenAITaskSettings.java | 89 ++- .../inference/ContextualAITaskSettings.java | 37 - .../inference/CustomResponseParams.java | 197 +++++- .../inference/CustomServiceInputType.java | 71 ++ .../inference/CustomServiceSettings.java | 237 +++++-- .../inference/CustomTaskSettings.java | 78 +- .../ElasticsearchInferenceAsyncClient.java | 154 ++-- .../ElasticsearchInferenceClient.java | 154 ++-- .../EmbeddingContentObjectContents.java | 22 +- .../inference/FireworksAITaskSettings.java | 57 +- .../elasticsearch/inference/Message.java | 6 +- .../inference/OpenAITaskSettings.java | 66 +- .../inference/RequestEmbedding.java | 12 +- .../ElasticsearchIngestAsyncClient.java | 42 +- .../ingest/ElasticsearchIngestClient.java | 42 +- .../elasticsearch/ingest/GrokProcessor.java | 36 + .../ElasticsearchLicenseAsyncClient.java | 34 +- .../license/ElasticsearchLicenseClient.java | 34 +- .../ElasticsearchLogstashAsyncClient.java | 14 +- .../logstash/ElasticsearchLogstashClient.java | 14 +- .../ElasticsearchMigrationAsyncClient.java | 10 +- .../ElasticsearchMigrationClient.java | 10 +- .../ml/ElasticsearchMlAsyncClient.java | 318 ++++----- .../ml/ElasticsearchMlClient.java | 318 ++++----- .../elasticsearch/ml/PutDatafeedRequest.java | 30 +- .../elasticsearch/ml/PutJobRequest.java | 30 +- .../ml/UpdateDatafeedRequest.java | 30 +- .../nodes/ElasticsearchNodesAsyncClient.java | 38 +- .../nodes/ElasticsearchNodesClient.java | 38 +- .../ElasticsearchQueryRulesAsyncClient.java | 34 +- .../ElasticsearchQueryRulesClient.java | 34 +- .../ElasticsearchRollupAsyncClient.java | 40 +- .../rollup/ElasticsearchRollupClient.java | 40 +- ...ticsearchSearchApplicationAsyncClient.java | 48 +- .../ElasticsearchSearchApplicationClient.java | 48 +- .../ClearCacheRequest.java | 32 +- ...csearchSearchableSnapshotsAsyncClient.java | 22 +- ...lasticsearchSearchableSnapshotsClient.java | 22 +- .../security/CloneApiKeyRequest.java | 395 +++++++++++ .../security/CloneApiKeyResponse.java | 281 ++++++++ ...anagedBy.java => CredentialManagedBy.java} | 11 +- .../ElasticsearchSecurityAsyncClient.java | 335 +++++---- .../security/ElasticsearchSecurityClient.java | 336 +++++---- .../authenticate/AuthenticateApiKey.java | 12 +- .../security/authenticate/ServiceToken.java | 48 +- .../ElasticsearchShutdownAsyncClient.java | 14 +- .../shutdown/ElasticsearchShutdownClient.java | 14 +- .../ElasticsearchSimulateAsyncClient.java | 4 +- .../simulate/ElasticsearchSimulateClient.java | 4 +- .../slm/ElasticsearchSlmAsyncClient.java | 48 +- .../slm/ElasticsearchSlmClient.java | 48 +- .../ElasticsearchSnapshotAsyncClient.java | 56 +- .../snapshot/ElasticsearchSnapshotClient.java | 56 +- .../sql/ElasticsearchSqlAsyncClient.java | 26 +- .../sql/ElasticsearchSqlClient.java | 26 +- .../ssl/ElasticsearchSslAsyncClient.java | 2 +- .../ssl/ElasticsearchSslClient.java | 2 +- .../ElasticsearchSynonymsAsyncClient.java | 30 +- .../synonyms/ElasticsearchSynonymsClient.java | 30 +- .../tasks/ElasticsearchTasksAsyncClient.java | 16 +- .../tasks/ElasticsearchTasksClient.java | 16 +- ...ElasticsearchTextStructureAsyncClient.java | 12 +- .../ElasticsearchTextStructureClient.java | 12 +- .../ElasticsearchTransformAsyncClient.java | 60 +- .../ElasticsearchTransformClient.java | 60 +- .../elasticsearch/transform/Settings.java | 48 ++ .../ElasticsearchWatcherAsyncClient.java | 66 +- .../watcher/ElasticsearchWatcherClient.java | 66 +- .../xpack/ElasticsearchXpackAsyncClient.java | 12 +- .../xpack/ElasticsearchXpackClient.java | 12 +- 172 files changed, 9933 insertions(+), 3621 deletions(-) create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskInfo.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskResult.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexRequest.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexResponse.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexRequest.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexResponse.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexRequest.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexResponse.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStage.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryType.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceInputType.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyRequest.java create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyResponse.java rename java-client/src/main/java/co/elastic/clients/elasticsearch/security/{ApiKeyManagedBy.java => CredentialManagedBy.java} (84%) diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java index 4d8c9c725e..71763f6401 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java @@ -29,6 +29,8 @@ import co.elastic.clients.elasticsearch.connector.ElasticsearchConnectorAsyncClient; import co.elastic.clients.elasticsearch.core.BulkRequest; import co.elastic.clients.elasticsearch.core.BulkResponse; +import co.elastic.clients.elasticsearch.core.CancelReindexRequest; +import co.elastic.clients.elasticsearch.core.CancelReindexResponse; import co.elastic.clients.elasticsearch.core.ClearScrollRequest; import co.elastic.clients.elasticsearch.core.ClearScrollResponse; import co.elastic.clients.elasticsearch.core.ClosePointInTimeRequest; @@ -51,6 +53,8 @@ import co.elastic.clients.elasticsearch.core.ExplainResponse; import co.elastic.clients.elasticsearch.core.FieldCapsRequest; import co.elastic.clients.elasticsearch.core.FieldCapsResponse; +import co.elastic.clients.elasticsearch.core.GetReindexRequest; +import co.elastic.clients.elasticsearch.core.GetReindexResponse; import co.elastic.clients.elasticsearch.core.GetRequest; import co.elastic.clients.elasticsearch.core.GetResponse; import co.elastic.clients.elasticsearch.core.GetScriptContextRequest; @@ -67,6 +71,8 @@ import co.elastic.clients.elasticsearch.core.IndexResponse; import co.elastic.clients.elasticsearch.core.InfoRequest; import co.elastic.clients.elasticsearch.core.InfoResponse; +import co.elastic.clients.elasticsearch.core.ListReindexRequest; +import co.elastic.clients.elasticsearch.core.ListReindexResponse; import co.elastic.clients.elasticsearch.core.MgetRequest; import co.elastic.clients.elasticsearch.core.MgetResponse; import co.elastic.clients.elasticsearch.core.MsearchRequest; @@ -553,7 +559,7 @@ public ElasticsearchXpackAsyncClient xpack() { * documentation for step-by-step instructions using the index settings API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-bulk">Documentation * on elastic.co */ @@ -738,7 +744,7 @@ public CompletableFuture bulk(BulkRequest request) { * a function that initializes a builder to create the * {@link BulkRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-bulk">Documentation * on elastic.co */ @@ -917,7 +923,7 @@ public final CompletableFuture bulk(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-bulk">Documentation * on elastic.co */ @@ -926,6 +932,51 @@ public CompletableFuture bulk() { this.transportOptions); } + // ----- Endpoint: cancel_reindex + + /** + * Cancel a reindex task. + *

+ * Cancel an ongoing reindex task. If wait_for_completion is + * true (the default), the response contains the final task state + * after cancellation. If wait_for_completion is + * false, the response contains only + * acknowledged: true. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture cancelReindex(CancelReindexRequest request) { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) CancelReindexRequest._ENDPOINT; + + return this.transport.performRequestAsync(request, endpoint, this.transportOptions); + } + + /** + * Cancel a reindex task. + *

+ * Cancel an ongoing reindex task. If wait_for_completion is + * true (the default), the response contains the final task state + * after cancellation. If wait_for_completion is + * false, the response contains only + * acknowledged: true. + * + * @param fn + * a function that initializes a builder to create the + * {@link CancelReindexRequest} + * @see Documentation + * on elastic.co + */ + + public final CompletableFuture cancelReindex( + Function> fn) { + return cancelReindex(fn.apply(new CancelReindexRequest.Builder()).build()); + } + // ----- Endpoint: clear_scroll /** @@ -934,7 +985,7 @@ public CompletableFuture bulk() { * Clear the search context and results for a scrolling search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-clear-scroll">Documentation * on elastic.co */ @@ -954,7 +1005,7 @@ public CompletableFuture clearScroll(ClearScrollRequest req * a function that initializes a builder to create the * {@link ClearScrollRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-clear-scroll">Documentation * on elastic.co */ @@ -969,7 +1020,7 @@ public final CompletableFuture clearScroll( * Clear the search context and results for a scrolling search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-clear-scroll">Documentation * on elastic.co */ @@ -991,7 +1042,7 @@ public CompletableFuture clearScroll() { * requests. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -1016,7 +1067,7 @@ public CompletableFuture closePointInTime(ClosePointIn * a function that initializes a builder to create the * {@link ClosePointInTimeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -1045,7 +1096,7 @@ public final CompletableFuture closePointInTime( * increase the scalability of the count. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-count">Documentation * on elastic.co */ @@ -1077,7 +1128,7 @@ public CompletableFuture count(CountRequest request) { * a function that initializes a builder to create the * {@link CountRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-count">Documentation * on elastic.co */ @@ -1104,7 +1155,7 @@ public final CompletableFuture count( * increase the scalability of the count. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-count">Documentation * on elastic.co */ @@ -1241,7 +1292,7 @@ public CompletableFuture count() { * and failed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -1381,7 +1432,7 @@ public CompletableFuture create(CreateRequestDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -1446,7 +1497,7 @@ public final CompletableFuture create( * needed) to shard replicas within that ID group. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete">Documentation * on elastic.co */ @@ -1514,7 +1565,7 @@ public CompletableFuture delete(DeleteRequest request) { * a function that initializes a builder to create the * {@link DeleteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete">Documentation * on elastic.co */ @@ -1658,7 +1709,7 @@ public final CompletableFuture delete( * checks that it has been cancelled and terminates itself. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query">Documentation * on elastic.co */ @@ -1805,7 +1856,7 @@ public CompletableFuture deleteByQuery(DeleteByQueryReque * a function that initializes a builder to create the * {@link DeleteByQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query">Documentation * on elastic.co */ @@ -1825,7 +1876,7 @@ public final CompletableFuture deleteByQuery( * current batch to prevent scroll timeouts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query-rethrottle">Documentation * on elastic.co */ @@ -1849,7 +1900,7 @@ public CompletableFuture deleteByQueryRethrottl * a function that initializes a builder to create the * {@link DeleteByQueryRethrottleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query-rethrottle">Documentation * on elastic.co */ @@ -1866,7 +1917,7 @@ public final CompletableFuture deleteByQueryRet * Deletes a stored script or search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-delete-script">Documentation * on elastic.co */ @@ -1886,7 +1937,7 @@ public CompletableFuture deleteScript(DeleteScriptRequest * a function that initializes a builder to create the * {@link DeleteScriptRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-delete-script">Documentation * on elastic.co */ @@ -1923,7 +1974,7 @@ public final CompletableFuture deleteScript( * deleted documents in the background as you continue to index more data. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -1963,7 +2014,7 @@ public CompletableFuture exists(ExistsRequest request) { * a function that initializes a builder to create the * {@link ExistsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -1987,7 +2038,7 @@ public final CompletableFuture exists( * A document's source is not available if it is disabled in the mapping. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2014,7 +2065,7 @@ public CompletableFuture existsSource(ExistsSourceRequest reque * a function that initializes a builder to create the * {@link ExistsSourceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2032,7 +2083,7 @@ public final CompletableFuture existsSource( * query. It computes a score explanation for a query and a specific document. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2056,7 +2107,7 @@ public CompletableFuture> explain(Explain * a function that initializes a builder to create the * {@link ExplainRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2093,7 +2144,7 @@ public final CompletableFuture> explain( * query. It computes a score explanation for a query and a specific document. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2117,7 +2168,7 @@ public CompletableFuture> explain(Explain * a function that initializes a builder to create the * {@link ExplainRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2139,7 +2190,7 @@ public final CompletableFuture> explain( * field that belongs to the keyword family. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-field-caps">Documentation * on elastic.co */ @@ -2164,7 +2215,7 @@ public CompletableFuture fieldCaps(FieldCapsRequest request) * a function that initializes a builder to create the * {@link FieldCapsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-field-caps">Documentation * on elastic.co */ @@ -2184,7 +2235,7 @@ public final CompletableFuture fieldCaps( * field that belongs to the keyword family. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-field-caps">Documentation * on elastic.co */ @@ -2270,7 +2321,7 @@ public CompletableFuture fieldCaps() { * deleted documents in the background as you continue to index more data. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2362,7 +2413,7 @@ public CompletableFuture> get(GetRequest requ * a function that initializes a builder to create the * {@link GetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2466,7 +2517,7 @@ public final CompletableFuture> get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2557,7 +2608,7 @@ public CompletableFuture> get(GetRequest requ * a function that initializes a builder to create the * {@link GetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2566,6 +2617,43 @@ public final CompletableFuture> get( return get(fn.apply(new GetRequest.Builder()).build(), tDocumentType); } + // ----- Endpoint: get_reindex + + /** + * Get a reindex task. + *

+ * Get the status and progress of a specific reindex task. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture getReindex(GetReindexRequest request) { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) GetReindexRequest._ENDPOINT; + + return this.transport.performRequestAsync(request, endpoint, this.transportOptions); + } + + /** + * Get a reindex task. + *

+ * Get the status and progress of a specific reindex task. + * + * @param fn + * a function that initializes a builder to create the + * {@link GetReindexRequest} + * @see Documentation + * on elastic.co + */ + + public final CompletableFuture getReindex( + Function> fn) { + return getReindex(fn.apply(new GetReindexRequest.Builder()).build()); + } + // ----- Endpoint: get_script /** @@ -2574,7 +2662,7 @@ public final CompletableFuture> get( * Retrieves a stored script or search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script">Documentation * on elastic.co */ @@ -2594,7 +2682,7 @@ public CompletableFuture getScript(GetScriptRequest request) * a function that initializes a builder to create the * {@link GetScriptRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script">Documentation * on elastic.co */ @@ -2611,7 +2699,7 @@ public final CompletableFuture getScript( * Get a list of supported script contexts and their methods. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script-context">Documentation * on elastic.co */ public CompletableFuture getScriptContext() { @@ -2627,7 +2715,7 @@ public CompletableFuture getScriptContext() { * Get a list of available script types, languages, and contexts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script-languages">Documentation * on elastic.co */ public CompletableFuture getScriptLanguages() { @@ -2656,7 +2744,7 @@ public CompletableFuture getScriptLanguages() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2693,7 +2781,7 @@ public CompletableFuture> getSource(Get * a function that initializes a builder to create the * {@link GetSourceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2742,7 +2830,7 @@ public final CompletableFuture> getSource( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2779,7 +2867,7 @@ public CompletableFuture> getSource(Get * a function that initializes a builder to create the * {@link GetSourceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2822,7 +2910,7 @@ public final CompletableFuture> getSour * false to disable the more expensive analysis logic. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-health-report">Documentation * on elastic.co */ @@ -2868,7 +2956,7 @@ public CompletableFuture healthReport(HealthReportRequest * a function that initializes a builder to create the * {@link HealthReportRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-health-report">Documentation * on elastic.co */ @@ -2909,7 +2997,7 @@ public final CompletableFuture healthReport( * false to disable the more expensive analysis logic. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-health-report">Documentation * on elastic.co */ @@ -3118,7 +3206,7 @@ public CompletableFuture healthReport() { * used if the index operations arrive out of order. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -3330,7 +3418,7 @@ public CompletableFuture index(IndexRequestDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -3349,13 +3437,65 @@ public final CompletableFuture index( * as the version number, should be ignored. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-info">Documentation * on elastic.co */ public CompletableFuture info() { return this.transport.performRequestAsync(InfoRequest._INSTANCE, InfoRequest._ENDPOINT, this.transportOptions); } + // ----- Endpoint: list_reindex + + /** + * List active reindex tasks. + *

+ * Get information about all currently running reindex tasks. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture listReindex(ListReindexRequest request) { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) ListReindexRequest._ENDPOINT; + + return this.transport.performRequestAsync(request, endpoint, this.transportOptions); + } + + /** + * List active reindex tasks. + *

+ * Get information about all currently running reindex tasks. + * + * @param fn + * a function that initializes a builder to create the + * {@link ListReindexRequest} + * @see Documentation + * on elastic.co + */ + + public final CompletableFuture listReindex( + Function> fn) { + return listReindex(fn.apply(new ListReindexRequest.Builder()).build()); + } + + /** + * List active reindex tasks. + *

+ * Get information about all currently running reindex tasks. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture listReindex() { + return this.transport.performRequestAsync(new ListReindexRequest.Builder().build(), + ListReindexRequest._ENDPOINT, this.transportOptions); + } + // ----- Endpoint: mget /** @@ -3385,7 +3525,7 @@ public CompletableFuture info() { * instructions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3429,7 +3569,7 @@ public CompletableFuture> mget(MgetRequest r * a function that initializes a builder to create the * {@link MgetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3486,7 +3626,7 @@ public final CompletableFuture> mget( * instructions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3529,7 +3669,7 @@ public CompletableFuture> mget(MgetRequest r * a function that initializes a builder to create the * {@link MgetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3564,7 +3704,7 @@ public final CompletableFuture> mget( * application/x-ndjson. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3605,7 +3745,7 @@ public CompletableFuture> msearch(Msearch * a function that initializes a builder to create the * {@link MsearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3659,7 +3799,7 @@ public final CompletableFuture> msearch( * application/x-ndjson. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3700,7 +3840,7 @@ public CompletableFuture> msearch(Msearch * a function that initializes a builder to create the * {@link MsearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3731,7 +3871,7 @@ public final CompletableFuture> msearch( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3769,7 +3909,7 @@ public CompletableFuture> msearch * a function that initializes a builder to create the * {@link MsearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3820,7 +3960,7 @@ public final CompletableFuture> msearchTemplate( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3858,7 +3998,7 @@ public CompletableFuture> msearch * a function that initializes a builder to create the * {@link MsearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3885,7 +4025,7 @@ public final CompletableFuture> m * determined by the specified _index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mtermvectors">Documentation * on elastic.co */ @@ -3915,7 +4055,7 @@ public CompletableFuture mtermvectors(MtermvectorsRequest * a function that initializes a builder to create the * {@link MtermvectorsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mtermvectors">Documentation * on elastic.co */ @@ -3940,7 +4080,7 @@ public final CompletableFuture mtermvectors( * determined by the specified _index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mtermvectors">Documentation * on elastic.co */ @@ -4010,7 +4150,7 @@ public CompletableFuture mtermvectors() { * point-in-times (that is, search contexts) are open with the nodes stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -4083,7 +4223,7 @@ public CompletableFuture openPointInTime(OpenPointInTim * a function that initializes a builder to create the * {@link OpenPointInTimeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -4100,7 +4240,7 @@ public final CompletableFuture openPointInTime( * Get information about whether the cluster is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-cluster">Documentation * on elastic.co */ public CompletableFuture ping() { @@ -4115,7 +4255,7 @@ public CompletableFuture ping() { * Creates or updates a stored script or search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-put-script">Documentation * on elastic.co */ @@ -4135,7 +4275,7 @@ public CompletableFuture putScript(PutScriptRequest request) * a function that initializes a builder to create the * {@link PutScriptRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-put-script">Documentation * on elastic.co */ @@ -4153,7 +4293,7 @@ public final CompletableFuture putScript( * queries. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rank-eval">Documentation * on elastic.co */ @@ -4174,7 +4314,7 @@ public CompletableFuture rankEval(RankEvalRequest request) { * a function that initializes a builder to create the * {@link RankEvalRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rank-eval">Documentation * on elastic.co */ @@ -4270,7 +4410,7 @@ public final CompletableFuture rankEval( * Refer to the linked documentation for examples of how to reindex documents. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4369,7 +4509,7 @@ public CompletableFuture reindex(ReindexRequest request) { * a function that initializes a builder to create the * {@link ReindexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4396,7 +4536,7 @@ public final CompletableFuture reindex( * batch. This behavior prevents scroll timeouts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4426,7 +4566,7 @@ public CompletableFuture reindexRethrottle(ReindexRet * a function that initializes a builder to create the * {@link ReindexRethrottleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4443,7 +4583,7 @@ public final CompletableFuture reindexRethrottle( * Render a search template as a search request body. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-render-search-template">Documentation * on elastic.co */ @@ -4463,7 +4603,7 @@ public CompletableFuture renderSearchTemplate(Rend * a function that initializes a builder to create the * {@link RenderSearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-render-search-template">Documentation * on elastic.co */ @@ -4478,7 +4618,7 @@ public final CompletableFuture renderSearchTemplat * Render a search template as a search request body. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-render-search-template">Documentation * on elastic.co */ @@ -4656,7 +4796,7 @@ public final CompletableFuture * changes only affect later search and scroll requests. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4699,7 +4839,7 @@ public CompletableFuture> scroll(ScrollReq * a function that initializes a builder to create the * {@link ScrollRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4755,7 +4895,7 @@ public final CompletableFuture> scroll( * changes only affect later search and scroll requests. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4797,7 +4937,7 @@ public CompletableFuture> scroll(ScrollReq * a function that initializes a builder to create the * {@link ScrollRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4838,7 +4978,7 @@ public final CompletableFuture> scroll( * Lucene document IDs, which are not stable across changes to the index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -4885,7 +5025,7 @@ public CompletableFuture> search(SearchReq * a function that initializes a builder to create the * {@link SearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -4945,7 +5085,7 @@ public final CompletableFuture> search( * Lucene document IDs, which are not stable across changes to the index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -4991,7 +5131,7 @@ public CompletableFuture> search(SearchReq * a function that initializes a builder to create the * {@link SearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -5315,7 +5455,7 @@ public final CompletableFuture> search( * tile search examples guide. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-mvt">Documentation * on elastic.co */ @@ -5642,7 +5782,7 @@ public CompletableFuture searchMvt(SearchMvtRequest request) { * a function that initializes a builder to create the * {@link SearchMvtRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-mvt">Documentation * on elastic.co */ @@ -5666,7 +5806,7 @@ public final CompletableFuture searchMvt( * the target data stream, index, or alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-shards">Documentation * on elastic.co */ @@ -5693,7 +5833,7 @@ public CompletableFuture searchShards(SearchShardsRequest * a function that initializes a builder to create the * {@link SearchShardsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-shards">Documentation * on elastic.co */ @@ -5715,7 +5855,7 @@ public final CompletableFuture searchShards( * the target data stream, index, or alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-shards">Documentation * on elastic.co */ @@ -5730,7 +5870,7 @@ public CompletableFuture searchShards() { * Run a search with a search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5752,7 +5892,7 @@ public CompletableFuture> searchTe * a function that initializes a builder to create the * {@link SearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5787,7 +5927,7 @@ public final CompletableFuture> searchTemplate( * Run a search with a search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5809,7 +5949,7 @@ public CompletableFuture> searchTe * a function that initializes a builder to create the * {@link SearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5834,7 +5974,7 @@ public final CompletableFuture> se * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-terms-enum">Documentation * on elastic.co */ @@ -5862,7 +6002,7 @@ public CompletableFuture termsEnum(TermsEnumRequest request) * a function that initializes a builder to create the * {@link TermsEnumRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-terms-enum">Documentation * on elastic.co */ @@ -5931,7 +6071,7 @@ public final CompletableFuture termsEnum( * documentation for detailed examples of how to use this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-termvectors">Documentation * on elastic.co */ @@ -6003,7 +6143,7 @@ public CompletableFuture termvectors(Termvector * a function that initializes a builder to create the * {@link TermvectorsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-termvectors">Documentation * on elastic.co */ @@ -6045,7 +6185,7 @@ public final CompletableFuture termvectors( * updates, upserts, and scripted updates, see the External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6093,7 +6233,7 @@ public CompletableFuture * a function that initializes a builder to create the * {@link UpdateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6134,7 +6274,7 @@ public final CompletableFutureDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6182,7 +6322,7 @@ public CompletableFuture * a function that initializes a builder to create the * {@link UpdateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6345,7 +6485,7 @@ public final CompletableFuture_update_by_query API: * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query">Documentation * on elastic.co */ @@ -6510,7 +6650,7 @@ public CompletableFuture updateByQuery(UpdateByQueryReque * a function that initializes a builder to create the * {@link UpdateByQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query">Documentation * on elastic.co */ @@ -6530,7 +6670,7 @@ public final CompletableFuture updateByQuery( * current batch to prevent scroll timeouts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query-rethrottle">Documentation * on elastic.co */ @@ -6554,7 +6694,7 @@ public CompletableFuture updateByQueryRethrottl * a function that initializes a builder to create the * {@link UpdateByQueryRethrottleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query-rethrottle">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java index 6c3e8267b5..235ffe22cf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java @@ -30,6 +30,8 @@ import co.elastic.clients.elasticsearch.connector.ElasticsearchConnectorClient; import co.elastic.clients.elasticsearch.core.BulkRequest; import co.elastic.clients.elasticsearch.core.BulkResponse; +import co.elastic.clients.elasticsearch.core.CancelReindexRequest; +import co.elastic.clients.elasticsearch.core.CancelReindexResponse; import co.elastic.clients.elasticsearch.core.ClearScrollRequest; import co.elastic.clients.elasticsearch.core.ClearScrollResponse; import co.elastic.clients.elasticsearch.core.ClosePointInTimeRequest; @@ -52,6 +54,8 @@ import co.elastic.clients.elasticsearch.core.ExplainResponse; import co.elastic.clients.elasticsearch.core.FieldCapsRequest; import co.elastic.clients.elasticsearch.core.FieldCapsResponse; +import co.elastic.clients.elasticsearch.core.GetReindexRequest; +import co.elastic.clients.elasticsearch.core.GetReindexResponse; import co.elastic.clients.elasticsearch.core.GetRequest; import co.elastic.clients.elasticsearch.core.GetResponse; import co.elastic.clients.elasticsearch.core.GetScriptContextRequest; @@ -68,6 +72,8 @@ import co.elastic.clients.elasticsearch.core.IndexResponse; import co.elastic.clients.elasticsearch.core.InfoRequest; import co.elastic.clients.elasticsearch.core.InfoResponse; +import co.elastic.clients.elasticsearch.core.ListReindexRequest; +import co.elastic.clients.elasticsearch.core.ListReindexResponse; import co.elastic.clients.elasticsearch.core.MgetRequest; import co.elastic.clients.elasticsearch.core.MgetResponse; import co.elastic.clients.elasticsearch.core.MsearchRequest; @@ -553,7 +559,7 @@ public ElasticsearchXpackClient xpack() { * documentation for step-by-step instructions using the index settings API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-bulk">Documentation * on elastic.co */ @@ -738,7 +744,7 @@ public BulkResponse bulk(BulkRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link BulkRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-bulk">Documentation * on elastic.co */ @@ -918,7 +924,7 @@ public final BulkResponse bulk(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-bulk">Documentation * on elastic.co */ @@ -927,6 +933,53 @@ public BulkResponse bulk() throws IOException, ElasticsearchException { this.transportOptions); } + // ----- Endpoint: cancel_reindex + + /** + * Cancel a reindex task. + *

+ * Cancel an ongoing reindex task. If wait_for_completion is + * true (the default), the response contains the final task state + * after cancellation. If wait_for_completion is + * false, the response contains only + * acknowledged: true. + * + * @see Documentation + * on elastic.co + */ + + public CancelReindexResponse cancelReindex(CancelReindexRequest request) + throws IOException, ElasticsearchException { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) CancelReindexRequest._ENDPOINT; + + return this.transport.performRequest(request, endpoint, this.transportOptions); + } + + /** + * Cancel a reindex task. + *

+ * Cancel an ongoing reindex task. If wait_for_completion is + * true (the default), the response contains the final task state + * after cancellation. If wait_for_completion is + * false, the response contains only + * acknowledged: true. + * + * @param fn + * a function that initializes a builder to create the + * {@link CancelReindexRequest} + * @see Documentation + * on elastic.co + */ + + public final CancelReindexResponse cancelReindex( + Function> fn) + throws IOException, ElasticsearchException { + return cancelReindex(fn.apply(new CancelReindexRequest.Builder()).build()); + } + // ----- Endpoint: clear_scroll /** @@ -935,7 +988,7 @@ public BulkResponse bulk() throws IOException, ElasticsearchException { * Clear the search context and results for a scrolling search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-clear-scroll">Documentation * on elastic.co */ @@ -955,7 +1008,7 @@ public ClearScrollResponse clearScroll(ClearScrollRequest request) throws IOExce * a function that initializes a builder to create the * {@link ClearScrollRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-clear-scroll">Documentation * on elastic.co */ @@ -971,7 +1024,7 @@ public final ClearScrollResponse clearScroll( * Clear the search context and results for a scrolling search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-clear-scroll">Documentation * on elastic.co */ @@ -993,7 +1046,7 @@ public ClearScrollResponse clearScroll() throws IOException, ElasticsearchExcept * requests. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -1019,7 +1072,7 @@ public ClosePointInTimeResponse closePointInTime(ClosePointInTimeRequest request * a function that initializes a builder to create the * {@link ClosePointInTimeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -1049,7 +1102,7 @@ public final ClosePointInTimeResponse closePointInTime( * increase the scalability of the count. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-count">Documentation * on elastic.co */ @@ -1081,7 +1134,7 @@ public CountResponse count(CountRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link CountRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-count">Documentation * on elastic.co */ @@ -1108,7 +1161,7 @@ public final CountResponse count(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-count">Documentation * on elastic.co */ @@ -1245,7 +1298,7 @@ public CountResponse count() throws IOException, ElasticsearchException { * and failed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -1386,7 +1439,7 @@ public CreateResponse create(CreateRequest request) * a function that initializes a builder to create the * {@link CreateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -1452,7 +1505,7 @@ public final CreateResponse create( * needed) to shard replicas within that ID group. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete">Documentation * on elastic.co */ @@ -1520,7 +1573,7 @@ public DeleteResponse delete(DeleteRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link DeleteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete">Documentation * on elastic.co */ @@ -1664,7 +1717,7 @@ public final DeleteResponse delete(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query">Documentation * on elastic.co */ @@ -1812,7 +1865,7 @@ public DeleteByQueryResponse deleteByQuery(DeleteByQueryRequest request) * a function that initializes a builder to create the * {@link DeleteByQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query">Documentation * on elastic.co */ @@ -1833,7 +1886,7 @@ public final DeleteByQueryResponse deleteByQuery( * current batch to prevent scroll timeouts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query-rethrottle">Documentation * on elastic.co */ @@ -1857,7 +1910,7 @@ public DeleteByQueryRethrottleResponse deleteByQueryRethrottle(DeleteByQueryReth * a function that initializes a builder to create the * {@link DeleteByQueryRethrottleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-delete-by-query-rethrottle">Documentation * on elastic.co */ @@ -1875,7 +1928,7 @@ public final DeleteByQueryRethrottleResponse deleteByQueryRethrottle( * Deletes a stored script or search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-delete-script">Documentation * on elastic.co */ @@ -1895,7 +1948,7 @@ public DeleteScriptResponse deleteScript(DeleteScriptRequest request) throws IOE * a function that initializes a builder to create the * {@link DeleteScriptRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-delete-script">Documentation * on elastic.co */ @@ -1933,7 +1986,7 @@ public final DeleteScriptResponse deleteScript( * deleted documents in the background as you continue to index more data. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -1973,7 +2026,7 @@ public BooleanResponse exists(ExistsRequest request) throws IOException, Elastic * a function that initializes a builder to create the * {@link ExistsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -1997,7 +2050,7 @@ public final BooleanResponse exists(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2024,7 +2077,7 @@ public BooleanResponse existsSource(ExistsSourceRequest request) throws IOExcept * a function that initializes a builder to create the * {@link ExistsSourceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2043,7 +2096,7 @@ public final BooleanResponse existsSource( * query. It computes a score explanation for a query and a specific document. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2067,7 +2120,7 @@ public ExplainResponse explain(ExplainRequest request, Cl * a function that initializes a builder to create the * {@link ExplainRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2105,7 +2158,7 @@ public final ExplainResponse explain(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2129,7 +2182,7 @@ public ExplainResponse explain(ExplainRequest request, Ty * a function that initializes a builder to create the * {@link ExplainRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-explain">Documentation * on elastic.co */ @@ -2152,7 +2205,7 @@ public final ExplainResponse explain( * field that belongs to the keyword family. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-field-caps">Documentation * on elastic.co */ @@ -2177,7 +2230,7 @@ public FieldCapsResponse fieldCaps(FieldCapsRequest request) throws IOException, * a function that initializes a builder to create the * {@link FieldCapsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-field-caps">Documentation * on elastic.co */ @@ -2197,7 +2250,7 @@ public final FieldCapsResponse fieldCaps(Functionkeyword family. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-field-caps">Documentation * on elastic.co */ @@ -2283,7 +2336,7 @@ public FieldCapsResponse fieldCaps() throws IOException, ElasticsearchException * deleted documents in the background as you continue to index more data. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2375,7 +2428,7 @@ public GetResponse get(GetRequest request, ClassDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2480,7 +2533,7 @@ public final GetResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2572,7 +2625,7 @@ public GetResponse get(GetRequest request, Type tDocument * a function that initializes a builder to create the * {@link GetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2581,6 +2634,43 @@ public final GetResponse get(Function + * Get the status and progress of a specific reindex task. + * + * @see Documentation + * on elastic.co + */ + + public GetReindexResponse getReindex(GetReindexRequest request) throws IOException, ElasticsearchException { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) GetReindexRequest._ENDPOINT; + + return this.transport.performRequest(request, endpoint, this.transportOptions); + } + + /** + * Get a reindex task. + *

+ * Get the status and progress of a specific reindex task. + * + * @param fn + * a function that initializes a builder to create the + * {@link GetReindexRequest} + * @see Documentation + * on elastic.co + */ + + public final GetReindexResponse getReindex(Function> fn) + throws IOException, ElasticsearchException { + return getReindex(fn.apply(new GetReindexRequest.Builder()).build()); + } + // ----- Endpoint: get_script /** @@ -2589,7 +2679,7 @@ public final GetResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script">Documentation * on elastic.co */ @@ -2609,7 +2699,7 @@ public GetScriptResponse getScript(GetScriptRequest request) throws IOException, * a function that initializes a builder to create the * {@link GetScriptRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script">Documentation * on elastic.co */ @@ -2626,7 +2716,7 @@ public final GetScriptResponse getScript(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script-context">Documentation * on elastic.co */ public GetScriptContextResponse getScriptContext() throws IOException, ElasticsearchException { @@ -2642,7 +2732,7 @@ public GetScriptContextResponse getScriptContext() throws IOException, Elasticse * Get a list of available script types, languages, and contexts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-get-script-languages">Documentation * on elastic.co */ public GetScriptLanguagesResponse getScriptLanguages() throws IOException, ElasticsearchException { @@ -2671,7 +2761,7 @@ public GetScriptLanguagesResponse getScriptLanguages() throws IOException, Elast * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2708,7 +2798,7 @@ public GetSourceResponse getSource(GetSourceRequest reque * a function that initializes a builder to create the * {@link GetSourceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2759,7 +2849,7 @@ public final GetSourceResponse getSource( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2796,7 +2886,7 @@ public GetSourceResponse getSource(GetSourceRequest reque * a function that initializes a builder to create the * {@link GetSourceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-get">Documentation * on elastic.co */ @@ -2840,7 +2930,7 @@ public final GetSourceResponse getSource( * false to disable the more expensive analysis logic. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-health-report">Documentation * on elastic.co */ @@ -2886,7 +2976,7 @@ public HealthReportResponse healthReport(HealthReportRequest request) throws IOE * a function that initializes a builder to create the * {@link HealthReportRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-health-report">Documentation * on elastic.co */ @@ -2928,7 +3018,7 @@ public final HealthReportResponse healthReport( * false to disable the more expensive analysis logic. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-health-report">Documentation * on elastic.co */ @@ -3137,7 +3227,7 @@ public HealthReportResponse healthReport() throws IOException, ElasticsearchExce * used if the index operations arrive out of order. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -3349,7 +3439,7 @@ public IndexResponse index(IndexRequest request) throws I * a function that initializes a builder to create the * {@link IndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create">Documentation * on elastic.co */ @@ -3369,13 +3459,66 @@ public final IndexResponse index( * as the version number, should be ignored. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-info">Documentation * on elastic.co */ public InfoResponse info() throws IOException, ElasticsearchException { return this.transport.performRequest(InfoRequest._INSTANCE, InfoRequest._ENDPOINT, this.transportOptions); } + // ----- Endpoint: list_reindex + + /** + * List active reindex tasks. + *

+ * Get information about all currently running reindex tasks. + * + * @see Documentation + * on elastic.co + */ + + public ListReindexResponse listReindex(ListReindexRequest request) throws IOException, ElasticsearchException { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) ListReindexRequest._ENDPOINT; + + return this.transport.performRequest(request, endpoint, this.transportOptions); + } + + /** + * List active reindex tasks. + *

+ * Get information about all currently running reindex tasks. + * + * @param fn + * a function that initializes a builder to create the + * {@link ListReindexRequest} + * @see Documentation + * on elastic.co + */ + + public final ListReindexResponse listReindex( + Function> fn) + throws IOException, ElasticsearchException { + return listReindex(fn.apply(new ListReindexRequest.Builder()).build()); + } + + /** + * List active reindex tasks. + *

+ * Get information about all currently running reindex tasks. + * + * @see Documentation + * on elastic.co + */ + + public ListReindexResponse listReindex() throws IOException, ElasticsearchException { + return this.transport.performRequest(new ListReindexRequest.Builder().build(), ListReindexRequest._ENDPOINT, + this.transportOptions); + } + // ----- Endpoint: mget /** @@ -3405,7 +3548,7 @@ public InfoResponse info() throws IOException, ElasticsearchException { * instructions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3449,7 +3592,7 @@ public MgetResponse mget(MgetRequest request, ClassDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3506,7 +3649,7 @@ public final MgetResponse mget(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3550,7 +3693,7 @@ public MgetResponse mget(MgetRequest request, Type tDocum * a function that initializes a builder to create the * {@link MgetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mget">Documentation * on elastic.co */ @@ -3585,7 +3728,7 @@ public final MgetResponse mget(Functionapplication/x-ndjson. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3626,7 +3769,7 @@ public MsearchResponse msearch(MsearchRequest request, Cl * a function that initializes a builder to create the * {@link MsearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3681,7 +3824,7 @@ public final MsearchResponse msearch(Functionapplication/x-ndjson. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3722,7 +3865,7 @@ public MsearchResponse msearch(MsearchRequest request, Ty * a function that initializes a builder to create the * {@link MsearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch">Documentation * on elastic.co */ @@ -3754,7 +3897,7 @@ public final MsearchResponse msearch( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3792,7 +3935,7 @@ public MsearchTemplateResponse msearchTemplate(MsearchTem * a function that initializes a builder to create the * {@link MsearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3845,7 +3988,7 @@ public final MsearchTemplateResponse msearchTemplate( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3883,7 +4026,7 @@ public MsearchTemplateResponse msearchTemplate(MsearchTem * a function that initializes a builder to create the * {@link MsearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-msearch-template">Documentation * on elastic.co */ @@ -3911,7 +4054,7 @@ public final MsearchTemplateResponse msearchTemplate( * determined by the specified _index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mtermvectors">Documentation * on elastic.co */ @@ -3941,7 +4084,7 @@ public MtermvectorsResponse mtermvectors(MtermvectorsRequest request) throws IOE * a function that initializes a builder to create the * {@link MtermvectorsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mtermvectors">Documentation * on elastic.co */ @@ -3967,7 +4110,7 @@ public final MtermvectorsResponse mtermvectors( * determined by the specified _index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-mtermvectors">Documentation * on elastic.co */ @@ -4037,7 +4180,7 @@ public MtermvectorsResponse mtermvectors() throws IOException, ElasticsearchExce * point-in-times (that is, search contexts) are open with the nodes stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -4111,7 +4254,7 @@ public OpenPointInTimeResponse openPointInTime(OpenPointInTimeRequest request) * a function that initializes a builder to create the * {@link OpenPointInTimeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-open-point-in-time">Documentation * on elastic.co */ @@ -4129,7 +4272,7 @@ public final OpenPointInTimeResponse openPointInTime( * Get information about whether the cluster is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-cluster">Documentation * on elastic.co */ public BooleanResponse ping() throws IOException, ElasticsearchException { @@ -4144,7 +4287,7 @@ public BooleanResponse ping() throws IOException, ElasticsearchException { * Creates or updates a stored script or search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-put-script">Documentation * on elastic.co */ @@ -4164,7 +4307,7 @@ public PutScriptResponse putScript(PutScriptRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutScriptRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-put-script">Documentation * on elastic.co */ @@ -4182,7 +4325,7 @@ public final PutScriptResponse putScript(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rank-eval">Documentation * on elastic.co */ @@ -4203,7 +4346,7 @@ public RankEvalResponse rankEval(RankEvalRequest request) throws IOException, El * a function that initializes a builder to create the * {@link RankEvalRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rank-eval">Documentation * on elastic.co */ @@ -4299,7 +4442,7 @@ public final RankEvalResponse rankEval(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4398,7 +4541,7 @@ public ReindexResponse reindex(ReindexRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link ReindexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4425,7 +4568,7 @@ public final ReindexResponse reindex(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4456,7 +4599,7 @@ public ReindexRethrottleResponse reindexRethrottle(ReindexRethrottleRequest requ * a function that initializes a builder to create the * {@link ReindexRethrottleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-reindex">Documentation * on elastic.co */ @@ -4474,7 +4617,7 @@ public final ReindexRethrottleResponse reindexRethrottle( * Render a search template as a search request body. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-render-search-template">Documentation * on elastic.co */ @@ -4495,7 +4638,7 @@ public RenderSearchTemplateResponse renderSearchTemplate(RenderSearchTemplateReq * a function that initializes a builder to create the * {@link RenderSearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-render-search-template">Documentation * on elastic.co */ @@ -4511,7 +4654,7 @@ public final RenderSearchTemplateResponse renderSearchTemplate( * Render a search template as a search request body. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-render-search-template">Documentation * on elastic.co */ @@ -4691,7 +4834,7 @@ public final ScriptsPainlessExecuteResponse scriptsPainlessEx * changes only affect later search and scroll requests. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4734,7 +4877,7 @@ public ScrollResponse scroll(ScrollRequest request, Class * a function that initializes a builder to create the * {@link ScrollRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4791,7 +4934,7 @@ public final ScrollResponse scroll(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4834,7 +4977,7 @@ public ScrollResponse scroll(ScrollRequest request, Type * a function that initializes a builder to create the * {@link ScrollRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-scroll">Documentation * on elastic.co */ @@ -4876,7 +5019,7 @@ public final ScrollResponse scroll( * Lucene document IDs, which are not stable across changes to the index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -4923,7 +5066,7 @@ public SearchResponse search(SearchRequest request, Class * a function that initializes a builder to create the * {@link SearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -4984,7 +5127,7 @@ public final SearchResponse search(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -5031,7 +5174,7 @@ public SearchResponse search(SearchRequest request, Type * a function that initializes a builder to create the * {@link SearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search">Documentation * on elastic.co */ @@ -5356,7 +5499,7 @@ public final SearchResponse search( * tile search examples guide. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-mvt">Documentation * on elastic.co */ @@ -5683,7 +5826,7 @@ public BinaryResponse searchMvt(SearchMvtRequest request) throws IOException, El * a function that initializes a builder to create the * {@link SearchMvtRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-mvt">Documentation * on elastic.co */ @@ -5707,7 +5850,7 @@ public final BinaryResponse searchMvt(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-shards">Documentation * on elastic.co */ @@ -5734,7 +5877,7 @@ public SearchShardsResponse searchShards(SearchShardsRequest request) throws IOE * a function that initializes a builder to create the * {@link SearchShardsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-shards">Documentation * on elastic.co */ @@ -5757,7 +5900,7 @@ public final SearchShardsResponse searchShards( * the target data stream, index, or alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-shards">Documentation * on elastic.co */ @@ -5772,7 +5915,7 @@ public SearchShardsResponse searchShards() throws IOException, ElasticsearchExce * Run a search with a search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5794,7 +5937,7 @@ public SearchTemplateResponse searchTemplate(SearchTempla * a function that initializes a builder to create the * {@link SearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5831,7 +5974,7 @@ public final SearchTemplateResponse searchTemplate( * Run a search with a search template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5853,7 +5996,7 @@ public SearchTemplateResponse searchTemplate(SearchTempla * a function that initializes a builder to create the * {@link SearchTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-template">Documentation * on elastic.co */ @@ -5879,7 +6022,7 @@ public final SearchTemplateResponse searchTemplate( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-terms-enum">Documentation * on elastic.co */ @@ -5907,7 +6050,7 @@ public TermsEnumResponse termsEnum(TermsEnumRequest request) throws IOException, * a function that initializes a builder to create the * {@link TermsEnumRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-terms-enum">Documentation * on elastic.co */ @@ -5976,7 +6119,7 @@ public final TermsEnumResponse termsEnum(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-termvectors">Documentation * on elastic.co */ @@ -6049,7 +6192,7 @@ public TermvectorsResponse termvectors(TermvectorsRequest * a function that initializes a builder to create the * {@link TermvectorsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-termvectors">Documentation * on elastic.co */ @@ -6092,7 +6235,7 @@ public final TermvectorsResponse termvectors( * updates, upserts, and scripted updates, see the External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6141,7 +6284,7 @@ public UpdateResponse update( * a function that initializes a builder to create the * {@link UpdateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6182,7 +6325,7 @@ public final UpdateResponse update( * updates, upserts, and scripted updates, see the External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6231,7 +6374,7 @@ public UpdateResponse update( * a function that initializes a builder to create the * {@link UpdateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update">Documentation * on elastic.co */ @@ -6394,7 +6537,7 @@ public final UpdateResponse update( * _update_by_query API: * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query">Documentation * on elastic.co */ @@ -6560,7 +6703,7 @@ public UpdateByQueryResponse updateByQuery(UpdateByQueryRequest request) * a function that initializes a builder to create the * {@link UpdateByQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query">Documentation * on elastic.co */ @@ -6581,7 +6724,7 @@ public final UpdateByQueryResponse updateByQuery( * current batch to prevent scroll timeouts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query-rethrottle">Documentation * on elastic.co */ @@ -6605,7 +6748,7 @@ public UpdateByQueryRethrottleResponse updateByQueryRethrottle(UpdateByQueryReth * a function that initializes a builder to create the * {@link UpdateByQueryRethrottleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-update-by-query-rethrottle">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CommonStatsFlag.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CommonStatsFlag.java index 776f9a188c..0d1be7721b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CommonStatsFlag.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CommonStatsFlag.java @@ -45,48 +45,123 @@ */ @JsonpDeserializable public enum CommonStatsFlag implements JsonEnum { + /** + * Return all statistics. + */ All("_all"), + /** + * Size of the index in byte units. + */ Store("store"), + /** + * Indexing statistics. + */ Indexing("indexing"), + /** + * Get statistics, including missing stats. + */ Get("get"), + /** + * Search statistics including suggest statistics. You can include statistics + * for custom groups by adding an extra groups parameter (search + * operations can be associated with one or more groups). The + * groups parameter accepts a comma-separated list of group names. + * Use _all to return statistics for all groups. + */ Search("search"), + /** + * Merge statistics. + */ Merge("merge"), + /** + * Flush statistics. + */ Flush("flush"), + /** + * Refresh statistics. + */ Refresh("refresh"), + /** + * Query cache statistics. + */ QueryCache("query_cache"), + /** + * Fielddata statistics. + */ Fielddata("fielddata"), + /** + * Number of documents and deleted docs not yet merged out. Index refreshes can + * affect this statistic. + */ Docs("docs"), + /** + * Index warming statistics. + */ Warmer("warmer"), + /** + * Completion suggester statistics. + */ Completion("completion"), + /** + * Memory use of all open segments. If the + * include_segment_file_sizes parameter is true, this + * metric includes the aggregated disk usage of each Lucene index file. + */ Segments("segments"), + /** + * Translog statistics. + */ Translog("translog"), + /** + * Shard request cache statistics. + */ RequestCache("request_cache"), + /** + * Recovery statistics. + */ Recovery("recovery"), + /** + * Bulk operations statistics. + */ Bulk("bulk"), + /** + * Shard statistics, including the total number of shards. + */ ShardStats("shard_stats"), + /** + * Mapping statistics, including the total count and estimated overhead. + */ Mappings("mappings"), + /** + * Total number of dense vectors indexed. Index refreshes can affect this + * statistic. + */ DenseVector("dense_vector"), + /** + * Total number of sparse vectors indexed. Index refreshes can affect this + * statistic. + */ SparseVector("sparse_vector"), ; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java index 87716f5e18..e22769da72 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java @@ -91,11 +91,13 @@ public static IndicesOptions of(Function> } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -117,7 +119,10 @@ public final List expandWildcards() { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -208,11 +213,13 @@ private Builder(IndicesOptions instance) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -252,7 +259,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskInfo.java new file mode 100644 index 0000000000..c8f31f0750 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskInfo.java @@ -0,0 +1,430 @@ +/* + * 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 co.elastic.clients.elasticsearch._types; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _types.ReindexTaskInfo + +/** + * Information about a single reindex task, as returned by the reindex + * management APIs. + * + * @see API + * specification + */ +@JsonpDeserializable +public class ReindexTaskInfo implements JsonpSerializable { + private final String id; + + @Nullable + private final String description; + + private final long startTimeInMillis; + + @Nullable + private final String startTime; + + @Nullable + private final Time runningTime; + + private final long runningTimeInNanos; + + private final boolean cancelled; + + @Nullable + private final ReindexStatus status; + + // --------------------------------------------------------------------------------------------- + + private ReindexTaskInfo(Builder builder) { + + this.id = ApiTypeHelper.requireNonNull(builder.id, this, "id"); + this.description = builder.description; + this.startTimeInMillis = ApiTypeHelper.requireNonNull(builder.startTimeInMillis, this, "startTimeInMillis", 0); + this.startTime = builder.startTime; + this.runningTime = builder.runningTime; + this.runningTimeInNanos = ApiTypeHelper.requireNonNull(builder.runningTimeInNanos, this, "runningTimeInNanos", + 0); + this.cancelled = ApiTypeHelper.requireNonNull(builder.cancelled, this, "cancelled", false); + this.status = builder.status; + + } + + public static ReindexTaskInfo of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - The ID of the reindex task, in nodeId:taskNum format. + *

+ * API name: {@code id} + */ + public final String id() { + return this.id; + } + + /** + * A sanitized description of the reindex operation (source and destination + * indices, and optionally remote host info). + *

+ * API name: {@code description} + */ + @Nullable + public final String description() { + return this.description; + } + + /** + * Required - The time at which the reindex task started, in milliseconds since + * the Unix epoch. + *

+ * API name: {@code start_time_in_millis} + */ + public final long startTimeInMillis() { + return this.startTimeInMillis; + } + + /** + * The time at which the reindex task started, as an ISO 8601 formatted string. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code start_time} + */ + @Nullable + public final String startTime() { + return this.startTime; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + @Nullable + public final Time runningTime() { + return this.runningTime; + } + + /** + * Required - The elapsed running time of the reindex task, in nanoseconds. + *

+ * API name: {@code running_time_in_nanos} + */ + public final long runningTimeInNanos() { + return this.runningTimeInNanos; + } + + /** + * Required - Whether the reindex task has been cancelled. + *

+ * API name: {@code cancelled} + */ + public final boolean cancelled() { + return this.cancelled; + } + + /** + * The current progress of the reindex operation. + *

+ * API name: {@code status} + */ + @Nullable + public final ReindexStatus status() { + return this.status; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + generator.writeKey("id"); + generator.write(this.id); + + if (this.description != null) { + generator.writeKey("description"); + generator.write(this.description); + + } + generator.writeKey("start_time_in_millis"); + generator.write(this.startTimeInMillis); + + if (this.startTime != null) { + generator.writeKey("start_time"); + generator.write(this.startTime); + + } + if (this.runningTime != null) { + generator.writeKey("running_time"); + this.runningTime.serialize(generator, mapper); + + } + generator.writeKey("running_time_in_nanos"); + generator.write(this.runningTimeInNanos); + + generator.writeKey("cancelled"); + generator.write(this.cancelled); + + if (this.status != null) { + generator.writeKey("status"); + this.status.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link ReindexTaskInfo}. + */ + + public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { + private String id; + + @Nullable + private String description; + + private Long startTimeInMillis; + + @Nullable + private String startTime; + + @Nullable + private Time runningTime; + + private Long runningTimeInNanos; + + private Boolean cancelled; + + @Nullable + private ReindexStatus status; + + public Builder() { + } + private Builder(ReindexTaskInfo instance) { + this.id = instance.id; + this.description = instance.description; + this.startTimeInMillis = instance.startTimeInMillis; + this.startTime = instance.startTime; + this.runningTime = instance.runningTime; + this.runningTimeInNanos = instance.runningTimeInNanos; + this.cancelled = instance.cancelled; + this.status = instance.status; + + } + /** + * Required - The ID of the reindex task, in nodeId:taskNum format. + *

+ * API name: {@code id} + */ + public final Builder id(String value) { + this.id = value; + return this; + } + + /** + * A sanitized description of the reindex operation (source and destination + * indices, and optionally remote host info). + *

+ * API name: {@code description} + */ + public final Builder description(@Nullable String value) { + this.description = value; + return this; + } + + /** + * Required - The time at which the reindex task started, in milliseconds since + * the Unix epoch. + *

+ * API name: {@code start_time_in_millis} + */ + public final Builder startTimeInMillis(long value) { + this.startTimeInMillis = value; + return this; + } + + /** + * The time at which the reindex task started, as an ISO 8601 formatted string. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code start_time} + */ + public final Builder startTime(@Nullable String value) { + this.startTime = value; + return this; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + public final Builder runningTime(@Nullable Time value) { + this.runningTime = value; + return this; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + public final Builder runningTime(Function> fn) { + return this.runningTime(fn.apply(new Time.Builder()).build()); + } + + /** + * Required - The elapsed running time of the reindex task, in nanoseconds. + *

+ * API name: {@code running_time_in_nanos} + */ + public final Builder runningTimeInNanos(long value) { + this.runningTimeInNanos = value; + return this; + } + + /** + * Required - Whether the reindex task has been cancelled. + *

+ * API name: {@code cancelled} + */ + public final Builder cancelled(boolean value) { + this.cancelled = value; + return this; + } + + /** + * The current progress of the reindex operation. + *

+ * API name: {@code status} + */ + public final Builder status(@Nullable ReindexStatus value) { + this.status = value; + return this; + } + + /** + * The current progress of the reindex operation. + *

+ * API name: {@code status} + */ + public final Builder status(Function> fn) { + return this.status(fn.apply(new ReindexStatus.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link ReindexTaskInfo}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public ReindexTaskInfo build() { + _checkSingleUse(); + + return new ReindexTaskInfo(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link ReindexTaskInfo} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer.lazy(Builder::new, + ReindexTaskInfo::setupReindexTaskInfoDeserializer); + + protected static void setupReindexTaskInfoDeserializer(ObjectDeserializer op) { + + op.add(Builder::id, JsonpDeserializer.stringDeserializer(), "id"); + op.add(Builder::description, JsonpDeserializer.stringDeserializer(), "description"); + op.add(Builder::startTimeInMillis, JsonpDeserializer.longDeserializer(), "start_time_in_millis"); + op.add(Builder::startTime, JsonpDeserializer.stringDeserializer(), "start_time"); + op.add(Builder::runningTime, Time._DESERIALIZER, "running_time"); + op.add(Builder::runningTimeInNanos, JsonpDeserializer.longDeserializer(), "running_time_in_nanos"); + op.add(Builder::cancelled, JsonpDeserializer.booleanDeserializer(), "cancelled"); + op.add(Builder::status, ReindexStatus._DESERIALIZER, "status"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskResult.java new file mode 100644 index 0000000000..f2cf9e92f3 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ReindexTaskResult.java @@ -0,0 +1,669 @@ +/* + * 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 co.elastic.clients.elasticsearch._types; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.lang.Float; +import java.lang.Long; +import java.util.List; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _types.ReindexTaskResult + +/** + * The final result of a completed reindex operation, as stored in the task + * result. This is the serialized form of BulkByScrollResponse. + * + * @see API + * specification + */ +@JsonpDeserializable +public class ReindexTaskResult implements JsonpSerializable { + @Nullable + private final Long batches; + + @Nullable + private final Long created; + + @Nullable + private final Long deleted; + + private final List failures; + + @Nullable + private final Long noops; + + @Nullable + private final Float requestsPerSecond; + + @Nullable + private final Retries retries; + + @Nullable + private final Long throttledMillis; + + @Nullable + private final Long throttledUntilMillis; + + @Nullable + private final Boolean timedOut; + + @Nullable + private final Long took; + + @Nullable + private final Long total; + + @Nullable + private final Long updated; + + @Nullable + private final Long versionConflicts; + + // --------------------------------------------------------------------------------------------- + + private ReindexTaskResult(Builder builder) { + + this.batches = builder.batches; + this.created = builder.created; + this.deleted = builder.deleted; + this.failures = ApiTypeHelper.unmodifiable(builder.failures); + this.noops = builder.noops; + this.requestsPerSecond = builder.requestsPerSecond; + this.retries = builder.retries; + this.throttledMillis = builder.throttledMillis; + this.throttledUntilMillis = builder.throttledUntilMillis; + this.timedOut = builder.timedOut; + this.took = builder.took; + this.total = builder.total; + this.updated = builder.updated; + this.versionConflicts = builder.versionConflicts; + + } + + public static ReindexTaskResult of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * The number of scroll responses pulled back by the reindex. + *

+ * API name: {@code batches} + */ + @Nullable + public final Long batches() { + return this.batches; + } + + /** + * The number of documents that were successfully created. + *

+ * API name: {@code created} + */ + @Nullable + public final Long created() { + return this.created; + } + + /** + * The number of documents that were successfully deleted. + *

+ * API name: {@code deleted} + */ + @Nullable + public final Long deleted() { + return this.deleted; + } + + /** + * Any failures encountered during the reindex. If non-empty, the reindex ended + * because of these failures. + *

+ * API name: {@code failures} + */ + public final List failures() { + return this.failures; + } + + /** + * The number of documents that were ignored because the script returned a + * noop value for ctx.op. + *

+ * API name: {@code noops} + */ + @Nullable + public final Long noops() { + return this.noops; + } + + /** + * The number of requests per second effectively executed during the reindex. + *

+ * API name: {@code requests_per_second} + */ + @Nullable + public final Float requestsPerSecond() { + return this.requestsPerSecond; + } + + /** + * The number of retries attempted by reindex. + *

+ * API name: {@code retries} + */ + @Nullable + public final Retries retries() { + return this.retries; + } + + /** + * Number of milliseconds the request slept to conform to + * requests_per_second. + *

+ * API name: {@code throttled_millis} + */ + @Nullable + public final Long throttledMillis() { + return this.throttledMillis; + } + + /** + * This field should always be equal to zero in a completed reindex result. + *

+ * API name: {@code throttled_until_millis} + */ + @Nullable + public final Long throttledUntilMillis() { + return this.throttledUntilMillis; + } + + /** + * Whether any of the requests executed during the reindex timed out. + *

+ * API name: {@code timed_out} + */ + @Nullable + public final Boolean timedOut() { + return this.timedOut; + } + + /** + * The total milliseconds the entire operation took. + *

+ * API name: {@code took} + */ + @Nullable + public final Long took() { + return this.took; + } + + /** + * The number of documents that were successfully processed. + *

+ * API name: {@code total} + */ + @Nullable + public final Long total() { + return this.total; + } + + /** + * The number of documents that were successfully updated. + *

+ * API name: {@code updated} + */ + @Nullable + public final Long updated() { + return this.updated; + } + + /** + * The number of version conflicts that occurred. + *

+ * API name: {@code version_conflicts} + */ + @Nullable + public final Long versionConflicts() { + return this.versionConflicts; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.batches != null) { + generator.writeKey("batches"); + generator.write(this.batches); + + } + if (this.created != null) { + generator.writeKey("created"); + generator.write(this.created); + + } + if (this.deleted != null) { + generator.writeKey("deleted"); + generator.write(this.deleted); + + } + if (ApiTypeHelper.isDefined(this.failures)) { + generator.writeKey("failures"); + generator.writeStartArray(); + for (BulkIndexByScrollFailure item0 : this.failures) { + item0.serialize(generator, mapper); + + } + generator.writeEnd(); + + } + if (this.noops != null) { + generator.writeKey("noops"); + generator.write(this.noops); + + } + if (this.requestsPerSecond != null) { + generator.writeKey("requests_per_second"); + generator.write(this.requestsPerSecond); + + } + if (this.retries != null) { + generator.writeKey("retries"); + this.retries.serialize(generator, mapper); + + } + if (this.throttledMillis != null) { + generator.writeKey("throttled_millis"); + generator.write(this.throttledMillis); + + } + if (this.throttledUntilMillis != null) { + generator.writeKey("throttled_until_millis"); + generator.write(this.throttledUntilMillis); + + } + if (this.timedOut != null) { + generator.writeKey("timed_out"); + generator.write(this.timedOut); + + } + if (this.took != null) { + generator.writeKey("took"); + generator.write(this.took); + + } + if (this.total != null) { + generator.writeKey("total"); + generator.write(this.total); + + } + if (this.updated != null) { + generator.writeKey("updated"); + generator.write(this.updated); + + } + if (this.versionConflicts != null) { + generator.writeKey("version_conflicts"); + generator.write(this.versionConflicts); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link ReindexTaskResult}. + */ + + public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { + @Nullable + private Long batches; + + @Nullable + private Long created; + + @Nullable + private Long deleted; + + @Nullable + private List failures; + + @Nullable + private Long noops; + + @Nullable + private Float requestsPerSecond; + + @Nullable + private Retries retries; + + @Nullable + private Long throttledMillis; + + @Nullable + private Long throttledUntilMillis; + + @Nullable + private Boolean timedOut; + + @Nullable + private Long took; + + @Nullable + private Long total; + + @Nullable + private Long updated; + + @Nullable + private Long versionConflicts; + + public Builder() { + } + private Builder(ReindexTaskResult instance) { + this.batches = instance.batches; + this.created = instance.created; + this.deleted = instance.deleted; + this.failures = instance.failures; + this.noops = instance.noops; + this.requestsPerSecond = instance.requestsPerSecond; + this.retries = instance.retries; + this.throttledMillis = instance.throttledMillis; + this.throttledUntilMillis = instance.throttledUntilMillis; + this.timedOut = instance.timedOut; + this.took = instance.took; + this.total = instance.total; + this.updated = instance.updated; + this.versionConflicts = instance.versionConflicts; + + } + /** + * The number of scroll responses pulled back by the reindex. + *

+ * API name: {@code batches} + */ + public final Builder batches(@Nullable Long value) { + this.batches = value; + return this; + } + + /** + * The number of documents that were successfully created. + *

+ * API name: {@code created} + */ + public final Builder created(@Nullable Long value) { + this.created = value; + return this; + } + + /** + * The number of documents that were successfully deleted. + *

+ * API name: {@code deleted} + */ + public final Builder deleted(@Nullable Long value) { + this.deleted = value; + return this; + } + + /** + * Any failures encountered during the reindex. If non-empty, the reindex ended + * because of these failures. + *

+ * API name: {@code failures} + *

+ * Adds all elements of list to failures. + */ + public final Builder failures(List list) { + this.failures = _listAddAll(this.failures, list); + return this; + } + + /** + * Any failures encountered during the reindex. If non-empty, the reindex ended + * because of these failures. + *

+ * API name: {@code failures} + *

+ * Adds one or more values to failures. + */ + public final Builder failures(BulkIndexByScrollFailure value, BulkIndexByScrollFailure... values) { + this.failures = _listAdd(this.failures, value, values); + return this; + } + + /** + * Any failures encountered during the reindex. If non-empty, the reindex ended + * because of these failures. + *

+ * API name: {@code failures} + *

+ * Adds a value to failures using a builder lambda. + */ + public final Builder failures( + Function> fn) { + return failures(fn.apply(new BulkIndexByScrollFailure.Builder()).build()); + } + + /** + * The number of documents that were ignored because the script returned a + * noop value for ctx.op. + *

+ * API name: {@code noops} + */ + public final Builder noops(@Nullable Long value) { + this.noops = value; + return this; + } + + /** + * The number of requests per second effectively executed during the reindex. + *

+ * API name: {@code requests_per_second} + */ + public final Builder requestsPerSecond(@Nullable Float value) { + this.requestsPerSecond = value; + return this; + } + + /** + * The number of retries attempted by reindex. + *

+ * API name: {@code retries} + */ + public final Builder retries(@Nullable Retries value) { + this.retries = value; + return this; + } + + /** + * The number of retries attempted by reindex. + *

+ * API name: {@code retries} + */ + public final Builder retries(Function> fn) { + return this.retries(fn.apply(new Retries.Builder()).build()); + } + + /** + * Number of milliseconds the request slept to conform to + * requests_per_second. + *

+ * API name: {@code throttled_millis} + */ + public final Builder throttledMillis(@Nullable Long value) { + this.throttledMillis = value; + return this; + } + + /** + * This field should always be equal to zero in a completed reindex result. + *

+ * API name: {@code throttled_until_millis} + */ + public final Builder throttledUntilMillis(@Nullable Long value) { + this.throttledUntilMillis = value; + return this; + } + + /** + * Whether any of the requests executed during the reindex timed out. + *

+ * API name: {@code timed_out} + */ + public final Builder timedOut(@Nullable Boolean value) { + this.timedOut = value; + return this; + } + + /** + * The total milliseconds the entire operation took. + *

+ * API name: {@code took} + */ + public final Builder took(@Nullable Long value) { + this.took = value; + return this; + } + + /** + * The number of documents that were successfully processed. + *

+ * API name: {@code total} + */ + public final Builder total(@Nullable Long value) { + this.total = value; + return this; + } + + /** + * The number of documents that were successfully updated. + *

+ * API name: {@code updated} + */ + public final Builder updated(@Nullable Long value) { + this.updated = value; + return this; + } + + /** + * The number of version conflicts that occurred. + *

+ * API name: {@code version_conflicts} + */ + public final Builder versionConflicts(@Nullable Long value) { + this.versionConflicts = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link ReindexTaskResult}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public ReindexTaskResult build() { + _checkSingleUse(); + + return new ReindexTaskResult(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link ReindexTaskResult} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, ReindexTaskResult::setupReindexTaskResultDeserializer); + + protected static void setupReindexTaskResultDeserializer(ObjectDeserializer op) { + + op.add(Builder::batches, JsonpDeserializer.longDeserializer(), "batches"); + op.add(Builder::created, JsonpDeserializer.longDeserializer(), "created"); + op.add(Builder::deleted, JsonpDeserializer.longDeserializer(), "deleted"); + op.add(Builder::failures, JsonpDeserializer.arrayDeserializer(BulkIndexByScrollFailure._DESERIALIZER), + "failures"); + op.add(Builder::noops, JsonpDeserializer.longDeserializer(), "noops"); + op.add(Builder::requestsPerSecond, JsonpDeserializer.floatDeserializer(), "requests_per_second"); + op.add(Builder::retries, Retries._DESERIALIZER, "retries"); + op.add(Builder::throttledMillis, JsonpDeserializer.longDeserializer(), "throttled_millis"); + op.add(Builder::throttledUntilMillis, JsonpDeserializer.longDeserializer(), "throttled_until_millis"); + op.add(Builder::timedOut, JsonpDeserializer.booleanDeserializer(), "timed_out"); + op.add(Builder::took, JsonpDeserializer.longDeserializer(), "took"); + op.add(Builder::total, JsonpDeserializer.longDeserializer(), "total"); + op.add(Builder::updated, JsonpDeserializer.longDeserializer(), "updated"); + op.add(Builder::versionConflicts, JsonpDeserializer.longDeserializer(), "version_conflicts"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ThreadType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ThreadType.java index 8bebef17c6..d5ef7198a0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ThreadType.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ThreadType.java @@ -45,14 +45,29 @@ */ @JsonpDeserializable public enum ThreadType implements JsonEnum { + /** + * Threads that consume the most CPU time. + */ Cpu("cpu"), + /** + * Threads that have been in a waiting state the longest. + */ Wait("wait"), + /** + * Threads that have been blocked the longest. + */ Block("block"), + /** + * Threads that consume the most GPU time. + */ Gpu("gpu"), + /** + * Threads that allocate the most memory. + */ Mem("mem"), ; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/FieldDateMath.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/FieldDateMath.java index b1b6f2bde7..33c35236cd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/FieldDateMath.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/FieldDateMath.java @@ -32,7 +32,7 @@ import co.elastic.clients.util.TaggedUnion; import co.elastic.clients.util.TaggedUnionUtils; import jakarta.json.stream.JsonGenerator; -import java.lang.Double; +import java.lang.Long; import java.lang.Object; import java.lang.String; import java.util.Objects; @@ -143,7 +143,7 @@ public boolean isValue() { * @throws IllegalStateException * if the current variant is not of the {@code value} kind. */ - public Double value() { + public Long value() { return TaggedUnionUtils.get(this, Kind.Value); } @@ -158,7 +158,7 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { break; case Value : - generator.write(((Double) this._value)); + generator.write(((Long) this._value)); break; } @@ -181,7 +181,7 @@ public ObjectBuilder expr(String v) { return this; } - public ObjectBuilder value(Double v) { + public ObjectBuilder value(Long v) { this._kind = Kind.Value; this._value = v; return this; @@ -197,7 +197,7 @@ public FieldDateMath build() { private static JsonpDeserializer buildFieldDateMathDeserializer() { return new UnionDeserializer.Builder(FieldDateMath::new, false) .addMember(Kind.Expr, JsonpDeserializer.stringDeserializer()) - .addMember(Kind.Value, JsonpDeserializer.doubleDeserializer()).build(); + .addMember(Kind.Value, JsonpDeserializer.longDeserializer()).build(); } public static final JsonpDeserializer _DESERIALIZER = JsonpDeserializer diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java new file mode 100644 index 0000000000..a866905250 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java @@ -0,0 +1,164 @@ +/* + * 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 co.elastic.clients.elasticsearch._types.query_dsl; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.Long; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _types.query_dsl.LongNumberRangeQuery + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class LongNumberRangeQuery extends RangeQueryBase implements RangeQueryVariant { + // Single key dictionary + private final String field; + + // --------------------------------------------------------------------------------------------- + + private LongNumberRangeQuery(Builder builder) { + super(builder); + this.field = ApiTypeHelper.requireNonNull(builder.field, this, "field"); + + } + + public static LongNumberRangeQuery of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * RangeQuery variant kind. + */ + @Override + public RangeQuery.Kind _rangeQueryKind() { + return RangeQuery.Kind.LongNumber; + } + + /** + * Required - the required field + */ + public final String field() { + return this.field; + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(this.field); + + super.serializeInternal(generator, mapper); + + generator.writeEnd(); + + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link LongNumberRangeQuery}. + */ + + public static class Builder extends RangeQueryBase.AbstractBuilder + implements + ObjectBuilder { + private String field; + + /** + * Required - the required field + */ + public final Builder field(String value) { + this.field = value; + return this; + } + + public Builder() { + } + private Builder(LongNumberRangeQuery instance) { + + } + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link LongNumberRangeQuery}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public LongNumberRangeQuery build() { + _checkSingleUse(); + super.tSerializer(null); + + return new LongNumberRangeQuery(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link LongNumberRangeQuery} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, LongNumberRangeQuery::setupLongNumberRangeQueryDeserializer); + + protected static void setupLongNumberRangeQueryDeserializer(ObjectDeserializer op) { + RangeQueryBase.setupRangeQueryBaseDeserializer(op, JsonpDeserializer.longDeserializer()); + + op.setKey(Builder::field, JsonpDeserializer.stringDeserializer()); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java index cf7240e9cd..6255c59e40 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java @@ -85,6 +85,8 @@ public class RangeQuery public enum Kind implements JsonEnum { Date("date"), + LongNumber("long_number"), + Number("number"), Term("term"), @@ -190,6 +192,23 @@ public DateRangeQuery date() { return TaggedUnionUtils.get(this, Kind.Date); } + /** + * Is this variant instance of kind {@code long_number}? + */ + public boolean isLongNumber() { + return _kind == Kind.LongNumber; + } + + /** + * Get the {@code long_number} variant value. + * + * @throws IllegalStateException + * if the current variant is not of the {@code long_number} kind. + */ + public LongNumberRangeQuery longNumber() { + return TaggedUnionUtils.get(this, Kind.LongNumber); + } + /** * Is this variant instance of kind {@code number}? */ @@ -267,6 +286,17 @@ public ObjectBuilder date(Function longNumber(LongNumberRangeQuery v) { + this._kind = Kind.LongNumber; + this._value = v; + return this; + } + + public ObjectBuilder longNumber( + Function> fn) { + return this.longNumber(fn.apply(new LongNumberRangeQuery.Builder()).build()); + } + public ObjectBuilder number(NumberRangeQuery v) { this._kind = Kind.Number; this._value = v; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java index 3d49c97721..62e357b343 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java @@ -62,6 +62,25 @@ public static RangeQuery date(Function> fn) { + RangeQuery.Builder builder = new RangeQuery.Builder(); + builder.longNumber(fn.apply(new LongNumberRangeQuery.Builder()).build()); + return builder.build(); + } + /** * Creates a builder for the {@link NumberRangeQuery number} {@code RangeQuery} * variant. diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java index 792e413a61..6b9894153c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java @@ -81,7 +81,7 @@ public ElasticsearchAsyncSearchAsyncClient withTransportOptions(@Nullable Transp * have the cancel_task cluster privilege. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public CompletableFuture delete(DeleteAsyncSearchRequ * a function that initializes a builder to create the * {@link DeleteAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -125,7 +125,7 @@ public final CompletableFuture delete( * it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -151,7 +151,7 @@ public CompletableFuture> get(GetA * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -191,7 +191,7 @@ public final CompletableFuture> get( * it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -217,7 +217,7 @@ public CompletableFuture> get(GetA * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -243,7 +243,7 @@ public final CompletableFuture> ge * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -272,7 +272,7 @@ public CompletableFuture status(AsyncSearchStatusRequ * a function that initializes a builder to create the * {@link AsyncSearchStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -300,7 +300,7 @@ public final CompletableFuture status( * setting. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -335,7 +335,7 @@ public CompletableFuture> submit(SubmitReq * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -382,7 +382,7 @@ public final CompletableFuture> submit( * setting. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -416,7 +416,7 @@ public CompletableFuture> submit(SubmitReq * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java index 55e5103d5f..51eef6dcef 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java @@ -80,7 +80,7 @@ public ElasticsearchAsyncSearchClient withTransportOptions(@Nullable TransportOp * have the cancel_task cluster privilege. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public DeleteAsyncSearchResponse delete(DeleteAsyncSearchRequest request) * a function that initializes a builder to create the * {@link DeleteAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -126,7 +126,7 @@ public final DeleteAsyncSearchResponse delete( * it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -152,7 +152,7 @@ public GetAsyncSearchResponse get(GetAsyncSearchRequest r * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -193,7 +193,7 @@ public final GetAsyncSearchResponse get( * it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -219,7 +219,7 @@ public GetAsyncSearchResponse get(GetAsyncSearchRequest r * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -246,7 +246,7 @@ public final GetAsyncSearchResponse get( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -276,7 +276,7 @@ public AsyncSearchStatusResponse status(AsyncSearchStatusRequest request) * a function that initializes a builder to create the * {@link AsyncSearchStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -305,7 +305,7 @@ public final AsyncSearchStatusResponse status( * setting. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -340,7 +340,7 @@ public SubmitResponse submit(SubmitRequest request, Class * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -388,7 +388,7 @@ public final SubmitResponse submit(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ @@ -423,7 +423,7 @@ public SubmitResponse submit(SubmitRequest request, Type * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-async-search-submit">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java index df8e5a6a39..7714c217b2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/SubmitRequest.java @@ -342,9 +342,13 @@ public final Map aggregations() { } /** - * Whether to ignore if a wildcard indices expression resolves into no concrete - * indices. (This includes _all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -518,8 +522,10 @@ public final Boolean ignoreThrottled() { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -1437,9 +1443,13 @@ public final Builder aggregations(String key, Function_all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -1714,8 +1724,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java index cb442eb4da..9f46a3a015 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java @@ -77,7 +77,7 @@ public ElasticsearchAutoscalingAsyncClient withTransportOptions(@Nullable Transp * supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-delete-autoscaling-policy">Documentation * on elastic.co */ @@ -100,7 +100,7 @@ public CompletableFuture deleteAutoscalingPolic * a function that initializes a builder to create the * {@link DeleteAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-delete-autoscaling-policy">Documentation * on elastic.co */ @@ -136,7 +136,7 @@ public final CompletableFuture deleteAutoscalin * make autoscaling decisions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public CompletableFuture getAutoscalingCapacity( * a function that initializes a builder to create the * {@link GetAutoscalingCapacityRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -210,7 +210,7 @@ public final CompletableFuture getAutoscalingCap * make autoscaling decisions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -229,7 +229,7 @@ public CompletableFuture getAutoscalingCapacity( * supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -251,7 +251,7 @@ public CompletableFuture getAutoscalingPolicy(GetA * a function that initializes a builder to create the * {@link GetAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -270,7 +270,7 @@ public final CompletableFuture getAutoscalingPolic * supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-put-autoscaling-policy">Documentation * on elastic.co */ @@ -292,7 +292,7 @@ public CompletableFuture putAutoscalingPolicy(PutA * a function that initializes a builder to create the * {@link PutAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-put-autoscaling-policy">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java index 14b903122d..4db49706df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java @@ -76,7 +76,7 @@ public ElasticsearchAutoscalingClient withTransportOptions(@Nullable TransportOp * supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-delete-autoscaling-policy">Documentation * on elastic.co */ @@ -99,7 +99,7 @@ public DeleteAutoscalingPolicyResponse deleteAutoscalingPolicy(DeleteAutoscaling * a function that initializes a builder to create the * {@link DeleteAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-delete-autoscaling-policy">Documentation * on elastic.co */ @@ -136,7 +136,7 @@ public final DeleteAutoscalingPolicyResponse deleteAutoscalingPolicy( * make autoscaling decisions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public GetAutoscalingCapacityResponse getAutoscalingCapacity(GetAutoscalingCapac * a function that initializes a builder to create the * {@link GetAutoscalingCapacityRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -211,7 +211,7 @@ public final GetAutoscalingCapacityResponse getAutoscalingCapacity( * make autoscaling decisions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -230,7 +230,7 @@ public GetAutoscalingCapacityResponse getAutoscalingCapacity() throws IOExceptio * supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -253,7 +253,7 @@ public GetAutoscalingPolicyResponse getAutoscalingPolicy(GetAutoscalingPolicyReq * a function that initializes a builder to create the * {@link GetAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-get-autoscaling-capacity">Documentation * on elastic.co */ @@ -273,7 +273,7 @@ public final GetAutoscalingPolicyResponse getAutoscalingPolicy( * supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-put-autoscaling-policy">Documentation * on elastic.co */ @@ -296,7 +296,7 @@ public PutAutoscalingPolicyResponse putAutoscalingPolicy(PutAutoscalingPolicyReq * a function that initializes a builder to create the * {@link PutAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-autoscaling-put-autoscaling-policy">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java index 7bed9ad07d..53b9b71625 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java @@ -78,7 +78,7 @@ public ElasticsearchCatAsyncClient withTransportOptions(@Nullable TransportOptio * For application consumption, use the aliases API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-aliases">Documentation * on elastic.co */ @@ -103,7 +103,7 @@ public CompletableFuture aliases(AliasesRequest request) { * a function that initializes a builder to create the * {@link AliasesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-aliases">Documentation * on elastic.co */ @@ -123,7 +123,7 @@ public final CompletableFuture aliases( * For application consumption, use the aliases API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-aliases">Documentation * on elastic.co */ @@ -144,7 +144,7 @@ public CompletableFuture aliases() { * line or Kibana console. They are not intended for use by applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-allocation">Documentation * on elastic.co */ @@ -168,7 +168,7 @@ public CompletableFuture allocation(AllocationRequest reques * a function that initializes a builder to create the * {@link AllocationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-allocation">Documentation * on elastic.co */ @@ -187,7 +187,7 @@ public final CompletableFuture allocation( * line or Kibana console. They are not intended for use by applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-allocation">Documentation * on elastic.co */ @@ -210,7 +210,7 @@ public CompletableFuture allocation() { * application consumption, use the get component template API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-component-templates">Documentation * on elastic.co */ @@ -236,7 +236,7 @@ public CompletableFuture componentTemplates(Componen * a function that initializes a builder to create the * {@link ComponentTemplatesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-component-templates">Documentation * on elastic.co */ @@ -257,7 +257,7 @@ public final CompletableFuture componentTemplates( * application consumption, use the get component template API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-component-templates">Documentation * on elastic.co */ @@ -284,7 +284,7 @@ public CompletableFuture componentTemplates() { * serverless environments. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-count">Documentation * on elastic.co */ @@ -314,7 +314,7 @@ public CompletableFuture count(CountRequest request) { * a function that initializes a builder to create the * {@link CountRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-count">Documentation * on elastic.co */ @@ -339,7 +339,7 @@ public final CompletableFuture count( * serverless environments. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-count">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public CompletableFuture count() { * application consumption, use the nodes stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-fielddata">Documentation * on elastic.co */ @@ -386,7 +386,7 @@ public CompletableFuture fielddata(FielddataRequest request) * a function that initializes a builder to create the * {@link FielddataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-fielddata">Documentation * on elastic.co */ @@ -406,7 +406,7 @@ public final CompletableFuture fielddata( * application consumption, use the nodes stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-fielddata">Documentation * on elastic.co */ @@ -433,7 +433,7 @@ public CompletableFuture fielddata() { * of a large cluster over a longer period of time. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-health">Documentation * on elastic.co */ @@ -463,7 +463,7 @@ public CompletableFuture health(HealthRequest request) { * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-health">Documentation * on elastic.co */ @@ -488,7 +488,7 @@ public final CompletableFuture health( * of a large cluster over a longer period of time. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-health">Documentation * on elastic.co */ @@ -505,7 +505,7 @@ public CompletableFuture health() { * Get help for the CAT APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-cat">Documentation * on elastic.co */ public CompletableFuture help() { @@ -551,7 +551,7 @@ public CompletableFuture help() { * application consumption, use an index endpoint. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-indices">Documentation * on elastic.co */ @@ -602,7 +602,7 @@ public CompletableFuture indices(IndicesRequest request) { * a function that initializes a builder to create the * {@link IndicesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-indices">Documentation * on elastic.co */ @@ -648,7 +648,7 @@ public final CompletableFuture indices( * application consumption, use an index endpoint. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-indices">Documentation * on elastic.co */ @@ -670,7 +670,7 @@ public CompletableFuture indices() { * application consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-master">Documentation * on elastic.co */ @@ -695,7 +695,7 @@ public CompletableFuture master(MasterRequest request) { * a function that initializes a builder to create the * {@link MasterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-master">Documentation * on elastic.co */ @@ -715,7 +715,7 @@ public final CompletableFuture master( * application consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-master">Documentation * on elastic.co */ @@ -737,7 +737,7 @@ public CompletableFuture master() { * API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-data-frame-analytics">Documentation * on elastic.co */ @@ -762,7 +762,7 @@ public CompletableFuture mlDataFrameAnalytics(MlDa * a function that initializes a builder to create the * {@link MlDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-data-frame-analytics">Documentation * on elastic.co */ @@ -782,7 +782,7 @@ public final CompletableFuture mlDataFrameAnalytic * API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-data-frame-analytics">Documentation * on elastic.co */ @@ -807,7 +807,7 @@ public CompletableFuture mlDataFrameAnalytics() { * application consumption, use the get datafeed statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-datafeeds">Documentation * on elastic.co */ @@ -835,7 +835,7 @@ public CompletableFuture mlDatafeeds(MlDatafeedsRequest req * a function that initializes a builder to create the * {@link MlDatafeedsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-datafeeds">Documentation * on elastic.co */ @@ -858,7 +858,7 @@ public final CompletableFuture mlDatafeeds( * application consumption, use the get datafeed statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-datafeeds">Documentation * on elastic.co */ @@ -883,7 +883,7 @@ public CompletableFuture mlDatafeeds() { * application consumption, use the get anomaly detection job statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-jobs">Documentation * on elastic.co */ @@ -911,7 +911,7 @@ public CompletableFuture mlJobs(MlJobsRequest request) { * a function that initializes a builder to create the * {@link MlJobsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-jobs">Documentation * on elastic.co */ @@ -934,7 +934,7 @@ public final CompletableFuture mlJobs( * application consumption, use the get anomaly detection job statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-jobs">Documentation * on elastic.co */ @@ -955,7 +955,7 @@ public CompletableFuture mlJobs() { * application consumption, use the get trained models statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-trained-models">Documentation * on elastic.co */ @@ -979,7 +979,7 @@ public CompletableFuture mlTrainedModels(MlTrainedModel * a function that initializes a builder to create the * {@link MlTrainedModelsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-trained-models">Documentation * on elastic.co */ @@ -998,7 +998,7 @@ public final CompletableFuture mlTrainedModels( * application consumption, use the get trained models statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-trained-models">Documentation * on elastic.co */ @@ -1018,7 +1018,7 @@ public CompletableFuture mlTrainedModels() { * the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodeattrs">Documentation * on elastic.co */ @@ -1041,7 +1041,7 @@ public CompletableFuture nodeattrs(NodeattrsRequest request) * a function that initializes a builder to create the * {@link NodeattrsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodeattrs">Documentation * on elastic.co */ @@ -1059,7 +1059,7 @@ public final CompletableFuture nodeattrs( * the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodeattrs">Documentation * on elastic.co */ @@ -1079,7 +1079,7 @@ public CompletableFuture nodeattrs() { * the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodes">Documentation * on elastic.co */ @@ -1102,7 +1102,7 @@ public CompletableFuture nodes(NodesRequest request) { * a function that initializes a builder to create the * {@link NodesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodes">Documentation * on elastic.co */ @@ -1120,7 +1120,7 @@ public final CompletableFuture nodes( * the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodes">Documentation * on elastic.co */ @@ -1140,7 +1140,7 @@ public CompletableFuture nodes() { * application consumption, use the pending cluster tasks API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-pending-tasks">Documentation * on elastic.co */ @@ -1163,7 +1163,7 @@ public CompletableFuture pendingTasks(PendingTasksRequest * a function that initializes a builder to create the * {@link PendingTasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-pending-tasks">Documentation * on elastic.co */ @@ -1181,7 +1181,7 @@ public final CompletableFuture pendingTasks( * application consumption, use the pending cluster tasks API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-pending-tasks">Documentation * on elastic.co */ @@ -1201,7 +1201,7 @@ public CompletableFuture pendingTasks() { * consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-plugins">Documentation * on elastic.co */ @@ -1224,7 +1224,7 @@ public CompletableFuture plugins(PluginsRequest request) { * a function that initializes a builder to create the * {@link PluginsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-plugins">Documentation * on elastic.co */ @@ -1242,7 +1242,7 @@ public final CompletableFuture plugins( * consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-plugins">Documentation * on elastic.co */ @@ -1266,7 +1266,7 @@ public CompletableFuture plugins() { * applications. For application consumption, use the index recovery API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-recovery">Documentation * on elastic.co */ @@ -1293,7 +1293,7 @@ public CompletableFuture recovery(RecoveryRequest request) { * a function that initializes a builder to create the * {@link RecoveryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-recovery">Documentation * on elastic.co */ @@ -1315,7 +1315,7 @@ public final CompletableFuture recovery( * applications. For application consumption, use the index recovery API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-recovery">Documentation * on elastic.co */ @@ -1335,7 +1335,7 @@ public CompletableFuture recovery() { * use the get snapshot repository API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-repositories">Documentation * on elastic.co */ @@ -1358,7 +1358,7 @@ public CompletableFuture repositories(RepositoriesRequest * a function that initializes a builder to create the * {@link RepositoriesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-repositories">Documentation * on elastic.co */ @@ -1376,7 +1376,7 @@ public final CompletableFuture repositories( * use the get snapshot repository API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-repositories">Documentation * on elastic.co */ @@ -1397,7 +1397,7 @@ public CompletableFuture repositories() { * application consumption, use the index segments API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-segments">Documentation * on elastic.co */ @@ -1421,7 +1421,7 @@ public CompletableFuture segments(SegmentsRequest request) { * a function that initializes a builder to create the * {@link SegmentsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-segments">Documentation * on elastic.co */ @@ -1440,7 +1440,7 @@ public final CompletableFuture segments( * application consumption, use the index segments API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-segments">Documentation * on elastic.co */ @@ -1460,7 +1460,7 @@ public CompletableFuture segments() { * are not intended for use by applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-shards">Documentation * on elastic.co */ @@ -1483,7 +1483,7 @@ public CompletableFuture shards(ShardsRequest request) { * a function that initializes a builder to create the * {@link ShardsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-shards">Documentation * on elastic.co */ @@ -1501,7 +1501,7 @@ public final CompletableFuture shards( * are not intended for use by applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-shards">Documentation * on elastic.co */ @@ -1522,7 +1522,7 @@ public CompletableFuture shards() { * application consumption, use the get snapshot API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-snapshots">Documentation * on elastic.co */ @@ -1546,7 +1546,7 @@ public CompletableFuture snapshots(SnapshotsRequest request) * a function that initializes a builder to create the * {@link SnapshotsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-snapshots">Documentation * on elastic.co */ @@ -1565,7 +1565,7 @@ public final CompletableFuture snapshots( * application consumption, use the get snapshot API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-snapshots">Documentation * on elastic.co */ @@ -1585,7 +1585,7 @@ public CompletableFuture snapshots() { * consumption, use the task management API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-tasks">Documentation * on elastic.co */ @@ -1608,7 +1608,7 @@ public CompletableFuture tasks(TasksRequest request) { * a function that initializes a builder to create the * {@link TasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-tasks">Documentation * on elastic.co */ @@ -1626,7 +1626,7 @@ public final CompletableFuture tasks( * consumption, use the task management API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-tasks">Documentation * on elastic.co */ @@ -1647,7 +1647,7 @@ public CompletableFuture tasks() { * applications. For application consumption, use the get index template API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-templates">Documentation * on elastic.co */ @@ -1671,7 +1671,7 @@ public CompletableFuture templates(TemplatesRequest request) * a function that initializes a builder to create the * {@link TemplatesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-templates">Documentation * on elastic.co */ @@ -1690,7 +1690,7 @@ public final CompletableFuture templates( * applications. For application consumption, use the get index template API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-templates">Documentation * on elastic.co */ @@ -1711,7 +1711,7 @@ public CompletableFuture templates() { * consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-thread-pool">Documentation * on elastic.co */ @@ -1735,7 +1735,7 @@ public CompletableFuture threadPool(ThreadPoolRequest reques * a function that initializes a builder to create the * {@link ThreadPoolRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-thread-pool">Documentation * on elastic.co */ @@ -1754,7 +1754,7 @@ public final CompletableFuture threadPool( * consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-thread-pool">Documentation * on elastic.co */ @@ -1775,7 +1775,7 @@ public CompletableFuture threadPool() { * consumption, use the get transform statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-transforms">Documentation * on elastic.co */ @@ -1799,7 +1799,7 @@ public CompletableFuture transforms(TransformsRequest reques * a function that initializes a builder to create the * {@link TransformsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-transforms">Documentation * on elastic.co */ @@ -1818,7 +1818,7 @@ public final CompletableFuture transforms( * consumption, use the get transform statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-transforms">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java index 3a2fa06cf1..519db8f031 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java @@ -79,7 +79,7 @@ public ElasticsearchCatClient withTransportOptions(@Nullable TransportOptions tr * For application consumption, use the aliases API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-aliases">Documentation * on elastic.co */ @@ -104,7 +104,7 @@ public AliasesResponse aliases(AliasesRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link AliasesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-aliases">Documentation * on elastic.co */ @@ -124,7 +124,7 @@ public final AliasesResponse aliases(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-aliases">Documentation * on elastic.co */ @@ -145,7 +145,7 @@ public AliasesResponse aliases() throws IOException, ElasticsearchException { * line or Kibana console. They are not intended for use by applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-allocation">Documentation * on elastic.co */ @@ -169,7 +169,7 @@ public AllocationResponse allocation(AllocationRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link AllocationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-allocation">Documentation * on elastic.co */ @@ -188,7 +188,7 @@ public final AllocationResponse allocation(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-allocation">Documentation * on elastic.co */ @@ -211,7 +211,7 @@ public AllocationResponse allocation() throws IOException, ElasticsearchExceptio * application consumption, use the get component template API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-component-templates">Documentation * on elastic.co */ @@ -238,7 +238,7 @@ public ComponentTemplatesResponse componentTemplates(ComponentTemplatesRequest r * a function that initializes a builder to create the * {@link ComponentTemplatesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-component-templates">Documentation * on elastic.co */ @@ -260,7 +260,7 @@ public final ComponentTemplatesResponse componentTemplates( * application consumption, use the get component template API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-component-templates">Documentation * on elastic.co */ @@ -287,7 +287,7 @@ public ComponentTemplatesResponse componentTemplates() throws IOException, Elast * serverless environments. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-count">Documentation * on elastic.co */ @@ -317,7 +317,7 @@ public CountResponse count(CountRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link CountRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-count">Documentation * on elastic.co */ @@ -342,7 +342,7 @@ public final CountResponse count(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-count">Documentation * on elastic.co */ @@ -364,7 +364,7 @@ public CountResponse count() throws IOException, ElasticsearchException { * application consumption, use the nodes stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-fielddata">Documentation * on elastic.co */ @@ -389,7 +389,7 @@ public FielddataResponse fielddata(FielddataRequest request) throws IOException, * a function that initializes a builder to create the * {@link FielddataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-fielddata">Documentation * on elastic.co */ @@ -409,7 +409,7 @@ public final FielddataResponse fielddata(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-fielddata">Documentation * on elastic.co */ @@ -436,7 +436,7 @@ public FielddataResponse fielddata() throws IOException, ElasticsearchException * of a large cluster over a longer period of time. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-health">Documentation * on elastic.co */ @@ -466,7 +466,7 @@ public HealthResponse health(HealthRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-health">Documentation * on elastic.co */ @@ -491,7 +491,7 @@ public final HealthResponse health(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-health">Documentation * on elastic.co */ @@ -508,7 +508,7 @@ public HealthResponse health() throws IOException, ElasticsearchException { * Get help for the CAT APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-cat">Documentation * on elastic.co */ public TextResponse help() throws IOException, ElasticsearchException { @@ -554,7 +554,7 @@ public TextResponse help() throws IOException, ElasticsearchException { * application consumption, use an index endpoint. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-indices">Documentation * on elastic.co */ @@ -605,7 +605,7 @@ public IndicesResponse indices(IndicesRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link IndicesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-indices">Documentation * on elastic.co */ @@ -651,7 +651,7 @@ public final IndicesResponse indices(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-indices">Documentation * on elastic.co */ @@ -673,7 +673,7 @@ public IndicesResponse indices() throws IOException, ElasticsearchException { * application consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-master">Documentation * on elastic.co */ @@ -698,7 +698,7 @@ public MasterResponse master(MasterRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link MasterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-master">Documentation * on elastic.co */ @@ -718,7 +718,7 @@ public final MasterResponse master(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-master">Documentation * on elastic.co */ @@ -740,7 +740,7 @@ public MasterResponse master() throws IOException, ElasticsearchException { * API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-data-frame-analytics">Documentation * on elastic.co */ @@ -766,7 +766,7 @@ public MlDataFrameAnalyticsResponse mlDataFrameAnalytics(MlDataFrameAnalyticsReq * a function that initializes a builder to create the * {@link MlDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-data-frame-analytics">Documentation * on elastic.co */ @@ -787,7 +787,7 @@ public final MlDataFrameAnalyticsResponse mlDataFrameAnalytics( * API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-data-frame-analytics">Documentation * on elastic.co */ @@ -812,7 +812,7 @@ public MlDataFrameAnalyticsResponse mlDataFrameAnalytics() throws IOException, E * application consumption, use the get datafeed statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-datafeeds">Documentation * on elastic.co */ @@ -840,7 +840,7 @@ public MlDatafeedsResponse mlDatafeeds(MlDatafeedsRequest request) throws IOExce * a function that initializes a builder to create the * {@link MlDatafeedsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-datafeeds">Documentation * on elastic.co */ @@ -864,7 +864,7 @@ public final MlDatafeedsResponse mlDatafeeds( * application consumption, use the get datafeed statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-datafeeds">Documentation * on elastic.co */ @@ -889,7 +889,7 @@ public MlDatafeedsResponse mlDatafeeds() throws IOException, ElasticsearchExcept * application consumption, use the get anomaly detection job statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-jobs">Documentation * on elastic.co */ @@ -917,7 +917,7 @@ public MlJobsResponse mlJobs(MlJobsRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link MlJobsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-jobs">Documentation * on elastic.co */ @@ -940,7 +940,7 @@ public final MlJobsResponse mlJobs(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-jobs">Documentation * on elastic.co */ @@ -961,7 +961,7 @@ public MlJobsResponse mlJobs() throws IOException, ElasticsearchException { * application consumption, use the get trained models statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-trained-models">Documentation * on elastic.co */ @@ -986,7 +986,7 @@ public MlTrainedModelsResponse mlTrainedModels(MlTrainedModelsRequest request) * a function that initializes a builder to create the * {@link MlTrainedModelsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-trained-models">Documentation * on elastic.co */ @@ -1006,7 +1006,7 @@ public final MlTrainedModelsResponse mlTrainedModels( * application consumption, use the get trained models statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-ml-trained-models">Documentation * on elastic.co */ @@ -1026,7 +1026,7 @@ public MlTrainedModelsResponse mlTrainedModels() throws IOException, Elasticsear * the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodeattrs">Documentation * on elastic.co */ @@ -1049,7 +1049,7 @@ public NodeattrsResponse nodeattrs(NodeattrsRequest request) throws IOException, * a function that initializes a builder to create the * {@link NodeattrsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodeattrs">Documentation * on elastic.co */ @@ -1067,7 +1067,7 @@ public final NodeattrsResponse nodeattrs(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodeattrs">Documentation * on elastic.co */ @@ -1087,7 +1087,7 @@ public NodeattrsResponse nodeattrs() throws IOException, ElasticsearchException * the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodes">Documentation * on elastic.co */ @@ -1110,7 +1110,7 @@ public NodesResponse nodes(NodesRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link NodesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodes">Documentation * on elastic.co */ @@ -1128,7 +1128,7 @@ public final NodesResponse nodes(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-nodes">Documentation * on elastic.co */ @@ -1148,7 +1148,7 @@ public NodesResponse nodes() throws IOException, ElasticsearchException { * application consumption, use the pending cluster tasks API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-pending-tasks">Documentation * on elastic.co */ @@ -1171,7 +1171,7 @@ public PendingTasksResponse pendingTasks(PendingTasksRequest request) throws IOE * a function that initializes a builder to create the * {@link PendingTasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-pending-tasks">Documentation * on elastic.co */ @@ -1190,7 +1190,7 @@ public final PendingTasksResponse pendingTasks( * application consumption, use the pending cluster tasks API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-pending-tasks">Documentation * on elastic.co */ @@ -1210,7 +1210,7 @@ public PendingTasksResponse pendingTasks() throws IOException, ElasticsearchExce * consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-plugins">Documentation * on elastic.co */ @@ -1233,7 +1233,7 @@ public PluginsResponse plugins(PluginsRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link PluginsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-plugins">Documentation * on elastic.co */ @@ -1251,7 +1251,7 @@ public final PluginsResponse plugins(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-plugins">Documentation * on elastic.co */ @@ -1275,7 +1275,7 @@ public PluginsResponse plugins() throws IOException, ElasticsearchException { * applications. For application consumption, use the index recovery API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-recovery">Documentation * on elastic.co */ @@ -1302,7 +1302,7 @@ public RecoveryResponse recovery(RecoveryRequest request) throws IOException, El * a function that initializes a builder to create the * {@link RecoveryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-recovery">Documentation * on elastic.co */ @@ -1324,7 +1324,7 @@ public final RecoveryResponse recovery(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-recovery">Documentation * on elastic.co */ @@ -1344,7 +1344,7 @@ public RecoveryResponse recovery() throws IOException, ElasticsearchException { * use the get snapshot repository API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-repositories">Documentation * on elastic.co */ @@ -1367,7 +1367,7 @@ public RepositoriesResponse repositories(RepositoriesRequest request) throws IOE * a function that initializes a builder to create the * {@link RepositoriesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-repositories">Documentation * on elastic.co */ @@ -1386,7 +1386,7 @@ public final RepositoriesResponse repositories( * use the get snapshot repository API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-repositories">Documentation * on elastic.co */ @@ -1407,7 +1407,7 @@ public RepositoriesResponse repositories() throws IOException, ElasticsearchExce * application consumption, use the index segments API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-segments">Documentation * on elastic.co */ @@ -1431,7 +1431,7 @@ public SegmentsResponse segments(SegmentsRequest request) throws IOException, El * a function that initializes a builder to create the * {@link SegmentsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-segments">Documentation * on elastic.co */ @@ -1450,7 +1450,7 @@ public final SegmentsResponse segments(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-segments">Documentation * on elastic.co */ @@ -1470,7 +1470,7 @@ public SegmentsResponse segments() throws IOException, ElasticsearchException { * are not intended for use by applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-shards">Documentation * on elastic.co */ @@ -1493,7 +1493,7 @@ public ShardsResponse shards(ShardsRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link ShardsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-shards">Documentation * on elastic.co */ @@ -1511,7 +1511,7 @@ public final ShardsResponse shards(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-shards">Documentation * on elastic.co */ @@ -1532,7 +1532,7 @@ public ShardsResponse shards() throws IOException, ElasticsearchException { * application consumption, use the get snapshot API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-snapshots">Documentation * on elastic.co */ @@ -1556,7 +1556,7 @@ public SnapshotsResponse snapshots(SnapshotsRequest request) throws IOException, * a function that initializes a builder to create the * {@link SnapshotsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-snapshots">Documentation * on elastic.co */ @@ -1575,7 +1575,7 @@ public final SnapshotsResponse snapshots(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-snapshots">Documentation * on elastic.co */ @@ -1595,7 +1595,7 @@ public SnapshotsResponse snapshots() throws IOException, ElasticsearchException * consumption, use the task management API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-tasks">Documentation * on elastic.co */ @@ -1618,7 +1618,7 @@ public TasksResponse tasks(TasksRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link TasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-tasks">Documentation * on elastic.co */ @@ -1636,7 +1636,7 @@ public final TasksResponse tasks(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-tasks">Documentation * on elastic.co */ @@ -1657,7 +1657,7 @@ public TasksResponse tasks() throws IOException, ElasticsearchException { * applications. For application consumption, use the get index template API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-templates">Documentation * on elastic.co */ @@ -1681,7 +1681,7 @@ public TemplatesResponse templates(TemplatesRequest request) throws IOException, * a function that initializes a builder to create the * {@link TemplatesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-templates">Documentation * on elastic.co */ @@ -1700,7 +1700,7 @@ public final TemplatesResponse templates(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-templates">Documentation * on elastic.co */ @@ -1721,7 +1721,7 @@ public TemplatesResponse templates() throws IOException, ElasticsearchException * consumption, use the nodes info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-thread-pool">Documentation * on elastic.co */ @@ -1745,7 +1745,7 @@ public ThreadPoolResponse threadPool(ThreadPoolRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link ThreadPoolRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-thread-pool">Documentation * on elastic.co */ @@ -1764,7 +1764,7 @@ public final ThreadPoolResponse threadPool(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-thread-pool">Documentation * on elastic.co */ @@ -1785,7 +1785,7 @@ public ThreadPoolResponse threadPool() throws IOException, ElasticsearchExceptio * consumption, use the get transform statistics API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-transforms">Documentation * on elastic.co */ @@ -1809,7 +1809,7 @@ public TransformsResponse transforms(TransformsRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link TransformsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-transforms">Documentation * on elastic.co */ @@ -1828,7 +1828,7 @@ public final TransformsResponse transforms(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cat-transforms">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsRequest.java index a8a4d816f5..c5bd684841 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsRequest.java @@ -143,11 +143,13 @@ public final Boolean allowClosed() { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. This behavior - * applies even if the request targets other open indices. For example, a - * request targeting foo*,bar* returns an error if an index starts with foo but - * no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -206,7 +208,10 @@ public final Boolean ignoreThrottled() { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -352,11 +357,13 @@ public final Builder allowClosed(@Nullable Boolean value) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. This behavior - * applies even if the request targets other open indices. For example, a - * request targeting foo*,bar* returns an error if an index starts with foo but - * no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -462,7 +469,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java index ba876ee09d..3c4517265a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java @@ -72,7 +72,7 @@ public ElasticsearchCcrAsyncClient withTransportOptions(@Nullable TransportOptio * Delete a collection of cross-cluster replication auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-delete-auto-follow-pattern">Documentation * on elastic.co */ @@ -93,7 +93,7 @@ public CompletableFuture deleteAutoFollowPatter * a function that initializes a builder to create the * {@link DeleteAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-delete-auto-follow-pattern">Documentation * on elastic.co */ @@ -113,7 +113,7 @@ public final CompletableFuture deleteAutoFollow * to the follower index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow">Documentation * on elastic.co */ @@ -136,7 +136,7 @@ public CompletableFuture follow(FollowRequest request) { * a function that initializes a builder to create the * {@link FollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow">Documentation * on elastic.co */ @@ -155,7 +155,7 @@ public final CompletableFuture follow( * replication options, and whether the follower indices are active or paused. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-info">Documentation * on elastic.co */ @@ -177,7 +177,7 @@ public CompletableFuture followInfo(FollowInfoRequest reques * a function that initializes a builder to create the * {@link FollowInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-info">Documentation * on elastic.co */ @@ -196,7 +196,7 @@ public final CompletableFuture followInfo( * the specified indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-stats">Documentation * on elastic.co */ @@ -218,7 +218,7 @@ public CompletableFuture followStats(FollowStatsRequest req * a function that initializes a builder to create the * {@link FollowStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-stats">Documentation * on elastic.co */ @@ -255,7 +255,7 @@ public final CompletableFuture followStats( * retention leases after the unfollow API is invoked. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-forget-follower">Documentation * on elastic.co */ @@ -295,7 +295,7 @@ public CompletableFuture forgetFollower(ForgetFollowerRe * a function that initializes a builder to create the * {@link ForgetFollowerRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-forget-follower">Documentation * on elastic.co */ @@ -312,7 +312,7 @@ public final CompletableFuture forgetFollower( * Get cross-cluster replication auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-get-auto-follow-pattern-1">Documentation * on elastic.co */ @@ -332,7 +332,7 @@ public CompletableFuture getAutoFollowPattern(GetA * a function that initializes a builder to create the * {@link GetAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-get-auto-follow-pattern-1">Documentation * on elastic.co */ @@ -347,7 +347,7 @@ public final CompletableFuture getAutoFollowPatter * Get cross-cluster replication auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-get-auto-follow-pattern-1">Documentation * on elastic.co */ @@ -373,7 +373,7 @@ public CompletableFuture getAutoFollowPattern() { * the interim. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-auto-follow-pattern">Documentation * on elastic.co */ @@ -403,7 +403,7 @@ public CompletableFuture pauseAutoFollowPattern( * a function that initializes a builder to create the * {@link PauseAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-auto-follow-pattern">Documentation * on elastic.co */ @@ -423,7 +423,7 @@ public final CompletableFuture pauseAutoFollowPa * index to change the configuration of the following task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-follow">Documentation * on elastic.co */ @@ -446,7 +446,7 @@ public CompletableFuture pauseFollow(PauseFollowRequest req * a function that initializes a builder to create the * {@link PauseFollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-follow">Documentation * on elastic.co */ @@ -472,7 +472,7 @@ public final CompletableFuture pauseFollow( * patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-put-auto-follow-pattern">Documentation * on elastic.co */ @@ -501,7 +501,7 @@ public CompletableFuture putAutoFollowPattern(PutA * a function that initializes a builder to create the * {@link PutAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-put-auto-follow-pattern">Documentation * on elastic.co */ @@ -522,7 +522,7 @@ public final CompletableFuture putAutoFollowPatter * been deleted or closed in the interim. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-auto-follow-pattern">Documentation * on elastic.co */ @@ -547,7 +547,7 @@ public CompletableFuture resumeAutoFollowPatter * a function that initializes a builder to create the * {@link ResumeAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-auto-follow-pattern">Documentation * on elastic.co */ @@ -568,7 +568,7 @@ public final CompletableFuture resumeAutoFollow * index will resume fetching operations from the leader index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-follow">Documentation * on elastic.co */ @@ -592,7 +592,7 @@ public CompletableFuture resumeFollow(ResumeFollowRequest * a function that initializes a builder to create the * {@link ResumeFollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-follow">Documentation * on elastic.co */ @@ -610,7 +610,7 @@ public final CompletableFuture resumeFollow( * the get follower stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-stats">Documentation * on elastic.co */ @@ -631,7 +631,7 @@ public CompletableFuture stats(CcrStatsRequest request) { * a function that initializes a builder to create the * {@link CcrStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-stats">Documentation * on elastic.co */ @@ -647,7 +647,7 @@ public final CompletableFuture stats( * the get follower stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-stats">Documentation * on elastic.co */ @@ -674,7 +674,7 @@ public CompletableFuture stats() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-unfollow">Documentation * on elastic.co */ @@ -704,7 +704,7 @@ public CompletableFuture unfollow(UnfollowRequest request) { * a function that initializes a builder to create the * {@link UnfollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-unfollow">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java index accce4a706..ac50697284 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java @@ -73,7 +73,7 @@ public ElasticsearchCcrClient withTransportOptions(@Nullable TransportOptions tr * Delete a collection of cross-cluster replication auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-delete-auto-follow-pattern">Documentation * on elastic.co */ @@ -94,7 +94,7 @@ public DeleteAutoFollowPatternResponse deleteAutoFollowPattern(DeleteAutoFollowP * a function that initializes a builder to create the * {@link DeleteAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-delete-auto-follow-pattern">Documentation * on elastic.co */ @@ -115,7 +115,7 @@ public final DeleteAutoFollowPatternResponse deleteAutoFollowPattern( * to the follower index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow">Documentation * on elastic.co */ @@ -138,7 +138,7 @@ public FollowResponse follow(FollowRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link FollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow">Documentation * on elastic.co */ @@ -157,7 +157,7 @@ public final FollowResponse follow(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-info">Documentation * on elastic.co */ @@ -179,7 +179,7 @@ public FollowInfoResponse followInfo(FollowInfoRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link FollowInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-info">Documentation * on elastic.co */ @@ -198,7 +198,7 @@ public final FollowInfoResponse followInfo(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-stats">Documentation * on elastic.co */ @@ -220,7 +220,7 @@ public FollowStatsResponse followStats(FollowStatsRequest request) throws IOExce * a function that initializes a builder to create the * {@link FollowStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-follow-stats">Documentation * on elastic.co */ @@ -258,7 +258,7 @@ public final FollowStatsResponse followStats( * retention leases after the unfollow API is invoked. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-forget-follower">Documentation * on elastic.co */ @@ -299,7 +299,7 @@ public ForgetFollowerResponse forgetFollower(ForgetFollowerRequest request) * a function that initializes a builder to create the * {@link ForgetFollowerRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-forget-follower">Documentation * on elastic.co */ @@ -317,7 +317,7 @@ public final ForgetFollowerResponse forgetFollower( * Get cross-cluster replication auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-get-auto-follow-pattern-1">Documentation * on elastic.co */ @@ -338,7 +338,7 @@ public GetAutoFollowPatternResponse getAutoFollowPattern(GetAutoFollowPatternReq * a function that initializes a builder to create the * {@link GetAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-get-auto-follow-pattern-1">Documentation * on elastic.co */ @@ -354,7 +354,7 @@ public final GetAutoFollowPatternResponse getAutoFollowPattern( * Get cross-cluster replication auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-get-auto-follow-pattern-1">Documentation * on elastic.co */ @@ -380,7 +380,7 @@ public GetAutoFollowPatternResponse getAutoFollowPattern() throws IOException, E * the interim. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-auto-follow-pattern">Documentation * on elastic.co */ @@ -410,7 +410,7 @@ public PauseAutoFollowPatternResponse pauseAutoFollowPattern(PauseAutoFollowPatt * a function that initializes a builder to create the * {@link PauseAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-auto-follow-pattern">Documentation * on elastic.co */ @@ -431,7 +431,7 @@ public final PauseAutoFollowPatternResponse pauseAutoFollowPattern( * index to change the configuration of the following task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-follow">Documentation * on elastic.co */ @@ -454,7 +454,7 @@ public PauseFollowResponse pauseFollow(PauseFollowRequest request) throws IOExce * a function that initializes a builder to create the * {@link PauseFollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-pause-follow">Documentation * on elastic.co */ @@ -481,7 +481,7 @@ public final PauseFollowResponse pauseFollow( * patterns. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-put-auto-follow-pattern">Documentation * on elastic.co */ @@ -511,7 +511,7 @@ public PutAutoFollowPatternResponse putAutoFollowPattern(PutAutoFollowPatternReq * a function that initializes a builder to create the * {@link PutAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-put-auto-follow-pattern">Documentation * on elastic.co */ @@ -533,7 +533,7 @@ public final PutAutoFollowPatternResponse putAutoFollowPattern( * been deleted or closed in the interim. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-auto-follow-pattern">Documentation * on elastic.co */ @@ -558,7 +558,7 @@ public ResumeAutoFollowPatternResponse resumeAutoFollowPattern(ResumeAutoFollowP * a function that initializes a builder to create the * {@link ResumeAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-auto-follow-pattern">Documentation * on elastic.co */ @@ -580,7 +580,7 @@ public final ResumeAutoFollowPatternResponse resumeAutoFollowPattern( * index will resume fetching operations from the leader index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-follow">Documentation * on elastic.co */ @@ -604,7 +604,7 @@ public ResumeFollowResponse resumeFollow(ResumeFollowRequest request) throws IOE * a function that initializes a builder to create the * {@link ResumeFollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-resume-follow">Documentation * on elastic.co */ @@ -623,7 +623,7 @@ public final ResumeFollowResponse resumeFollow( * the get follower stats API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-stats">Documentation * on elastic.co */ @@ -644,7 +644,7 @@ public CcrStatsResponse stats(CcrStatsRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link CcrStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-stats">Documentation * on elastic.co */ @@ -660,7 +660,7 @@ public final CcrStatsResponse stats(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-stats">Documentation * on elastic.co */ @@ -687,7 +687,7 @@ public CcrStatsResponse stats() throws IOException, ElasticsearchException { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-unfollow">Documentation * on elastic.co */ @@ -717,7 +717,7 @@ public UnfollowResponse unfollow(UnfollowRequest request) throws IOException, El * a function that initializes a builder to create the * {@link UnfollowRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ccr-unfollow">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java index 9cca5bca50..4610f9fc4d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java @@ -85,7 +85,7 @@ public ElasticsearchClusterAsyncClient withTransportOptions(@Nullable TransportO * allocation issues using this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-allocation-explain">Documentation * on elastic.co */ @@ -114,7 +114,7 @@ public CompletableFuture allocationExplain(Allocation * a function that initializes a builder to create the * {@link AllocationExplainRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-allocation-explain">Documentation * on elastic.co */ @@ -138,7 +138,7 @@ public final CompletableFuture allocationExplain( * allocation issues using this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-allocation-explain">Documentation * on elastic.co */ @@ -156,7 +156,7 @@ public CompletableFuture allocationExplain() { * specify index mappings, settings, and aliases. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -178,7 +178,7 @@ public CompletableFuture deleteComponentTemplat * a function that initializes a builder to create the * {@link DeleteComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -195,7 +195,7 @@ public final CompletableFuture deleteComponentT * Remove master-eligible nodes from the voting configuration exclusion list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -216,7 +216,7 @@ public CompletableFuture deleteVotingConfigExclusions( * a function that initializes a builder to create the * {@link DeleteVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -231,7 +231,7 @@ public final CompletableFuture deleteVotingConfigExclusions( * Remove master-eligible nodes from the voting configuration exclusion list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -248,7 +248,7 @@ public CompletableFuture deleteVotingConfigExclusions() { * Returns information about whether a particular component template exists. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -268,7 +268,7 @@ public CompletableFuture existsComponentTemplate(ExistsComponen * a function that initializes a builder to create the * {@link ExistsComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -285,7 +285,7 @@ public final CompletableFuture existsComponentTemplate( * Get information about component templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -305,7 +305,7 @@ public CompletableFuture getComponentTemplate(GetC * a function that initializes a builder to create the * {@link GetComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -320,7 +320,7 @@ public final CompletableFuture getComponentTemplat * Get information about component templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -337,7 +337,7 @@ public CompletableFuture getComponentTemplate() { * By default, it returns only settings that have been explicitly defined. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-get-settings">Documentation * on elastic.co */ @@ -357,7 +357,7 @@ public CompletableFuture getSettings(GetClusterSetti * a function that initializes a builder to create the * {@link GetClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-get-settings">Documentation * on elastic.co */ @@ -372,7 +372,7 @@ public final CompletableFuture getSettings( * By default, it returns only settings that have been explicitly defined. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-get-settings">Documentation * on elastic.co */ @@ -401,7 +401,7 @@ public CompletableFuture getSettings() { * controlled by the worst index status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-health">Documentation * on elastic.co */ @@ -433,7 +433,7 @@ public CompletableFuture health(HealthRequest request) { * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-health">Documentation * on elastic.co */ @@ -460,7 +460,7 @@ public final CompletableFuture health( * controlled by the worst index status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-health">Documentation * on elastic.co */ @@ -477,7 +477,7 @@ public CompletableFuture health() { * Returns basic information about the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-info">Documentation * on elastic.co */ @@ -497,7 +497,7 @@ public CompletableFuture info(ClusterInfoRequest request) { * a function that initializes a builder to create the * {@link ClusterInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-info">Documentation * on elastic.co */ @@ -522,7 +522,7 @@ public final CompletableFuture info( * this task might be reported by both task api and pending cluster tasks API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-pending-tasks">Documentation * on elastic.co */ @@ -550,7 +550,7 @@ public CompletableFuture pendingTasks(PendingTasksRequest * a function that initializes a builder to create the * {@link PendingTasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-pending-tasks">Documentation * on elastic.co */ @@ -573,7 +573,7 @@ public final CompletableFuture pendingTasks( * this task might be reported by both task api and pending cluster tasks API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-pending-tasks">Documentation * on elastic.co */ @@ -624,7 +624,7 @@ public CompletableFuture pendingTasks() { * half of the master-eligible nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -678,7 +678,7 @@ public CompletableFuture postVotingConfigExclusions(PostVotingC * a function that initializes a builder to create the * {@link PostVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -727,7 +727,7 @@ public final CompletableFuture postVotingConfigExclusions( * half of the master-eligible nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -769,7 +769,7 @@ public CompletableFuture postVotingConfigExclusions() { * composed_of list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -814,7 +814,7 @@ public CompletableFuture putComponentTemplate(PutC * a function that initializes a builder to create the * {@link PutComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -857,7 +857,7 @@ public final CompletableFuture putComponentTemplat * configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-settings">Documentation * on elastic.co */ @@ -903,7 +903,7 @@ public CompletableFuture putSettings(PutClusterSetti * a function that initializes a builder to create the * {@link PutClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-settings">Documentation * on elastic.co */ @@ -944,7 +944,7 @@ public final CompletableFuture putSettings( * configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-settings">Documentation * on elastic.co */ @@ -975,7 +975,7 @@ public CompletableFuture putSettings() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-remote-info">Documentation * on elastic.co */ public CompletableFuture remoteInfo() { @@ -1017,7 +1017,7 @@ public CompletableFuture remoteInfo() { * parameter, which will attempt a single retry round for these shards. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-reroute">Documentation * on elastic.co */ @@ -1063,7 +1063,7 @@ public CompletableFuture reroute(RerouteRequest request) { * a function that initializes a builder to create the * {@link RerouteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-reroute">Documentation * on elastic.co */ @@ -1104,7 +1104,7 @@ public final CompletableFuture reroute( * parameter, which will attempt a single retry round for these shards. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-reroute">Documentation * on elastic.co */ @@ -1149,7 +1149,7 @@ public CompletableFuture reroute() { * using other more stable cluster APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-state">Documentation * on elastic.co */ @@ -1197,7 +1197,7 @@ public CompletableFuture state(StateRequest request) { * a function that initializes a builder to create the * {@link StateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-state">Documentation * on elastic.co */ @@ -1240,7 +1240,7 @@ public final CompletableFuture state( * using other more stable cluster APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-state">Documentation * on elastic.co */ @@ -1259,7 +1259,7 @@ public CompletableFuture state() { * jvm versions, memory usage, cpu and installed plugins). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-stats">Documentation * on elastic.co */ @@ -1281,7 +1281,7 @@ public CompletableFuture stats(ClusterStatsRequest request * a function that initializes a builder to create the * {@link ClusterStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-stats">Documentation * on elastic.co */ @@ -1298,7 +1298,7 @@ public final CompletableFuture stats( * jvm versions, memory usage, cpu and installed plugins). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-stats">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java index 0465f61838..c3975ebfe6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java @@ -83,7 +83,7 @@ public ElasticsearchClusterClient withTransportOptions(@Nullable TransportOption * allocation issues using this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-allocation-explain">Documentation * on elastic.co */ @@ -113,7 +113,7 @@ public AllocationExplainResponse allocationExplain(AllocationExplainRequest requ * a function that initializes a builder to create the * {@link AllocationExplainRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-allocation-explain">Documentation * on elastic.co */ @@ -138,7 +138,7 @@ public final AllocationExplainResponse allocationExplain( * allocation issues using this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-allocation-explain">Documentation * on elastic.co */ @@ -156,7 +156,7 @@ public AllocationExplainResponse allocationExplain() throws IOException, Elastic * specify index mappings, settings, and aliases. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -178,7 +178,7 @@ public DeleteComponentTemplateResponse deleteComponentTemplate(DeleteComponentTe * a function that initializes a builder to create the * {@link DeleteComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -196,7 +196,7 @@ public final DeleteComponentTemplateResponse deleteComponentTemplate( * Remove master-eligible nodes from the voting configuration exclusion list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -217,7 +217,7 @@ public BooleanResponse deleteVotingConfigExclusions(DeleteVotingConfigExclusions * a function that initializes a builder to create the * {@link DeleteVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -233,7 +233,7 @@ public final BooleanResponse deleteVotingConfigExclusions( * Remove master-eligible nodes from the voting configuration exclusion list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -250,7 +250,7 @@ public BooleanResponse deleteVotingConfigExclusions() throws IOException, Elasti * Returns information about whether a particular component template exists. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -271,7 +271,7 @@ public BooleanResponse existsComponentTemplate(ExistsComponentTemplateRequest re * a function that initializes a builder to create the * {@link ExistsComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -289,7 +289,7 @@ public final BooleanResponse existsComponentTemplate( * Get information about component templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -310,7 +310,7 @@ public GetComponentTemplateResponse getComponentTemplate(GetComponentTemplateReq * a function that initializes a builder to create the * {@link GetComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -326,7 +326,7 @@ public final GetComponentTemplateResponse getComponentTemplate( * Get information about component templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -343,7 +343,7 @@ public GetComponentTemplateResponse getComponentTemplate() throws IOException, E * By default, it returns only settings that have been explicitly defined. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-get-settings">Documentation * on elastic.co */ @@ -364,7 +364,7 @@ public GetClusterSettingsResponse getSettings(GetClusterSettingsRequest request) * a function that initializes a builder to create the * {@link GetClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-get-settings">Documentation * on elastic.co */ @@ -380,7 +380,7 @@ public final GetClusterSettingsResponse getSettings( * By default, it returns only settings that have been explicitly defined. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-get-settings">Documentation * on elastic.co */ @@ -409,7 +409,7 @@ public GetClusterSettingsResponse getSettings() throws IOException, Elasticsearc * controlled by the worst index status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-health">Documentation * on elastic.co */ @@ -441,7 +441,7 @@ public HealthResponse health(HealthRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-health">Documentation * on elastic.co */ @@ -468,7 +468,7 @@ public final HealthResponse health(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-health">Documentation * on elastic.co */ @@ -485,7 +485,7 @@ public HealthResponse health() throws IOException, ElasticsearchException { * Returns basic information about the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-info">Documentation * on elastic.co */ @@ -505,7 +505,7 @@ public ClusterInfoResponse info(ClusterInfoRequest request) throws IOException, * a function that initializes a builder to create the * {@link ClusterInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-info">Documentation * on elastic.co */ @@ -530,7 +530,7 @@ public final ClusterInfoResponse info(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-pending-tasks">Documentation * on elastic.co */ @@ -558,7 +558,7 @@ public PendingTasksResponse pendingTasks(PendingTasksRequest request) throws IOE * a function that initializes a builder to create the * {@link PendingTasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-pending-tasks">Documentation * on elastic.co */ @@ -582,7 +582,7 @@ public final PendingTasksResponse pendingTasks( * this task might be reported by both task api and pending cluster tasks API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-pending-tasks">Documentation * on elastic.co */ @@ -633,7 +633,7 @@ public PendingTasksResponse pendingTasks() throws IOException, ElasticsearchExce * half of the master-eligible nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -688,7 +688,7 @@ public BooleanResponse postVotingConfigExclusions(PostVotingConfigExclusionsRequ * a function that initializes a builder to create the * {@link PostVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -738,7 +738,7 @@ public final BooleanResponse postVotingConfigExclusions( * half of the master-eligible nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-post-voting-config-exclusions">Documentation * on elastic.co */ @@ -780,7 +780,7 @@ public BooleanResponse postVotingConfigExclusions() throws IOException, Elastics * composed_of list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -826,7 +826,7 @@ public PutComponentTemplateResponse putComponentTemplate(PutComponentTemplateReq * a function that initializes a builder to create the * {@link PutComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-component-template">Documentation * on elastic.co */ @@ -870,7 +870,7 @@ public final PutComponentTemplateResponse putComponentTemplate( * configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-settings">Documentation * on elastic.co */ @@ -917,7 +917,7 @@ public PutClusterSettingsResponse putSettings(PutClusterSettingsRequest request) * a function that initializes a builder to create the * {@link PutClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-settings">Documentation * on elastic.co */ @@ -959,7 +959,7 @@ public final PutClusterSettingsResponse putSettings( * configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-put-settings">Documentation * on elastic.co */ @@ -990,7 +990,7 @@ public PutClusterSettingsResponse putSettings() throws IOException, Elasticsearc * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-remote-info">Documentation * on elastic.co */ public RemoteInfoResponse remoteInfo() throws IOException, ElasticsearchException { @@ -1032,7 +1032,7 @@ public RemoteInfoResponse remoteInfo() throws IOException, ElasticsearchExceptio * parameter, which will attempt a single retry round for these shards. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-reroute">Documentation * on elastic.co */ @@ -1078,7 +1078,7 @@ public RerouteResponse reroute(RerouteRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link RerouteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-reroute">Documentation * on elastic.co */ @@ -1119,7 +1119,7 @@ public final RerouteResponse reroute(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-reroute">Documentation * on elastic.co */ @@ -1164,7 +1164,7 @@ public RerouteResponse reroute() throws IOException, ElasticsearchException { * using other more stable cluster APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-state">Documentation * on elastic.co */ @@ -1212,7 +1212,7 @@ public StateResponse state(StateRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link StateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-state">Documentation * on elastic.co */ @@ -1255,7 +1255,7 @@ public final StateResponse state(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-state">Documentation * on elastic.co */ @@ -1274,7 +1274,7 @@ public StateResponse state() throws IOException, ElasticsearchException { * jvm versions, memory usage, cpu and installed plugins). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-stats">Documentation * on elastic.co */ @@ -1296,7 +1296,7 @@ public ClusterStatsResponse stats(ClusterStatsRequest request) throws IOExceptio * a function that initializes a builder to create the * {@link ClusterStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-stats">Documentation * on elastic.co */ @@ -1314,7 +1314,7 @@ public final ClusterStatsResponse stats( * jvm versions, memory usage, cpu and installed plugins). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-cluster-stats">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java index 3298fce3dc..f71ad1d3f0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateRequest.java @@ -148,9 +148,13 @@ public static StateRequest of(Function> fn) } /** - * Whether to ignore if a wildcard indices expression resolves into no concrete - * indices. (This includes _all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -180,8 +184,10 @@ public final Boolean flatSettings() { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -307,9 +313,13 @@ private Builder(StateRequest instance) { } /** - * Whether to ignore if a wildcard indices expression resolves into no concrete - * indices. (This includes _all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -355,8 +365,10 @@ public final Builder flatSettings(@Nullable Boolean value) { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/state/ClusterStateMetric.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/state/ClusterStateMetric.java index 80c6b5a0ff..6e414b3f72 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/state/ClusterStateMetric.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/state/ClusterStateMetric.java @@ -46,22 +46,54 @@ */ @JsonpDeserializable public enum ClusterStateMetric implements JsonEnum { + /** + * Shows all metrics. + */ All("_all"), + /** + * Shows the cluster state version. + */ Version("version"), + /** + * Shows the elected master_node part of the response. + */ MasterNode("master_node"), + /** + * Shows the blocks part of the response. + */ Blocks("blocks"), + /** + * Shows the nodes part of the response. + */ Nodes("nodes"), + /** + * Shows the metadata part of the response. If you supply a + * comma-separated list of indices, the returned output will only contain + * metadata for these indices. + */ Metadata("metadata"), + /** + * Shows the routing_table part of the response. If you supply a + * comma-separated list of indices, the returned output will only contain the + * routing table for these indices. + */ RoutingTable("routing_table"), + /** + * Shows the routing_nodes part of the response. + */ RoutingNodes("routing_nodes"), + /** + * Shows the customs part of the response, which includes custom + * cluster state information. + */ Customs("customs"), ; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorAsyncClient.java index 1a39655ed1..d0a66db5f7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorAsyncClient.java @@ -76,7 +76,7 @@ public ElasticsearchConnectorAsyncClient withTransportOptions(@Nullable Transpor * current timestamp. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-check-in">Documentation * on elastic.co */ @@ -97,7 +97,7 @@ public CompletableFuture checkIn(CheckInRequest request) { * a function that initializes a builder to create the * {@link CheckInRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-check-in">Documentation * on elastic.co */ @@ -117,7 +117,7 @@ public final CompletableFuture checkIn( * to be removed manually. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-delete">Documentation * on elastic.co */ @@ -140,7 +140,7 @@ public CompletableFuture delete(DeleteConnectorRequest * a function that initializes a builder to create the * {@link DeleteConnectorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-delete">Documentation * on elastic.co */ @@ -157,7 +157,7 @@ public final CompletableFuture delete( * Get the details about a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-get">Documentation * on elastic.co */ @@ -177,7 +177,7 @@ public CompletableFuture get(GetConnectorRequest request) * a function that initializes a builder to create the * {@link GetConnectorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-get">Documentation * on elastic.co */ @@ -194,7 +194,7 @@ public final CompletableFuture get( * Get information about all connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-list">Documentation * on elastic.co */ @@ -214,7 +214,7 @@ public CompletableFuture list(ListRequest request) { * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-list">Documentation * on elastic.co */ @@ -228,7 +228,7 @@ public final CompletableFuture list(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-list">Documentation * on elastic.co */ @@ -249,7 +249,7 @@ public CompletableFuture list() { * self-managed on your infrastructure. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -273,7 +273,7 @@ public CompletableFuture post(PostRequest request) { * a function that initializes a builder to create the * {@link PostRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -291,7 +291,7 @@ public final CompletableFuture post(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -306,7 +306,7 @@ public CompletableFuture post() { * Create or update a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -324,7 +324,7 @@ public CompletableFuture put(PutRequest request) { * a function that initializes a builder to create the * {@link PutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -336,7 +336,7 @@ public final CompletableFuture put(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -356,7 +356,7 @@ public CompletableFuture put() { * cancelled. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-cancel">Documentation * on elastic.co */ @@ -379,7 +379,7 @@ public CompletableFuture syncJobCancel(SyncJobCancelReque * a function that initializes a builder to create the * {@link SyncJobCancelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-cancel">Documentation * on elastic.co */ @@ -401,7 +401,7 @@ public final CompletableFuture syncJobCancel( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-check-in">Documentation * on elastic.co */ @@ -426,7 +426,7 @@ public CompletableFuture syncJobCheckIn(SyncJobCheckInRe * a function that initializes a builder to create the * {@link SyncJobCheckInRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-check-in">Documentation * on elastic.co */ @@ -454,7 +454,7 @@ public final CompletableFuture syncJobCheckIn( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-claim">Documentation * on elastic.co */ @@ -485,7 +485,7 @@ public CompletableFuture syncJobClaim(SyncJobClaimRequest * a function that initializes a builder to create the * {@link SyncJobClaimRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-claim">Documentation * on elastic.co */ @@ -503,7 +503,7 @@ public final CompletableFuture syncJobClaim( * action that is not recoverable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-delete">Documentation * on elastic.co */ @@ -524,7 +524,7 @@ public CompletableFuture syncJobDelete(SyncJobDeleteReque * a function that initializes a builder to create the * {@link SyncJobDeleteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-delete">Documentation * on elastic.co */ @@ -546,7 +546,7 @@ public final CompletableFuture syncJobDelete( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-error">Documentation * on elastic.co */ @@ -571,7 +571,7 @@ public CompletableFuture syncJobError(SyncJobErrorRequest * a function that initializes a builder to create the * {@link SyncJobErrorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-error">Documentation * on elastic.co */ @@ -586,7 +586,7 @@ public final CompletableFuture syncJobError( * Get a connector sync job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-get">Documentation * on elastic.co */ @@ -604,7 +604,7 @@ public CompletableFuture syncJobGet(SyncJobGetRequest reques * a function that initializes a builder to create the * {@link SyncJobGetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-get">Documentation * on elastic.co */ @@ -622,7 +622,7 @@ public final CompletableFuture syncJobGet( * date in ascending order. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-list">Documentation * on elastic.co */ @@ -643,7 +643,7 @@ public CompletableFuture syncJobList(SyncJobListRequest req * a function that initializes a builder to create the * {@link SyncJobListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-list">Documentation * on elastic.co */ @@ -659,7 +659,7 @@ public final CompletableFuture syncJobList( * date in ascending order. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-list">Documentation * on elastic.co */ @@ -677,7 +677,7 @@ public CompletableFuture syncJobList() { * counters and timestamps with default values. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-post">Documentation * on elastic.co */ @@ -698,7 +698,7 @@ public CompletableFuture syncJobPost(SyncJobPostRequest req * a function that initializes a builder to create the * {@link SyncJobPostRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-post">Documentation * on elastic.co */ @@ -723,7 +723,7 @@ public final CompletableFuture syncJobPost( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-update-stats">Documentation * on elastic.co */ @@ -751,7 +751,7 @@ public CompletableFuture syncJobUpdateStats(SyncJobU * a function that initializes a builder to create the * {@link SyncJobUpdateStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-update-stats">Documentation * on elastic.co */ @@ -768,7 +768,7 @@ public final CompletableFuture syncJobUpdateStats( * Activates the valid draft filtering for a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -789,7 +789,7 @@ public CompletableFuture updateActiveFiltering( * a function that initializes a builder to create the * {@link UpdateActiveFilteringRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -810,7 +810,7 @@ public final CompletableFuture updateActiveFilter * Self-managed connectors (connector clients) do not use this field. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-api-key-id">Documentation * on elastic.co */ @@ -834,7 +834,7 @@ public CompletableFuture updateApiKeyId(UpdateApiKeyIdRe * a function that initializes a builder to create the * {@link UpdateApiKeyIdRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-api-key-id">Documentation * on elastic.co */ @@ -851,7 +851,7 @@ public final CompletableFuture updateApiKeyId( * Update the configuration field in the connector document. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-configuration">Documentation * on elastic.co */ @@ -871,7 +871,7 @@ public CompletableFuture updateConfiguration(Update * a function that initializes a builder to create the * {@link UpdateConfigurationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-configuration">Documentation * on elastic.co */ @@ -890,7 +890,7 @@ public final CompletableFuture updateConfiguration( * the error is reset to null, the connector status is updated to connected. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-error">Documentation * on elastic.co */ @@ -912,7 +912,7 @@ public CompletableFuture updateError(UpdateErrorRequest req * a function that initializes a builder to create the * {@link UpdateErrorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-error">Documentation * on elastic.co */ @@ -943,7 +943,7 @@ public final CompletableFuture updateError( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-features">Documentation * on elastic.co */ @@ -977,7 +977,7 @@ public CompletableFuture updateFeatures(UpdateFeaturesRe * a function that initializes a builder to create the * {@link UpdateFeaturesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-features">Documentation * on elastic.co */ @@ -997,7 +997,7 @@ public final CompletableFuture updateFeatures( * configure sync rules (both basic and advanced) for a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -1020,7 +1020,7 @@ public CompletableFuture updateFiltering(UpdateFilterin * a function that initializes a builder to create the * {@link UpdateFilteringRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -1037,7 +1037,7 @@ public final CompletableFuture updateFiltering( * Update the draft filtering validation info for a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering-validation">Documentation * on elastic.co */ @@ -1058,7 +1058,7 @@ public CompletableFuture updateFilteringValid * a function that initializes a builder to create the * {@link UpdateFilteringValidationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering-validation">Documentation * on elastic.co */ @@ -1076,7 +1076,7 @@ public final CompletableFuture updateFilterin * where the data ingested by the connector is stored. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-index-name">Documentation * on elastic.co */ @@ -1097,7 +1097,7 @@ public CompletableFuture updateIndexName(UpdateIndexNam * a function that initializes a builder to create the * {@link UpdateIndexNameRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-index-name">Documentation * on elastic.co */ @@ -1112,7 +1112,7 @@ public final CompletableFuture updateIndexName( * Update the connector name and description. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-name">Documentation * on elastic.co */ @@ -1130,7 +1130,7 @@ public CompletableFuture updateName(UpdateNameRequest reques * a function that initializes a builder to create the * {@link UpdateNameRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-name">Documentation * on elastic.co */ @@ -1145,7 +1145,7 @@ public final CompletableFuture updateName( * Update the connector is_native flag. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-native">Documentation * on elastic.co */ @@ -1163,7 +1163,7 @@ public CompletableFuture updateNative(UpdateNativeRequest * a function that initializes a builder to create the * {@link UpdateNativeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-native">Documentation * on elastic.co */ @@ -1181,7 +1181,7 @@ public final CompletableFuture updateNative( * populated with default settings. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-pipeline">Documentation * on elastic.co */ @@ -1202,7 +1202,7 @@ public CompletableFuture updatePipeline(UpdatePipelineRe * a function that initializes a builder to create the * {@link UpdatePipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-pipeline">Documentation * on elastic.co */ @@ -1217,7 +1217,7 @@ public final CompletableFuture updatePipeline( * Update the connector scheduling. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-scheduling">Documentation * on elastic.co */ @@ -1235,7 +1235,7 @@ public CompletableFuture updateScheduling(UpdateSchedu * a function that initializes a builder to create the * {@link UpdateSchedulingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-scheduling">Documentation * on elastic.co */ @@ -1250,7 +1250,7 @@ public final CompletableFuture updateScheduling( * Update the connector service type. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-service-type">Documentation * on elastic.co */ @@ -1268,7 +1268,7 @@ public CompletableFuture updateServiceType(UpdateServ * a function that initializes a builder to create the * {@link UpdateServiceTypeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-service-type">Documentation * on elastic.co */ @@ -1283,7 +1283,7 @@ public final CompletableFuture updateServiceType( * Update the connector status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-status">Documentation * on elastic.co */ @@ -1301,7 +1301,7 @@ public CompletableFuture updateStatus(UpdateStatusRequest * a function that initializes a builder to create the * {@link UpdateStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-status">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorClient.java index 0b8a2b8cf9..5147a9fa05 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/connector/ElasticsearchConnectorClient.java @@ -74,7 +74,7 @@ public ElasticsearchConnectorClient withTransportOptions(@Nullable TransportOpti * current timestamp. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-check-in">Documentation * on elastic.co */ @@ -95,7 +95,7 @@ public CheckInResponse checkIn(CheckInRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link CheckInRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-check-in">Documentation * on elastic.co */ @@ -115,7 +115,7 @@ public final CheckInResponse checkIn(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-delete">Documentation * on elastic.co */ @@ -138,7 +138,7 @@ public DeleteConnectorResponse delete(DeleteConnectorRequest request) throws IOE * a function that initializes a builder to create the * {@link DeleteConnectorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-delete">Documentation * on elastic.co */ @@ -156,7 +156,7 @@ public final DeleteConnectorResponse delete( * Get the details about a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-get">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public GetConnectorResponse get(GetConnectorRequest request) throws IOException, * a function that initializes a builder to create the * {@link GetConnectorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-get">Documentation * on elastic.co */ @@ -193,7 +193,7 @@ public final GetConnectorResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-list">Documentation * on elastic.co */ @@ -213,7 +213,7 @@ public ListResponse list(ListRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-list">Documentation * on elastic.co */ @@ -228,7 +228,7 @@ public final ListResponse list(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-list">Documentation * on elastic.co */ @@ -249,7 +249,7 @@ public ListResponse list() throws IOException, ElasticsearchException { * self-managed on your infrastructure. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -273,7 +273,7 @@ public PostResponse post(PostRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link PostRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -292,7 +292,7 @@ public final PostResponse post(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -307,7 +307,7 @@ public PostResponse post() throws IOException, ElasticsearchException { * Create or update a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -325,7 +325,7 @@ public PutResponse put(PutRequest request) throws IOException, ElasticsearchExce * a function that initializes a builder to create the * {@link PutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -338,7 +338,7 @@ public final PutResponse put(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-put">Documentation * on elastic.co */ @@ -358,7 +358,7 @@ public PutResponse put() throws IOException, ElasticsearchException { * cancelled. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-cancel">Documentation * on elastic.co */ @@ -382,7 +382,7 @@ public SyncJobCancelResponse syncJobCancel(SyncJobCancelRequest request) * a function that initializes a builder to create the * {@link SyncJobCancelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-cancel">Documentation * on elastic.co */ @@ -405,7 +405,7 @@ public final SyncJobCancelResponse syncJobCancel( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-check-in">Documentation * on elastic.co */ @@ -431,7 +431,7 @@ public SyncJobCheckInResponse syncJobCheckIn(SyncJobCheckInRequest request) * a function that initializes a builder to create the * {@link SyncJobCheckInRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-check-in">Documentation * on elastic.co */ @@ -460,7 +460,7 @@ public final SyncJobCheckInResponse syncJobCheckIn( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-claim">Documentation * on elastic.co */ @@ -491,7 +491,7 @@ public SyncJobClaimResponse syncJobClaim(SyncJobClaimRequest request) throws IOE * a function that initializes a builder to create the * {@link SyncJobClaimRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-claim">Documentation * on elastic.co */ @@ -510,7 +510,7 @@ public final SyncJobClaimResponse syncJobClaim( * action that is not recoverable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-delete">Documentation * on elastic.co */ @@ -532,7 +532,7 @@ public SyncJobDeleteResponse syncJobDelete(SyncJobDeleteRequest request) * a function that initializes a builder to create the * {@link SyncJobDeleteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-delete">Documentation * on elastic.co */ @@ -555,7 +555,7 @@ public final SyncJobDeleteResponse syncJobDelete( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-error">Documentation * on elastic.co */ @@ -580,7 +580,7 @@ public SyncJobErrorResponse syncJobError(SyncJobErrorRequest request) throws IOE * a function that initializes a builder to create the * {@link SyncJobErrorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-error">Documentation * on elastic.co */ @@ -596,7 +596,7 @@ public final SyncJobErrorResponse syncJobError( * Get a connector sync job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-get">Documentation * on elastic.co */ @@ -614,7 +614,7 @@ public SyncJobGetResponse syncJobGet(SyncJobGetRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link SyncJobGetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-get">Documentation * on elastic.co */ @@ -632,7 +632,7 @@ public final SyncJobGetResponse syncJobGet(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-list">Documentation * on elastic.co */ @@ -653,7 +653,7 @@ public SyncJobListResponse syncJobList(SyncJobListRequest request) throws IOExce * a function that initializes a builder to create the * {@link SyncJobListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-list">Documentation * on elastic.co */ @@ -670,7 +670,7 @@ public final SyncJobListResponse syncJobList( * date in ascending order. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-list">Documentation * on elastic.co */ @@ -688,7 +688,7 @@ public SyncJobListResponse syncJobList() throws IOException, ElasticsearchExcept * counters and timestamps with default values. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-post">Documentation * on elastic.co */ @@ -709,7 +709,7 @@ public SyncJobPostResponse syncJobPost(SyncJobPostRequest request) throws IOExce * a function that initializes a builder to create the * {@link SyncJobPostRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-post">Documentation * on elastic.co */ @@ -735,7 +735,7 @@ public final SyncJobPostResponse syncJobPost( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-update-stats">Documentation * on elastic.co */ @@ -764,7 +764,7 @@ public SyncJobUpdateStatsResponse syncJobUpdateStats(SyncJobUpdateStatsRequest r * a function that initializes a builder to create the * {@link SyncJobUpdateStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-sync-job-update-stats">Documentation * on elastic.co */ @@ -782,7 +782,7 @@ public final SyncJobUpdateStatsResponse syncJobUpdateStats( * Activates the valid draft filtering for a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -803,7 +803,7 @@ public UpdateActiveFilteringResponse updateActiveFiltering(UpdateActiveFiltering * a function that initializes a builder to create the * {@link UpdateActiveFilteringRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -825,7 +825,7 @@ public final UpdateActiveFilteringResponse updateActiveFiltering( * Self-managed connectors (connector clients) do not use this field. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-api-key-id">Documentation * on elastic.co */ @@ -850,7 +850,7 @@ public UpdateApiKeyIdResponse updateApiKeyId(UpdateApiKeyIdRequest request) * a function that initializes a builder to create the * {@link UpdateApiKeyIdRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-api-key-id">Documentation * on elastic.co */ @@ -868,7 +868,7 @@ public final UpdateApiKeyIdResponse updateApiKeyId( * Update the configuration field in the connector document. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-configuration">Documentation * on elastic.co */ @@ -889,7 +889,7 @@ public UpdateConfigurationResponse updateConfiguration(UpdateConfigurationReques * a function that initializes a builder to create the * {@link UpdateConfigurationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-configuration">Documentation * on elastic.co */ @@ -909,7 +909,7 @@ public final UpdateConfigurationResponse updateConfiguration( * the error is reset to null, the connector status is updated to connected. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-error">Documentation * on elastic.co */ @@ -931,7 +931,7 @@ public UpdateErrorResponse updateError(UpdateErrorRequest request) throws IOExce * a function that initializes a builder to create the * {@link UpdateErrorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-error">Documentation * on elastic.co */ @@ -963,7 +963,7 @@ public final UpdateErrorResponse updateError( * on Elastic Cloud for Elastic managed connectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-features">Documentation * on elastic.co */ @@ -998,7 +998,7 @@ public UpdateFeaturesResponse updateFeatures(UpdateFeaturesRequest request) * a function that initializes a builder to create the * {@link UpdateFeaturesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-features">Documentation * on elastic.co */ @@ -1019,7 +1019,7 @@ public final UpdateFeaturesResponse updateFeatures( * configure sync rules (both basic and advanced) for a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -1043,7 +1043,7 @@ public UpdateFilteringResponse updateFiltering(UpdateFilteringRequest request) * a function that initializes a builder to create the * {@link UpdateFilteringRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering">Documentation * on elastic.co */ @@ -1061,7 +1061,7 @@ public final UpdateFilteringResponse updateFiltering( * Update the draft filtering validation info for a connector. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering-validation">Documentation * on elastic.co */ @@ -1082,7 +1082,7 @@ public UpdateFilteringValidationResponse updateFilteringValidation(UpdateFilteri * a function that initializes a builder to create the * {@link UpdateFilteringValidationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-filtering-validation">Documentation * on elastic.co */ @@ -1101,7 +1101,7 @@ public final UpdateFilteringValidationResponse updateFilteringValidation( * where the data ingested by the connector is stored. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-index-name">Documentation * on elastic.co */ @@ -1123,7 +1123,7 @@ public UpdateIndexNameResponse updateIndexName(UpdateIndexNameRequest request) * a function that initializes a builder to create the * {@link UpdateIndexNameRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-index-name">Documentation * on elastic.co */ @@ -1139,7 +1139,7 @@ public final UpdateIndexNameResponse updateIndexName( * Update the connector name and description. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-name">Documentation * on elastic.co */ @@ -1157,7 +1157,7 @@ public UpdateNameResponse updateName(UpdateNameRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link UpdateNameRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-name">Documentation * on elastic.co */ @@ -1172,7 +1172,7 @@ public final UpdateNameResponse updateName(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-native">Documentation * on elastic.co */ @@ -1190,7 +1190,7 @@ public UpdateNativeResponse updateNative(UpdateNativeRequest request) throws IOE * a function that initializes a builder to create the * {@link UpdateNativeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-native">Documentation * on elastic.co */ @@ -1209,7 +1209,7 @@ public final UpdateNativeResponse updateNative( * populated with default settings. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-pipeline">Documentation * on elastic.co */ @@ -1231,7 +1231,7 @@ public UpdatePipelineResponse updatePipeline(UpdatePipelineRequest request) * a function that initializes a builder to create the * {@link UpdatePipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-pipeline">Documentation * on elastic.co */ @@ -1247,7 +1247,7 @@ public final UpdatePipelineResponse updatePipeline( * Update the connector scheduling. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-scheduling">Documentation * on elastic.co */ @@ -1266,7 +1266,7 @@ public UpdateSchedulingResponse updateScheduling(UpdateSchedulingRequest request * a function that initializes a builder to create the * {@link UpdateSchedulingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-scheduling">Documentation * on elastic.co */ @@ -1282,7 +1282,7 @@ public final UpdateSchedulingResponse updateScheduling( * Update the connector service type. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-service-type">Documentation * on elastic.co */ @@ -1301,7 +1301,7 @@ public UpdateServiceTypeResponse updateServiceType(UpdateServiceTypeRequest requ * a function that initializes a builder to create the * {@link UpdateServiceTypeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-service-type">Documentation * on elastic.co */ @@ -1317,7 +1317,7 @@ public final UpdateServiceTypeResponse updateServiceType( * Update the connector status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-status">Documentation * on elastic.co */ @@ -1335,7 +1335,7 @@ public UpdateStatusResponse updateStatus(UpdateStatusRequest request) throws IOE * a function that initializes a builder to create the * {@link UpdateStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-connector-update-status">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexRequest.java new file mode 100644 index 0000000000..27864d250e --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexRequest.java @@ -0,0 +1,236 @@ +/* + * 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 co.elastic.clients.elasticsearch.core; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.RequestBase; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _global.cancel_reindex.Request + +/** + * Cancel a reindex task. + *

+ * Cancel an ongoing reindex task. If wait_for_completion is + * true (the default), the response contains the final task state + * after cancellation. If wait_for_completion is + * false, the response contains only + * acknowledged: true. + * + * @see API + * specification + */ + +public class CancelReindexRequest extends RequestBase { + private final String taskId; + + @Nullable + private final Boolean waitForCompletion; + + // --------------------------------------------------------------------------------------------- + + private CancelReindexRequest(Builder builder) { + + this.taskId = ApiTypeHelper.requireNonNull(builder.taskId, this, "taskId"); + this.waitForCompletion = builder.waitForCompletion; + + } + + public static CancelReindexRequest of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - The ID of the reindex task to cancel. + *

+ * API name: {@code task_id} + */ + public final String taskId() { + return this.taskId; + } + + /** + * If true (the default), the request blocks until the cancellation + * is complete and returns the final task state. If false, the + * request returns immediately with acknowledged: true. + *

+ * API name: {@code wait_for_completion} + */ + @Nullable + public final Boolean waitForCompletion() { + return this.waitForCompletion; + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link CancelReindexRequest}. + */ + + public static class Builder extends RequestBase.AbstractBuilder + implements + ObjectBuilder { + private String taskId; + + @Nullable + private Boolean waitForCompletion; + + public Builder() { + } + private Builder(CancelReindexRequest instance) { + this.taskId = instance.taskId; + this.waitForCompletion = instance.waitForCompletion; + + } + /** + * Required - The ID of the reindex task to cancel. + *

+ * API name: {@code task_id} + */ + public final Builder taskId(String value) { + this.taskId = value; + return this; + } + + /** + * If true (the default), the request blocks until the cancellation + * is complete and returns the final task state. If false, the + * request returns immediately with acknowledged: true. + *

+ * API name: {@code wait_for_completion} + */ + public final Builder waitForCompletion(@Nullable Boolean value) { + this.waitForCompletion = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link CancelReindexRequest}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public CancelReindexRequest build() { + _checkSingleUse(); + + return new CancelReindexRequest(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code cancel_reindex}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/cancel_reindex", + + // Request method + request -> { + return "POST"; + + }, + + // Request path + request -> { + final int _taskId = 1 << 0; + + int propsSet = 0; + + propsSet |= _taskId; + + if (propsSet == (_taskId)) { + StringBuilder buf = new StringBuilder(); + buf.append("/_reindex"); + buf.append("/"); + SimpleEndpoint.pathEncode(request.taskId, buf); + buf.append("/_cancel"); + return buf.toString(); + } + throw SimpleEndpoint.noPathTemplateFound("path"); + + }, + + // Path parameters + request -> { + Map params = new HashMap<>(); + final int _taskId = 1 << 0; + + int propsSet = 0; + + propsSet |= _taskId; + + if (propsSet == (_taskId)) { + params.put("taskId", request.taskId); + } + return params; + }, + + // Request parameters + request -> { + Map params = new HashMap<>(); + if (request.waitForCompletion != null) { + params.put("wait_for_completion", String.valueOf(request.waitForCompletion)); + } + return params; + + }, SimpleEndpoint.emptyMap(), false, CancelReindexResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexResponse.java new file mode 100644 index 0000000000..c4eb796372 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CancelReindexResponse.java @@ -0,0 +1,584 @@ +/* + * 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 co.elastic.clients.elasticsearch.core; + +import co.elastic.clients.elasticsearch._types.ErrorCause; +import co.elastic.clients.elasticsearch._types.ReindexStatus; +import co.elastic.clients.elasticsearch._types.ReindexTaskResult; +import co.elastic.clients.elasticsearch._types.Time; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _global.cancel_reindex.Response + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class CancelReindexResponse implements JsonpSerializable { + @Nullable + private final Boolean acknowledged; + + @Nullable + private final Boolean completed; + + @Nullable + private final String id; + + @Nullable + private final String description; + + @Nullable + private final Long startTimeInMillis; + + @Nullable + private final String startTime; + + @Nullable + private final Time runningTime; + + @Nullable + private final Long runningTimeInNanos; + + @Nullable + private final Boolean cancelled; + + @Nullable + private final ReindexStatus status; + + @Nullable + private final ErrorCause error; + + @Nullable + private final ReindexTaskResult response; + + // --------------------------------------------------------------------------------------------- + + private CancelReindexResponse(Builder builder) { + + this.acknowledged = builder.acknowledged; + this.completed = builder.completed; + this.id = builder.id; + this.description = builder.description; + this.startTimeInMillis = builder.startTimeInMillis; + this.startTime = builder.startTime; + this.runningTime = builder.runningTime; + this.runningTimeInNanos = builder.runningTimeInNanos; + this.cancelled = builder.cancelled; + this.status = builder.status; + this.error = builder.error; + this.response = builder.response; + + } + + public static CancelReindexResponse of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Present and true when wait_for_completion=false. + *

+ * API name: {@code acknowledged} + */ + @Nullable + public final Boolean acknowledged() { + return this.acknowledged; + } + + /** + * Whether the reindex task has completed. Present when + * wait_for_completion=true. + *

+ * API name: {@code completed} + */ + @Nullable + public final Boolean completed() { + return this.completed; + } + + /** + * The ID of the reindex task, in nodeId:taskNum format. Present + * when wait_for_completion=true. + *

+ * API name: {@code id} + */ + @Nullable + public final String id() { + return this.id; + } + + /** + * A sanitized description of the reindex operation. + *

+ * API name: {@code description} + */ + @Nullable + public final String description() { + return this.description; + } + + /** + * The time at which the reindex task started, in milliseconds since the Unix + * epoch. + *

+ * API name: {@code start_time_in_millis} + */ + @Nullable + public final Long startTimeInMillis() { + return this.startTimeInMillis; + } + + /** + * The time at which the reindex task started, as an ISO 8601 formatted string. + *

+ * API name: {@code start_time} + */ + @Nullable + public final String startTime() { + return this.startTime; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + @Nullable + public final Time runningTime() { + return this.runningTime; + } + + /** + * The elapsed running time of the reindex task, in nanoseconds. + *

+ * API name: {@code running_time_in_nanos} + */ + @Nullable + public final Long runningTimeInNanos() { + return this.runningTimeInNanos; + } + + /** + * Whether the reindex task has been cancelled. + *

+ * API name: {@code cancelled} + */ + @Nullable + public final Boolean cancelled() { + return this.cancelled; + } + + /** + * The status of the reindex operation at the time of cancellation. + *

+ * API name: {@code status} + */ + @Nullable + public final ReindexStatus status() { + return this.status; + } + + /** + * The error that caused the reindex task to fail, if any. + *

+ * API name: {@code error} + */ + @Nullable + public final ErrorCause error() { + return this.error; + } + + /** + * The final result of the reindex operation, if it completed before being + * cancelled. + *

+ * API name: {@code response} + */ + @Nullable + public final ReindexTaskResult response() { + return this.response; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (this.acknowledged != null) { + generator.writeKey("acknowledged"); + generator.write(this.acknowledged); + + } + if (this.completed != null) { + generator.writeKey("completed"); + generator.write(this.completed); + + } + if (this.id != null) { + generator.writeKey("id"); + generator.write(this.id); + + } + if (this.description != null) { + generator.writeKey("description"); + generator.write(this.description); + + } + if (this.startTimeInMillis != null) { + generator.writeKey("start_time_in_millis"); + generator.write(this.startTimeInMillis); + + } + if (this.startTime != null) { + generator.writeKey("start_time"); + generator.write(this.startTime); + + } + if (this.runningTime != null) { + generator.writeKey("running_time"); + this.runningTime.serialize(generator, mapper); + + } + if (this.runningTimeInNanos != null) { + generator.writeKey("running_time_in_nanos"); + generator.write(this.runningTimeInNanos); + + } + if (this.cancelled != null) { + generator.writeKey("cancelled"); + generator.write(this.cancelled); + + } + if (this.status != null) { + generator.writeKey("status"); + this.status.serialize(generator, mapper); + + } + if (this.error != null) { + generator.writeKey("error"); + this.error.serialize(generator, mapper); + + } + if (this.response != null) { + generator.writeKey("response"); + this.response.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link CancelReindexResponse}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + @Nullable + private Boolean acknowledged; + + @Nullable + private Boolean completed; + + @Nullable + private String id; + + @Nullable + private String description; + + @Nullable + private Long startTimeInMillis; + + @Nullable + private String startTime; + + @Nullable + private Time runningTime; + + @Nullable + private Long runningTimeInNanos; + + @Nullable + private Boolean cancelled; + + @Nullable + private ReindexStatus status; + + @Nullable + private ErrorCause error; + + @Nullable + private ReindexTaskResult response; + + /** + * Present and true when wait_for_completion=false. + *

+ * API name: {@code acknowledged} + */ + public final Builder acknowledged(@Nullable Boolean value) { + this.acknowledged = value; + return this; + } + + /** + * Whether the reindex task has completed. Present when + * wait_for_completion=true. + *

+ * API name: {@code completed} + */ + public final Builder completed(@Nullable Boolean value) { + this.completed = value; + return this; + } + + /** + * The ID of the reindex task, in nodeId:taskNum format. Present + * when wait_for_completion=true. + *

+ * API name: {@code id} + */ + public final Builder id(@Nullable String value) { + this.id = value; + return this; + } + + /** + * A sanitized description of the reindex operation. + *

+ * API name: {@code description} + */ + public final Builder description(@Nullable String value) { + this.description = value; + return this; + } + + /** + * The time at which the reindex task started, in milliseconds since the Unix + * epoch. + *

+ * API name: {@code start_time_in_millis} + */ + public final Builder startTimeInMillis(@Nullable Long value) { + this.startTimeInMillis = value; + return this; + } + + /** + * The time at which the reindex task started, as an ISO 8601 formatted string. + *

+ * API name: {@code start_time} + */ + public final Builder startTime(@Nullable String value) { + this.startTime = value; + return this; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + public final Builder runningTime(@Nullable Time value) { + this.runningTime = value; + return this; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + public final Builder runningTime(Function> fn) { + return this.runningTime(fn.apply(new Time.Builder()).build()); + } + + /** + * The elapsed running time of the reindex task, in nanoseconds. + *

+ * API name: {@code running_time_in_nanos} + */ + public final Builder runningTimeInNanos(@Nullable Long value) { + this.runningTimeInNanos = value; + return this; + } + + /** + * Whether the reindex task has been cancelled. + *

+ * API name: {@code cancelled} + */ + public final Builder cancelled(@Nullable Boolean value) { + this.cancelled = value; + return this; + } + + /** + * The status of the reindex operation at the time of cancellation. + *

+ * API name: {@code status} + */ + public final Builder status(@Nullable ReindexStatus value) { + this.status = value; + return this; + } + + /** + * The status of the reindex operation at the time of cancellation. + *

+ * API name: {@code status} + */ + public final Builder status(Function> fn) { + return this.status(fn.apply(new ReindexStatus.Builder()).build()); + } + + /** + * The error that caused the reindex task to fail, if any. + *

+ * API name: {@code error} + */ + public final Builder error(@Nullable ErrorCause value) { + this.error = value; + return this; + } + + /** + * The error that caused the reindex task to fail, if any. + *

+ * API name: {@code error} + */ + public final Builder error(Function> fn) { + return this.error(fn.apply(new ErrorCause.Builder()).build()); + } + + /** + * The final result of the reindex operation, if it completed before being + * cancelled. + *

+ * API name: {@code response} + */ + public final Builder response(@Nullable ReindexTaskResult value) { + this.response = value; + return this; + } + + /** + * The final result of the reindex operation, if it completed before being + * cancelled. + *

+ * API name: {@code response} + */ + public final Builder response(Function> fn) { + return this.response(fn.apply(new ReindexTaskResult.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link CancelReindexResponse}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public CancelReindexResponse build() { + _checkSingleUse(); + + return new CancelReindexResponse(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link CancelReindexResponse} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, CancelReindexResponse::setupCancelReindexResponseDeserializer); + + protected static void setupCancelReindexResponseDeserializer(ObjectDeserializer op) { + + op.add(Builder::acknowledged, JsonpDeserializer.booleanDeserializer(), "acknowledged"); + op.add(Builder::completed, JsonpDeserializer.booleanDeserializer(), "completed"); + op.add(Builder::id, JsonpDeserializer.stringDeserializer(), "id"); + op.add(Builder::description, JsonpDeserializer.stringDeserializer(), "description"); + op.add(Builder::startTimeInMillis, JsonpDeserializer.longDeserializer(), "start_time_in_millis"); + op.add(Builder::startTime, JsonpDeserializer.stringDeserializer(), "start_time"); + op.add(Builder::runningTime, Time._DESERIALIZER, "running_time"); + op.add(Builder::runningTimeInNanos, JsonpDeserializer.longDeserializer(), "running_time_in_nanos"); + op.add(Builder::cancelled, JsonpDeserializer.booleanDeserializer(), "cancelled"); + op.add(Builder::status, ReindexStatus._DESERIALIZER, "status"); + op.add(Builder::error, ErrorCause._DESERIALIZER, "error"); + op.add(Builder::response, ReindexTaskResult._DESERIALIZER, "response"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountRequest.java index 178007bd4c..4f8aeb6a78 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountRequest.java @@ -164,12 +164,13 @@ public static CountRequest of(Function> fn) } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -252,8 +253,10 @@ public final Boolean ignoreThrottled() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -473,12 +476,13 @@ private Builder(CountRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -579,8 +583,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryRequest.java index fdcb5fe3b7..bd771e8d84 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryRequest.java @@ -344,12 +344,13 @@ public static DeleteByQueryRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -439,8 +440,10 @@ public final Long from() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -885,12 +888,13 @@ private Builder(DeleteByQueryRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -998,8 +1002,10 @@ public final Builder from(@Nullable Long value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java index 4a83f3d6d6..26d7614956 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java @@ -132,11 +132,13 @@ public static FieldCapsRequest of(Function_all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -177,8 +179,10 @@ public final List filters() { } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -381,11 +385,13 @@ private Builder(FieldCapsRequest instance) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -475,8 +481,10 @@ public final Builder filters(String value, String... values) { } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexRequest.java new file mode 100644 index 0000000000..511e2e56fe --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexRequest.java @@ -0,0 +1,273 @@ +/* + * 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 co.elastic.clients.elasticsearch.core; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.RequestBase; +import co.elastic.clients.elasticsearch._types.Time; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.lang.String; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _global.get_reindex.Request + +/** + * Get a reindex task. + *

+ * Get the status and progress of a specific reindex task. + * + * @see API + * specification + */ + +public class GetReindexRequest extends RequestBase { + private final String taskId; + + @Nullable + private final Time timeout; + + @Nullable + private final Boolean waitForCompletion; + + // --------------------------------------------------------------------------------------------- + + private GetReindexRequest(Builder builder) { + + this.taskId = ApiTypeHelper.requireNonNull(builder.taskId, this, "taskId"); + this.timeout = builder.timeout; + this.waitForCompletion = builder.waitForCompletion; + + } + + public static GetReindexRequest of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - The ID of the reindex task to retrieve. + *

+ * API name: {@code task_id} + */ + public final String taskId() { + return this.taskId; + } + + /** + * The period to wait for the reindex task to complete when + * wait_for_completion is true. + *

+ * API name: {@code timeout} + */ + @Nullable + public final Time timeout() { + return this.timeout; + } + + /** + * If true, the request blocks until the reindex task completes, + * then returns the result. + *

+ * API name: {@code wait_for_completion} + */ + @Nullable + public final Boolean waitForCompletion() { + return this.waitForCompletion; + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link GetReindexRequest}. + */ + + public static class Builder extends RequestBase.AbstractBuilder + implements + ObjectBuilder { + private String taskId; + + @Nullable + private Time timeout; + + @Nullable + private Boolean waitForCompletion; + + public Builder() { + } + private Builder(GetReindexRequest instance) { + this.taskId = instance.taskId; + this.timeout = instance.timeout; + this.waitForCompletion = instance.waitForCompletion; + + } + /** + * Required - The ID of the reindex task to retrieve. + *

+ * API name: {@code task_id} + */ + public final Builder taskId(String value) { + this.taskId = value; + return this; + } + + /** + * The period to wait for the reindex task to complete when + * wait_for_completion is true. + *

+ * API name: {@code timeout} + */ + public final Builder timeout(@Nullable Time value) { + this.timeout = value; + return this; + } + + /** + * The period to wait for the reindex task to complete when + * wait_for_completion is true. + *

+ * API name: {@code timeout} + */ + public final Builder timeout(Function> fn) { + return this.timeout(fn.apply(new Time.Builder()).build()); + } + + /** + * If true, the request blocks until the reindex task completes, + * then returns the result. + *

+ * API name: {@code wait_for_completion} + */ + public final Builder waitForCompletion(@Nullable Boolean value) { + this.waitForCompletion = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link GetReindexRequest}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public GetReindexRequest build() { + _checkSingleUse(); + + return new GetReindexRequest(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code get_reindex}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/get_reindex", + + // Request method + request -> { + return "GET"; + + }, + + // Request path + request -> { + final int _taskId = 1 << 0; + + int propsSet = 0; + + propsSet |= _taskId; + + if (propsSet == (_taskId)) { + StringBuilder buf = new StringBuilder(); + buf.append("/_reindex"); + buf.append("/"); + SimpleEndpoint.pathEncode(request.taskId, buf); + return buf.toString(); + } + throw SimpleEndpoint.noPathTemplateFound("path"); + + }, + + // Path parameters + request -> { + Map params = new HashMap<>(); + final int _taskId = 1 << 0; + + int propsSet = 0; + + propsSet |= _taskId; + + if (propsSet == (_taskId)) { + params.put("taskId", request.taskId); + } + return params; + }, + + // Request parameters + request -> { + Map params = new HashMap<>(); + if (request.waitForCompletion != null) { + params.put("wait_for_completion", String.valueOf(request.waitForCompletion)); + } + if (request.timeout != null) { + params.put("timeout", request.timeout._toJsonString()); + } + return params; + + }, SimpleEndpoint.emptyMap(), false, GetReindexResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexResponse.java new file mode 100644 index 0000000000..7612a057f8 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetReindexResponse.java @@ -0,0 +1,530 @@ +/* + * 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 co.elastic.clients.elasticsearch.core; + +import co.elastic.clients.elasticsearch._types.ErrorCause; +import co.elastic.clients.elasticsearch._types.ReindexStatus; +import co.elastic.clients.elasticsearch._types.ReindexTaskResult; +import co.elastic.clients.elasticsearch._types.Time; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.lang.Long; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _global.get_reindex.Response + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class GetReindexResponse implements JsonpSerializable { + private final boolean completed; + + private final String id; + + @Nullable + private final String description; + + private final long startTimeInMillis; + + @Nullable + private final String startTime; + + @Nullable + private final Time runningTime; + + private final long runningTimeInNanos; + + private final boolean cancelled; + + @Nullable + private final ReindexStatus status; + + @Nullable + private final ErrorCause error; + + @Nullable + private final ReindexTaskResult response; + + // --------------------------------------------------------------------------------------------- + + private GetReindexResponse(Builder builder) { + + this.completed = ApiTypeHelper.requireNonNull(builder.completed, this, "completed", false); + this.id = ApiTypeHelper.requireNonNull(builder.id, this, "id"); + this.description = builder.description; + this.startTimeInMillis = ApiTypeHelper.requireNonNull(builder.startTimeInMillis, this, "startTimeInMillis", 0); + this.startTime = builder.startTime; + this.runningTime = builder.runningTime; + this.runningTimeInNanos = ApiTypeHelper.requireNonNull(builder.runningTimeInNanos, this, "runningTimeInNanos", + 0); + this.cancelled = ApiTypeHelper.requireNonNull(builder.cancelled, this, "cancelled", false); + this.status = builder.status; + this.error = builder.error; + this.response = builder.response; + + } + + public static GetReindexResponse of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - Whether the reindex task has completed. + *

+ * API name: {@code completed} + */ + public final boolean completed() { + return this.completed; + } + + /** + * Required - The ID of the reindex task, in nodeId:taskNum format. + *

+ * API name: {@code id} + */ + public final String id() { + return this.id; + } + + /** + * A sanitized description of the reindex operation (source and destination + * indices, and optionally remote host info). + *

+ * API name: {@code description} + */ + @Nullable + public final String description() { + return this.description; + } + + /** + * Required - The time at which the reindex task started, in milliseconds since + * the Unix epoch. + *

+ * API name: {@code start_time_in_millis} + */ + public final long startTimeInMillis() { + return this.startTimeInMillis; + } + + /** + * The time at which the reindex task started, as an ISO 8601 formatted string. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code start_time} + */ + @Nullable + public final String startTime() { + return this.startTime; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + @Nullable + public final Time runningTime() { + return this.runningTime; + } + + /** + * Required - The elapsed running time of the reindex task, in nanoseconds. + *

+ * API name: {@code running_time_in_nanos} + */ + public final long runningTimeInNanos() { + return this.runningTimeInNanos; + } + + /** + * Required - Whether the reindex task has been cancelled. + *

+ * API name: {@code cancelled} + */ + public final boolean cancelled() { + return this.cancelled; + } + + /** + * The current progress of the reindex operation. + *

+ * API name: {@code status} + */ + @Nullable + public final ReindexStatus status() { + return this.status; + } + + /** + * The error that caused the reindex task to fail, if any. + *

+ * API name: {@code error} + */ + @Nullable + public final ErrorCause error() { + return this.error; + } + + /** + * The final result of the completed reindex operation, if the task has finished + * successfully. + *

+ * API name: {@code response} + */ + @Nullable + public final ReindexTaskResult response() { + return this.response; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + generator.writeKey("completed"); + generator.write(this.completed); + + generator.writeKey("id"); + generator.write(this.id); + + if (this.description != null) { + generator.writeKey("description"); + generator.write(this.description); + + } + generator.writeKey("start_time_in_millis"); + generator.write(this.startTimeInMillis); + + if (this.startTime != null) { + generator.writeKey("start_time"); + generator.write(this.startTime); + + } + if (this.runningTime != null) { + generator.writeKey("running_time"); + this.runningTime.serialize(generator, mapper); + + } + generator.writeKey("running_time_in_nanos"); + generator.write(this.runningTimeInNanos); + + generator.writeKey("cancelled"); + generator.write(this.cancelled); + + if (this.status != null) { + generator.writeKey("status"); + this.status.serialize(generator, mapper); + + } + if (this.error != null) { + generator.writeKey("error"); + this.error.serialize(generator, mapper); + + } + if (this.response != null) { + generator.writeKey("response"); + this.response.serialize(generator, mapper); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link GetReindexResponse}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + private Boolean completed; + + private String id; + + @Nullable + private String description; + + private Long startTimeInMillis; + + @Nullable + private String startTime; + + @Nullable + private Time runningTime; + + private Long runningTimeInNanos; + + private Boolean cancelled; + + @Nullable + private ReindexStatus status; + + @Nullable + private ErrorCause error; + + @Nullable + private ReindexTaskResult response; + + /** + * Required - Whether the reindex task has completed. + *

+ * API name: {@code completed} + */ + public final Builder completed(boolean value) { + this.completed = value; + return this; + } + + /** + * Required - The ID of the reindex task, in nodeId:taskNum format. + *

+ * API name: {@code id} + */ + public final Builder id(String value) { + this.id = value; + return this; + } + + /** + * A sanitized description of the reindex operation (source and destination + * indices, and optionally remote host info). + *

+ * API name: {@code description} + */ + public final Builder description(@Nullable String value) { + this.description = value; + return this; + } + + /** + * Required - The time at which the reindex task started, in milliseconds since + * the Unix epoch. + *

+ * API name: {@code start_time_in_millis} + */ + public final Builder startTimeInMillis(long value) { + this.startTimeInMillis = value; + return this; + } + + /** + * The time at which the reindex task started, as an ISO 8601 formatted string. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code start_time} + */ + public final Builder startTime(@Nullable String value) { + this.startTime = value; + return this; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + public final Builder runningTime(@Nullable Time value) { + this.runningTime = value; + return this; + } + + /** + * The elapsed running time of the reindex task, in a human-readable format. + * Only present when the request includes the ?human=true query + * parameter. + *

+ * API name: {@code running_time} + */ + public final Builder runningTime(Function> fn) { + return this.runningTime(fn.apply(new Time.Builder()).build()); + } + + /** + * Required - The elapsed running time of the reindex task, in nanoseconds. + *

+ * API name: {@code running_time_in_nanos} + */ + public final Builder runningTimeInNanos(long value) { + this.runningTimeInNanos = value; + return this; + } + + /** + * Required - Whether the reindex task has been cancelled. + *

+ * API name: {@code cancelled} + */ + public final Builder cancelled(boolean value) { + this.cancelled = value; + return this; + } + + /** + * The current progress of the reindex operation. + *

+ * API name: {@code status} + */ + public final Builder status(@Nullable ReindexStatus value) { + this.status = value; + return this; + } + + /** + * The current progress of the reindex operation. + *

+ * API name: {@code status} + */ + public final Builder status(Function> fn) { + return this.status(fn.apply(new ReindexStatus.Builder()).build()); + } + + /** + * The error that caused the reindex task to fail, if any. + *

+ * API name: {@code error} + */ + public final Builder error(@Nullable ErrorCause value) { + this.error = value; + return this; + } + + /** + * The error that caused the reindex task to fail, if any. + *

+ * API name: {@code error} + */ + public final Builder error(Function> fn) { + return this.error(fn.apply(new ErrorCause.Builder()).build()); + } + + /** + * The final result of the completed reindex operation, if the task has finished + * successfully. + *

+ * API name: {@code response} + */ + public final Builder response(@Nullable ReindexTaskResult value) { + this.response = value; + return this; + } + + /** + * The final result of the completed reindex operation, if the task has finished + * successfully. + *

+ * API name: {@code response} + */ + public final Builder response(Function> fn) { + return this.response(fn.apply(new ReindexTaskResult.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link GetReindexResponse}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public GetReindexResponse build() { + _checkSingleUse(); + + return new GetReindexResponse(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link GetReindexResponse} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, GetReindexResponse::setupGetReindexResponseDeserializer); + + protected static void setupGetReindexResponseDeserializer(ObjectDeserializer op) { + + op.add(Builder::completed, JsonpDeserializer.booleanDeserializer(), "completed"); + op.add(Builder::id, JsonpDeserializer.stringDeserializer(), "id"); + op.add(Builder::description, JsonpDeserializer.stringDeserializer(), "description"); + op.add(Builder::startTimeInMillis, JsonpDeserializer.longDeserializer(), "start_time_in_millis"); + op.add(Builder::startTime, JsonpDeserializer.stringDeserializer(), "start_time"); + op.add(Builder::runningTime, Time._DESERIALIZER, "running_time"); + op.add(Builder::runningTimeInNanos, JsonpDeserializer.longDeserializer(), "running_time_in_nanos"); + op.add(Builder::cancelled, JsonpDeserializer.booleanDeserializer(), "cancelled"); + op.add(Builder::status, ReindexStatus._DESERIALIZER, "status"); + op.add(Builder::error, ErrorCause._DESERIALIZER, "error"); + op.add(Builder::response, ReindexTaskResult._DESERIALIZER, "response"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexRequest.java new file mode 100644 index 0000000000..939619c84a --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexRequest.java @@ -0,0 +1,180 @@ +/* + * 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 co.elastic.clients.elasticsearch.core; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.RequestBase; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.Boolean; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _global.list_reindex.Request + +/** + * List active reindex tasks. + *

+ * Get information about all currently running reindex tasks. + * + * @see API + * specification + */ + +public class ListReindexRequest extends RequestBase { + @Nullable + private final Boolean detailed; + + // --------------------------------------------------------------------------------------------- + + private ListReindexRequest(Builder builder) { + + this.detailed = builder.detailed; + + } + + public static ListReindexRequest of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * If true, include detailed task status information in the + * response. + *

+ * API name: {@code detailed} + */ + @Nullable + public final Boolean detailed() { + return this.detailed; + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link ListReindexRequest}. + */ + + public static class Builder extends RequestBase.AbstractBuilder + implements + ObjectBuilder { + @Nullable + private Boolean detailed; + + public Builder() { + } + private Builder(ListReindexRequest instance) { + this.detailed = instance.detailed; + + } + /** + * If true, include detailed task status information in the + * response. + *

+ * API name: {@code detailed} + */ + public final Builder detailed(@Nullable Boolean value) { + this.detailed = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link ListReindexRequest}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public ListReindexRequest build() { + _checkSingleUse(); + + return new ListReindexRequest(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code list_reindex}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/list_reindex", + + // Request method + request -> { + return "GET"; + + }, + + // Request path + request -> { + return "/_reindex"; + + }, + + // Path parameters + request -> { + return Collections.emptyMap(); + }, + + // Request parameters + request -> { + Map params = new HashMap<>(); + if (request.detailed != null) { + params.put("detailed", String.valueOf(request.detailed)); + } + return params; + + }, SimpleEndpoint.emptyMap(), false, ListReindexResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexResponse.java new file mode 100644 index 0000000000..76332aeed9 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ListReindexResponse.java @@ -0,0 +1,317 @@ +/* + * 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 co.elastic.clients.elasticsearch.core; + +import co.elastic.clients.elasticsearch._types.ErrorCause; +import co.elastic.clients.elasticsearch._types.ReindexTaskInfo; +import co.elastic.clients.elasticsearch._types.TaskFailure; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.util.List; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _global.list_reindex.Response + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class ListReindexResponse implements JsonpSerializable { + private final List reindex; + + private final List taskFailures; + + private final List nodeFailures; + + // --------------------------------------------------------------------------------------------- + + private ListReindexResponse(Builder builder) { + + this.reindex = ApiTypeHelper.unmodifiableRequired(builder.reindex, this, "reindex"); + this.taskFailures = ApiTypeHelper.unmodifiable(builder.taskFailures); + this.nodeFailures = ApiTypeHelper.unmodifiable(builder.nodeFailures); + + } + + public static ListReindexResponse of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - The list of currently running reindex tasks. + *

+ * API name: {@code reindex} + */ + public final List reindex() { + return this.reindex; + } + + /** + * Task-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code task_failures} + */ + public final List taskFailures() { + return this.taskFailures; + } + + /** + * Node-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code node_failures} + */ + public final List nodeFailures() { + return this.nodeFailures; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + if (ApiTypeHelper.isDefined(this.reindex)) { + generator.writeKey("reindex"); + generator.writeStartArray(); + for (ReindexTaskInfo item0 : this.reindex) { + item0.serialize(generator, mapper); + + } + generator.writeEnd(); + + } + if (ApiTypeHelper.isDefined(this.taskFailures)) { + generator.writeKey("task_failures"); + generator.writeStartArray(); + for (TaskFailure item0 : this.taskFailures) { + item0.serialize(generator, mapper); + + } + generator.writeEnd(); + + } + if (ApiTypeHelper.isDefined(this.nodeFailures)) { + generator.writeKey("node_failures"); + generator.writeStartArray(); + for (ErrorCause item0 : this.nodeFailures) { + item0.serialize(generator, mapper); + + } + generator.writeEnd(); + + } + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link ListReindexResponse}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + private List reindex; + + @Nullable + private List taskFailures; + + @Nullable + private List nodeFailures; + + /** + * Required - The list of currently running reindex tasks. + *

+ * API name: {@code reindex} + *

+ * Adds all elements of list to reindex. + */ + public final Builder reindex(List list) { + this.reindex = _listAddAll(this.reindex, list); + return this; + } + + /** + * Required - The list of currently running reindex tasks. + *

+ * API name: {@code reindex} + *

+ * Adds one or more values to reindex. + */ + public final Builder reindex(ReindexTaskInfo value, ReindexTaskInfo... values) { + this.reindex = _listAdd(this.reindex, value, values); + return this; + } + + /** + * Required - The list of currently running reindex tasks. + *

+ * API name: {@code reindex} + *

+ * Adds a value to reindex using a builder lambda. + */ + public final Builder reindex(Function> fn) { + return reindex(fn.apply(new ReindexTaskInfo.Builder()).build()); + } + + /** + * Task-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code task_failures} + *

+ * Adds all elements of list to taskFailures. + */ + public final Builder taskFailures(List list) { + this.taskFailures = _listAddAll(this.taskFailures, list); + return this; + } + + /** + * Task-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code task_failures} + *

+ * Adds one or more values to taskFailures. + */ + public final Builder taskFailures(TaskFailure value, TaskFailure... values) { + this.taskFailures = _listAdd(this.taskFailures, value, values); + return this; + } + + /** + * Task-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code task_failures} + *

+ * Adds a value to taskFailures using a builder lambda. + */ + public final Builder taskFailures(Function> fn) { + return taskFailures(fn.apply(new TaskFailure.Builder()).build()); + } + + /** + * Node-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code node_failures} + *

+ * Adds all elements of list to nodeFailures. + */ + public final Builder nodeFailures(List list) { + this.nodeFailures = _listAddAll(this.nodeFailures, list); + return this; + } + + /** + * Node-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code node_failures} + *

+ * Adds one or more values to nodeFailures. + */ + public final Builder nodeFailures(ErrorCause value, ErrorCause... values) { + this.nodeFailures = _listAdd(this.nodeFailures, value, values); + return this; + } + + /** + * Node-level failures that occurred while listing reindex tasks. + *

+ * API name: {@code node_failures} + *

+ * Adds a value to nodeFailures using a builder lambda. + */ + public final Builder nodeFailures(Function> fn) { + return nodeFailures(fn.apply(new ErrorCause.Builder()).build()); + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link ListReindexResponse}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public ListReindexResponse build() { + _checkSingleUse(); + + return new ListReindexResponse(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link ListReindexResponse} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, ListReindexResponse::setupListReindexResponseDeserializer); + + protected static void setupListReindexResponseDeserializer(ObjectDeserializer op) { + + op.add(Builder::reindex, JsonpDeserializer.arrayDeserializer(ReindexTaskInfo._DESERIALIZER), "reindex"); + op.add(Builder::taskFailures, JsonpDeserializer.arrayDeserializer(TaskFailure._DESERIALIZER), "task_failures"); + op.add(Builder::nodeFailures, JsonpDeserializer.arrayDeserializer(ErrorCause._DESERIALIZER), "node_failures"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java index 37dd013808..4406caa97e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java @@ -162,11 +162,13 @@ public Iterator _serializables() { return this.searches.iterator(); } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. This behavior - * applies even if the request targets other open indices. For example, a - * request targeting foo*,bar* returns an error if an index starts with foo but - * no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -212,7 +214,10 @@ public final Boolean ignoreThrottled() { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -405,11 +410,13 @@ private Builder(MsearchRequest instance) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. This behavior - * applies even if the request targets other open indices. For example, a - * request targeting foo*,bar* returns an error if an index starts with foo but - * no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -472,7 +479,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeRequest.java index 3cc63c9315..165517d43c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeRequest.java @@ -202,8 +202,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -408,8 +410,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalRequest.java index 261194bcdb..d3b86a0c80 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalRequest.java @@ -111,12 +111,13 @@ public static RankEvalRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -136,8 +137,10 @@ public final List expandWildcards() { } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -257,12 +260,13 @@ private Builder(RankEvalRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -298,8 +302,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchRequest.java index 74de6879b2..93a163edab 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchRequest.java @@ -376,12 +376,13 @@ public final Map aggregations() { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -594,8 +595,10 @@ public final Boolean ignoreThrottled() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -1654,12 +1657,13 @@ public final Builder aggregations(String key, Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -1984,8 +1988,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsRequest.java index 92f9255152..581621a9b7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsRequest.java @@ -117,12 +117,13 @@ public static SearchShardsRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -144,8 +145,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -256,12 +259,13 @@ private Builder(SearchShardsRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -301,8 +305,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateRequest.java index bdfc75eab1..d1486a31e3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateRequest.java @@ -144,12 +144,13 @@ public static SearchTemplateRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -219,8 +220,10 @@ public final Boolean ignoreThrottled() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -455,12 +458,13 @@ private Builder(SearchTemplateRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -548,8 +552,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRequest.java index 9793cf86fe..a4d77ba17f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRequest.java @@ -374,12 +374,13 @@ public static UpdateByQueryRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -469,8 +470,10 @@ public final Long from() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -963,12 +966,13 @@ private Builder(UpdateByQueryRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -1076,8 +1080,10 @@ public final Builder from(@Nullable Long value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java index e9e385c2ef..683505c897 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java @@ -123,6 +123,14 @@ public static MultisearchHeader of(Functionfalse, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. + *

* API name: {@code allow_no_indices} */ @Nullable @@ -138,6 +146,11 @@ public final List expandWildcards() { } /** + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. + *

* API name: {@code ignore_unavailable} */ @Nullable @@ -368,6 +381,14 @@ private Builder(MultisearchHeader instance) { } /** + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. + *

* API name: {@code allow_no_indices} */ public final Builder allowNoIndices(@Nullable Boolean value) { @@ -396,6 +417,11 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. + *

* API name: {@code ignore_unavailable} */ public final Builder ignoreUnavailable(@Nullable Boolean value) { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java index 30cdc70d54..137450e110 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java @@ -52,7 +52,7 @@ * Expected Reciprocal Rank (ERR) * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rank-eval#_expected_reciprocal_rank_err">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesAsyncClient.java index 9fdaf2676a..79439af80b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesAsyncClient.java @@ -79,7 +79,7 @@ public ElasticsearchDanglingIndicesAsyncClient withTransportOptions(@Nullable Tr * node is offline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-delete-dangling-index">Documentation * on elastic.co */ @@ -103,7 +103,7 @@ public CompletableFuture deleteDanglingIndex(Delete * a function that initializes a builder to create the * {@link DeleteDanglingIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-delete-dangling-index">Documentation * on elastic.co */ @@ -124,7 +124,7 @@ public final CompletableFuture deleteDanglingIndex( * node is offline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-import-dangling-index">Documentation * on elastic.co */ @@ -148,7 +148,7 @@ public CompletableFuture importDanglingIndex(Import * a function that initializes a builder to create the * {@link ImportDanglingIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-import-dangling-index">Documentation * on elastic.co */ @@ -171,7 +171,7 @@ public final CompletableFuture importDanglingIndex( * Use this API to list dangling indices, which you can then import or delete. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-list-dangling-indices">Documentation * on elastic.co */ public CompletableFuture listDanglingIndices() { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesClient.java index 1b1ef21d9f..e7d30019df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ElasticsearchDanglingIndicesClient.java @@ -80,7 +80,7 @@ public ElasticsearchDanglingIndicesClient withTransportOptions(@Nullable Transpo * node is offline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-delete-dangling-index">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public DeleteDanglingIndexResponse deleteDanglingIndex(DeleteDanglingIndexReques * a function that initializes a builder to create the * {@link DeleteDanglingIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-delete-dangling-index">Documentation * on elastic.co */ @@ -127,7 +127,7 @@ public final DeleteDanglingIndexResponse deleteDanglingIndex( * node is offline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-import-dangling-index">Documentation * on elastic.co */ @@ -152,7 +152,7 @@ public ImportDanglingIndexResponse importDanglingIndex(ImportDanglingIndexReques * a function that initializes a builder to create the * {@link ImportDanglingIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-import-dangling-index">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public final ImportDanglingIndexResponse importDanglingIndex( * Use this API to list dangling indices, which you can then import or delete. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-dangling-indices-list-dangling-indices">Documentation * on elastic.co */ public ListDanglingIndicesResponse listDanglingIndices() throws IOException, ElasticsearchException { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html index df87dac8c9..39a48c40fd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html @@ -17,17 +17,19 @@ '_global.bulk.UpdateAction': '_global/bulk/types.ts#L181-L216', '_global.bulk.UpdateOperation': '_global/bulk/types.ts#L145-L155', '_global.bulk.WriteOperation': '_global/bulk/types.ts#L118-L137', +'_global.cancel_reindex.Request': '_global/cancel_reindex/CancelReindexRequest.ts#L23-L56', +'_global.cancel_reindex.Response': '_global/cancel_reindex/CancelReindexResponse.ts#L31-L87', '_global.clear_scroll.Request': '_global/clear_scroll/ClearScrollRequest.ts#L23-L64', '_global.clear_scroll.Response': '_global/clear_scroll/ClearScrollResponse.ts#L22-L43', '_global.close_point_in_time.Request': '_global/close_point_in_time/ClosePointInTimeRequest.ts#L23-L51', '_global.close_point_in_time.Response': '_global/close_point_in_time/ClosePointInTimeResponse.ts#L22-L42', -'_global.count.Request': '_global/count/CountRequest.ts#L32-L176', +'_global.count.Request': '_global/count/CountRequest.ts#L32-L181', '_global.count.Response': '_global/count/CountResponse.ts#L23-L25', '_global.create.Request': '_global/create/CreateRequest.ts#L33-L203', '_global.create.Response': '_global/create/CreateResponse.ts#L22-L25', '_global.delete.Request': '_global/delete/DeleteRequest.ts#L35-L148', '_global.delete.Response': '_global/delete/DeleteResponse.ts#L22-L36', -'_global.delete_by_query.Request': '_global/delete_by_query/DeleteByQueryRequest.ts#L38-L325', +'_global.delete_by_query.Request': '_global/delete_by_query/DeleteByQueryRequest.ts#L38-L330', '_global.delete_by_query.Response': '_global/delete_by_query/DeleteByQueryResponse.ts#L27-L93', '_global.delete_by_query_rethrottle.Request': '_global/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts#L24-L56', '_global.delete_by_query_rethrottle.Response': '_global/delete_by_query_rethrottle/DeleteByQueryRethrottleResponse.ts#L22-L25', @@ -40,11 +42,13 @@ '_global.explain.Request': '_global/explain/ExplainRequest.ts#L26-L128', '_global.explain.Response': '_global/explain/ExplainResponse.ts#L23-L31', '_global.field_caps.FieldCapability': '_global/field_caps/types.ts#L23-L81', -'_global.field_caps.Request': '_global/field_caps/FieldCapabilitiesRequest.ts#L31-L150', +'_global.field_caps.Request': '_global/field_caps/FieldCapabilitiesRequest.ts#L31-L155', '_global.field_caps.Response': '_global/field_caps/FieldCapabilitiesResponse.ts#L24-L38', '_global.get.GetResult': '_global/get/types.ts#L25-L67', '_global.get.Request': '_global/get/GetRequest.ts#L32-L190', '_global.get.Response': '_global/get/GetResponse.ts#L23-L36', +'_global.get_reindex.Request': '_global/get_reindex/GetReindexRequest.ts#L24-L59', +'_global.get_reindex.Response': '_global/get_reindex/GetReindexResponse.ts#L31-L80', '_global.get_script.Request': '_global/get_script/GetScriptRequest.ts#L24-L58', '_global.get_script.Response': '_global/get_script/GetScriptResponse.ts#L23-L29', '_global.get_script_context.Context': '_global/get_script_context/types.ts#L22-L25', @@ -94,17 +98,19 @@ '_global.index.Response': '_global/index/IndexResponse.ts#L22-L25', '_global.info.Request': '_global/info/RootNodeInfoRequest.ts#L23-L43', '_global.info.Response': '_global/info/RootNodeInfoResponse.ts#L23-L40', +'_global.list_reindex.Request': '_global/list_reindex/ListReindexRequest.ts#L23-L47', +'_global.list_reindex.Response': '_global/list_reindex/ListReindexResponse.ts#L23-L38', '_global.mget.MultiGetError': '_global/mget/types.ts#L62-L66', '_global.mget.Operation': '_global/mget/types.ts#L32-L55', '_global.mget.Request': '_global/mget/MultiGetRequest.ts#L25-L129', '_global.mget.Response': '_global/mget/MultiGetResponse.ts#L22-L31', '_global.mget.ResponseItem': '_global/mget/types.ts#L57-L60', -'_global.msearch.MultiSearchItem': '_global/msearch/types.ts#L65-L68', -'_global.msearch.MultiSearchResult': '_global/msearch/types.ts#L55-L58', -'_global.msearch.MultisearchHeader': '_global/msearch/types.ts#L37-L53', -'_global.msearch.Request': '_global/msearch/MultiSearchRequest.ts#L32-L162', +'_global.msearch.MultiSearchItem': '_global/msearch/types.ts#L78-L81', +'_global.msearch.MultiSearchResult': '_global/msearch/types.ts#L68-L71', +'_global.msearch.MultisearchHeader': '_global/msearch/types.ts#L37-L66', +'_global.msearch.Request': '_global/msearch/MultiSearchRequest.ts#L32-L169', '_global.msearch.Response': '_global/msearch/MultiSearchResponse.ts#L25-L28', -'_global.msearch.ResponseItem': '_global/msearch/types.ts#L60-L63', +'_global.msearch.ResponseItem': '_global/msearch/types.ts#L73-L76', '_global.msearch_template.Request': '_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L131', '_global.msearch_template.Response': '_global/msearch_template/MultiSearchTemplateResponse.ts#L22-L33', '_global.msearch_template.TemplateConfig': '_global/msearch_template/types.ts#L29-L55', @@ -112,7 +118,7 @@ '_global.mtermvectors.Request': '_global/mtermvectors/MultiTermVectorsRequest.ts#L32-L140', '_global.mtermvectors.Response': '_global/mtermvectors/MultiTermVectorsResponse.ts#L22-L24', '_global.mtermvectors.TermVectorsResult': '_global/mtermvectors/types.ts#L96-L104', -'_global.open_point_in_time.Request': '_global/open_point_in_time/OpenPointInTimeRequest.ts#L32-L151', +'_global.open_point_in_time.Request': '_global/open_point_in_time/OpenPointInTimeRequest.ts#L32-L153', '_global.open_point_in_time.Response': '_global/open_point_in_time/OpenPointInTimeResponse.ts#L23-L29', '_global.ping.Request': '_global/ping/PingRequest.ts#L23-L41', '_global.put_script.Request': '_global/put_script/PutScriptRequest.ts#L25-L90', @@ -131,7 +137,7 @@ '_global.rank_eval.RankEvalMetricRecall': '_global/rank_eval/types.ts#L54-L58', '_global.rank_eval.RankEvalQuery': '_global/rank_eval/types.ts#L111-L117', '_global.rank_eval.RankEvalRequestItem': '_global/rank_eval/types.ts#L98-L109', -'_global.rank_eval.Request': '_global/rank_eval/RankEvalRequest.ts#L24-L86', +'_global.rank_eval.Request': '_global/rank_eval/RankEvalRequest.ts#L24-L93', '_global.rank_eval.Response': '_global/rank_eval/RankEvalResponse.ts#L26-L34', '_global.rank_eval.UnratedDocument': '_global/rank_eval/types.ts#L150-L153', '_global.reindex.Destination': '_global/reindex/types.ts#L39-L67', @@ -153,7 +159,7 @@ '_global.scripts_painless_execute.Response': '_global/scripts_painless_execute/ExecutePainlessScriptResponse.ts#L20-L24', '_global.scroll.Request': '_global/scroll/ScrollRequest.ts#L24-L96', '_global.scroll.Response': '_global/scroll/ScrollResponse.ts#L22-L25', -'_global.search.Request': '_global/search/SearchRequest.ts#L55-L618', +'_global.search.Request': '_global/search/SearchRequest.ts#L55-L623', '_global.search.Response': '_global/search/SearchResponse.ts#L34-L37', '_global.search.ResponseBody': '_global/search/SearchResponse.ts#L39-L85', '_global.search._types.AggregationBreakdown': '_global/search/_types/profile.ts#L26-L39', @@ -236,11 +242,11 @@ '_global.search_mvt.Response': '_global/search_mvt/SearchMvtResponse.ts#L22-L25', '_global.search_mvt._types.GridAggregationType': '_global/search_mvt/_types/GridType.ts#L30-L33', '_global.search_mvt._types.GridType': '_global/search_mvt/_types/GridType.ts#L20-L28', -'_global.search_shards.Request': '_global/search_shards/SearchShardsRequest.ts#L24-L101', +'_global.search_shards.Request': '_global/search_shards/SearchShardsRequest.ts#L24-L106', '_global.search_shards.Response': '_global/search_shards/SearchShardsResponse.ts#L34-L40', '_global.search_shards.SearchShardsNodeAttributes': '_global/search_shards/SearchShardsResponse.ts#L42-L60', '_global.search_shards.ShardStoreIndex': '_global/search_shards/SearchShardsResponse.ts#L62-L65', -'_global.search_template.Request': '_global/search_template/SearchTemplateRequest.ts#L35-L173', +'_global.search_template.Request': '_global/search_template/SearchTemplateRequest.ts#L35-L179', '_global.search_template.Response': '_global/search_template/SearchTemplateResponse.ts#L30-L48', '_global.terms_enum.Request': '_global/terms_enum/TermsEnumRequest.ts#L26-L95', '_global.terms_enum.Response': '_global/terms_enum/TermsEnumResponse.ts#L22-L32', @@ -254,7 +260,7 @@ '_global.update.Request': '_global/update/UpdateRequest.ts#L39-L199', '_global.update.Response': '_global/update/UpdateResponse.ts#L27-L30', '_global.update.UpdateWriteResponseBase': '_global/update/UpdateResponse.ts#L23-L25', -'_global.update_by_query.Request': '_global/update_by_query/UpdateByQueryRequest.ts#L38-L359', +'_global.update_by_query.Request': '_global/update_by_query/UpdateByQueryRequest.ts#L38-L364', '_global.update_by_query.Response': '_global/update_by_query/UpdateByQueryResponse.ts#L27-L76', '_global.update_by_query_rethrottle.Request': '_global/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts#L24-L56', '_global.update_by_query_rethrottle.Response': '_global/update_by_query_rethrottle/UpdateByQueryRethrottleResponse.ts#L23-L25', @@ -267,10 +273,10 @@ '_types.CartesianPoint': '_types/Geo.ts#L125-L128', '_types.ChunkRescorer': '_types/Retriever.ts#L205-L210', '_types.ClusterDetails': '_types/Stats.ts#L45-L52', -'_types.ClusterInfoTarget': '_types/common.ts#L398-L404', +'_types.ClusterInfoTarget': '_types/common.ts#L408-L414', '_types.ClusterSearchStatus': '_types/Stats.ts#L37-L43', '_types.ClusterStatistics': '_types/Stats.ts#L27-L35', -'_types.CommonStatsFlag': '_types/common.ts#L408-L431', +'_types.CommonStatsFlag': '_types/common.ts#L418-L472', '_types.CompletionStats': '_types/Stats.ts#L83-L93', '_types.Conflicts': '_types/common.ts#L178-L187', '_types.CoordsGeoBounds': '_types/Geo.ts#L153-L158', @@ -308,9 +314,9 @@ '_types.IBDistribution': '_types/Similarity.ts#L42-L45', '_types.IBLambda': '_types/Similarity.ts#L47-L50', '_types.IndexingStats': '_types/Stats.ts#L168-L186', -'_types.IndicesOptions': '_types/common.ts#L352-L379', +'_types.IndicesOptions': '_types/common.ts#L357-L389', '_types.IndicesResponseBase': '_types/Base.ts#L146-L148', -'_types.InlineGet': '_types/common.ts#L337-L350', +'_types.InlineGet': '_types/common.ts#L342-L355', '_types.InnerRetriever': '_types/Retriever.ts#L88-L92', '_types.KnnQuery': '_types/Knn.ts#L74-L104', '_types.KnnRetriever': '_types/Retriever.ts#L118-L143', @@ -341,7 +347,9 @@ '_types.RecoveryStats': '_types/Stats.ts#L255-L260', '_types.Refresh': '_types/common.ts#L283-L290', '_types.RefreshStats': '_types/Stats.ts#L262-L269', -'_types.ReindexStatus': '_types/Reindex.ts#L24-L80', +'_types.ReindexStatus': '_types/Reindex.ts#L32-L88', +'_types.ReindexTaskInfo': '_types/Reindex.ts#L153-L191', +'_types.ReindexTaskResult': '_types/Reindex.ts#L90-L151', '_types.RelocationFailureInfo': '_types/Node.ts#L67-L69', '_types.RequestBase': '_types/Base.ts#L35-L35', '_types.RequestCacheStats': '_types/Stats.ts#L271-L277', @@ -370,8 +378,8 @@ '_types.ShardStatistics': '_types/Stats.ts#L54-L69', '_types.ShardsOperationResponseBase': '_types/Base.ts#L150-L153', '_types.SlicedScroll': '_types/SlicedScroll.ts#L23-L27', -'_types.Slices': '_types/common.ts#L381-L386', -'_types.SlicesCalculation': '_types/common.ts#L388-L396', +'_types.Slices': '_types/common.ts#L391-L396', +'_types.SlicesCalculation': '_types/common.ts#L398-L406', '_types.SortMode': '_types/sort.ts#L108-L117', '_types.SortOptions': '_types/sort.ts#L86-L96', '_types.SortOrder': '_types/sort.ts#L119-L128', @@ -383,7 +391,7 @@ '_types.TaskFailure': '_types/Errors.ts#L71-L76', '_types.TextEmbedding': '_types/Knn.ts#L118-L128', '_types.TextSimilarityReranker': '_types/Retriever.ts#L175-L192', -'_types.ThreadType': '_types/common.ts#L314-L320', +'_types.ThreadType': '_types/common.ts#L314-L325', '_types.TimeUnit': '_types/Time.ts#L70-L78', '_types.TokenPruningConfig': '_types/TokenPruningConfig.ts#L22-L38', '_types.TopLeftBottomRightGeoBounds': '_types/Geo.ts#L160-L163', @@ -391,9 +399,9 @@ '_types.TransformContainer': '_types/Transform.ts#L28-L35', '_types.TranslogStats': '_types/Stats.ts#L427-L435', '_types.VersionType': '_types/common.ts#L102-L117', -'_types.WaitForActiveShardOptions': '_types/common.ts#L322-L326', +'_types.WaitForActiveShardOptions': '_types/common.ts#L327-L331', '_types.WaitForActiveShards': '_types/common.ts#L137-L138', -'_types.WaitForEvents': '_types/common.ts#L328-L335', +'_types.WaitForEvents': '_types/common.ts#L333-L340', '_types.WarmerStats': '_types/Stats.ts#L437-L442', '_types.WktGeoBounds': '_types/Geo.ts#L149-L151', '_types.WriteResponseBase': '_types/Base.ts#L37-L72', @@ -1006,6 +1014,7 @@ '_types.query_dsl.IntervalsWildcard': '_types/query_dsl/fulltext.ts#L319-L334', '_types.query_dsl.Like': '_types/query_dsl/specialized.ts#L198-L203', '_types.query_dsl.LikeDocument': '_types/query_dsl/specialized.ts#L174-L196', +'_types.query_dsl.LongNumberRangeQuery': '_types/query_dsl/term.ts#L170-L170', '_types.query_dsl.MatchAllQuery': '_types/query_dsl/MatchAllQuery.ts#L22-L25', '_types.query_dsl.MatchBoolPrefixQuery': '_types/query_dsl/fulltext.ts#L407-L464', '_types.query_dsl.MatchNoneQuery': '_types/query_dsl/MatchNoneQuery.ts#L22-L25', @@ -1028,16 +1037,16 @@ '_types.query_dsl.QueryContainer': '_types/query_dsl/abstractions.ts#L97-L428', '_types.query_dsl.QueryStringQuery': '_types/query_dsl/fulltext.ts#L650-L773', '_types.query_dsl.RandomScoreFunction': '_types/query_dsl/compound.ts#L145-L149', -'_types.query_dsl.RangeQuery': '_types/query_dsl/term.ts#L172-L182', +'_types.query_dsl.RangeQuery': '_types/query_dsl/term.ts#L174-L185', '_types.query_dsl.RangeQueryBase': '_types/query_dsl/term.ts#L122-L144', -'_types.query_dsl.RangeRelation': '_types/query_dsl/term.ts#L184-L197', +'_types.query_dsl.RangeRelation': '_types/query_dsl/term.ts#L187-L200', '_types.query_dsl.RankFeatureFunction': '_types/query_dsl/specialized.ts#L280-L280', '_types.query_dsl.RankFeatureFunctionLinear': '_types/query_dsl/specialized.ts#L282-L282', '_types.query_dsl.RankFeatureFunctionLogarithm': '_types/query_dsl/specialized.ts#L284-L289', '_types.query_dsl.RankFeatureFunctionSaturation': '_types/query_dsl/specialized.ts#L291-L296', '_types.query_dsl.RankFeatureFunctionSigmoid': '_types/query_dsl/specialized.ts#L298-L307', '_types.query_dsl.RankFeatureQuery': '_types/query_dsl/specialized.ts#L309-L335', -'_types.query_dsl.RegexpQuery': '_types/query_dsl/term.ts#L199-L232', +'_types.query_dsl.RegexpQuery': '_types/query_dsl/term.ts#L202-L235', '_types.query_dsl.RuleQuery': '_types/query_dsl/specialized.ts#L398-L406', '_types.query_dsl.ScriptQuery': '_types/query_dsl/specialized.ts#L337-L346', '_types.query_dsl.ScriptScoreFunction': '_types/query_dsl/compound.ts#L138-L143', @@ -1058,20 +1067,20 @@ '_types.query_dsl.SpanTermQuery': '_types/query_dsl/span.ts#L134-L141', '_types.query_dsl.SpanWithinQuery': '_types/query_dsl/span.ts#L143-L157', '_types.query_dsl.SparseVectorQuery': '_types/query_dsl/SparseVectorQuery.ts#L26-L80', -'_types.query_dsl.TermQuery': '_types/query_dsl/term.ts#L234-L251', -'_types.query_dsl.TermRangeQuery': '_types/query_dsl/term.ts#L170-L170', -'_types.query_dsl.TermsLookup': '_types/query_dsl/term.ts#L266-L271', -'_types.query_dsl.TermsQuery': '_types/query_dsl/term.ts#L253-L259', -'_types.query_dsl.TermsQueryField': '_types/query_dsl/term.ts#L261-L264', -'_types.query_dsl.TermsSetQuery': '_types/query_dsl/term.ts#L273-L295', +'_types.query_dsl.TermQuery': '_types/query_dsl/term.ts#L237-L254', +'_types.query_dsl.TermRangeQuery': '_types/query_dsl/term.ts#L172-L172', +'_types.query_dsl.TermsLookup': '_types/query_dsl/term.ts#L269-L274', +'_types.query_dsl.TermsQuery': '_types/query_dsl/term.ts#L256-L262', +'_types.query_dsl.TermsQueryField': '_types/query_dsl/term.ts#L264-L267', +'_types.query_dsl.TermsSetQuery': '_types/query_dsl/term.ts#L276-L298', '_types.query_dsl.TextExpansionQuery': '_types/query_dsl/TextExpansionQuery.ts#L23-L37', '_types.query_dsl.TextQueryType': '_types/query_dsl/fulltext.ts#L611-L637', -'_types.query_dsl.TypeQuery': '_types/query_dsl/term.ts#L297-L299', +'_types.query_dsl.TypeQuery': '_types/query_dsl/term.ts#L300-L302', '_types.query_dsl.UntypedDecayFunction': '_types/query_dsl/compound.ts#L206-L209', '_types.query_dsl.UntypedDistanceFeatureQuery': '_types/query_dsl/specialized.ts#L61-L64', '_types.query_dsl.UntypedRangeQuery': '_types/query_dsl/term.ts#L146-L155', '_types.query_dsl.WeightedTokensQuery': '_types/query_dsl/WeightedTokensQuery.ts#L25-L33', -'_types.query_dsl.WildcardQuery': '_types/query_dsl/term.ts#L301-L321', +'_types.query_dsl.WildcardQuery': '_types/query_dsl/term.ts#L304-L324', '_types.query_dsl.WrapperQuery': '_types/query_dsl/abstractions.ts#L502-L511', '_types.query_dsl.ZeroTermsQuery': '_types/query_dsl/fulltext.ts#L639-L648', 'async_search._types.AsyncSearch': 'async_search/_types/AsyncSearch.ts#L30-L56', @@ -1084,7 +1093,7 @@ 'async_search.status.Request': 'async_search/status/AsyncSearchStatusRequest.ts#L24-L59', 'async_search.status.Response': 'async_search/status/AsyncSearchStatusResponse.ts#L39-L42', 'async_search.status.StatusResponseBase': 'async_search/status/AsyncSearchStatusResponse.ts#L24-L38', -'async_search.submit.Request': 'async_search/submit/AsyncSearchSubmitRequest.ts#L56-L434', +'async_search.submit.Request': 'async_search/submit/AsyncSearchSubmitRequest.ts#L56-L440', 'async_search.submit.Response': 'async_search/submit/AsyncSearchSubmitResponse.ts#L25-L34', 'autoscaling._types.AutoscalingPolicy': 'autoscaling/_types/AutoscalingPolicy.ts#L23-L30', 'autoscaling.delete_autoscaling_policy.Request': 'autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyRequest.ts#L24-L56', @@ -1180,7 +1189,7 @@ 'cat.repositories.RepositoriesRecord': 'cat/repositories/types.ts#L20-L31', 'cat.repositories.Request': 'cat/repositories/CatRepositoriesRequest.ts#L24-L68', 'cat.repositories.Response': 'cat/repositories/CatRepositoriesResponse.ts#L22-L25', -'cat.segments.Request': 'cat/segments/CatSegmentsRequest.ts#L24-L114', +'cat.segments.Request': 'cat/segments/CatSegmentsRequest.ts#L24-L119', 'cat.segments.Response': 'cat/segments/CatSegmentsResponse.ts#L22-L25', 'cat.segments.SegmentsRecord': 'cat/segments/types.ts#L22-L107', 'cat.shards.Request': 'cat/shards/CatShardsRequest.ts#L24-L74', @@ -1295,8 +1304,8 @@ 'cluster.reroute.RerouteExplanation': 'cluster/reroute/types.ts#L92-L96', 'cluster.reroute.RerouteParameters': 'cluster/reroute/types.ts#L98-L105', 'cluster.reroute.Response': 'cluster/reroute/ClusterRerouteResponse.ts#L23-L34', -'cluster.state.ClusterStateMetric': 'cluster/state/ClusterStateRequest.ts#L123-L133', -'cluster.state.Request': 'cluster/state/ClusterStateRequest.ts#L29-L121', +'cluster.state.ClusterStateMetric': 'cluster/state/ClusterStateRequest.ts#L130-L149', +'cluster.state.Request': 'cluster/state/ClusterStateRequest.ts#L29-L128', 'cluster.state.Response': 'cluster/state/ClusterStateResponse.ts#L22-L31', 'cluster.stats.CCSStats': 'cluster/stats/types.ts#L800-L815', 'cluster.stats.CCSUsageClusterStats': 'cluster/stats/types.ts#L886-L893', @@ -1477,7 +1486,7 @@ 'eql.get.Response': 'eql/get/EqlGetResponse.ts#L22-L25', 'eql.get_status.Request': 'eql/get_status/EqlGetStatusRequest.ts#L23-L44', 'eql.get_status.Response': 'eql/get_status/EqlGetStatusResponse.ts#L24-L51', -'eql.search.Request': 'eql/search/EqlSearchRequest.ts#L34-L192', +'eql.search.Request': 'eql/search/EqlSearchRequest.ts#L34-L198', 'eql.search.Response': 'eql/search/EqlSearchResponse.ts#L22-L25', 'eql.search.ResultPosition': 'eql/search/types.ts#L20-L32', 'esql._types.ESQLView': 'esql/_types/types.ts#L30-L40', @@ -1501,7 +1510,7 @@ 'features.get_features.Response': 'features/get_features/GetFeaturesResponse.ts#L22-L26', 'features.reset_features.Request': 'features/reset_features/ResetFeaturesRequest.ts#L24-L63', 'features.reset_features.Response': 'features/reset_features/ResetFeaturesResponse.ts#L22-L26', -'fleet.search.Request': 'fleet/search/SearchRequest.ts#L55-L271', +'fleet.search.Request': 'fleet/search/SearchRequest.ts#L55-L284', 'fleet.search.Response': 'fleet/search/SearchResponse.ts#L33-L50', 'graph._types.Connection': 'graph/_types/Connection.ts#L22-L27', 'graph._types.ExploreControls': 'graph/_types/ExploreControls.ts#L24-L49', @@ -1648,7 +1657,7 @@ 'indices._types.TranslogDurability': 'indices/_types/IndexSettings.ts#L399-L414', 'indices._types.TranslogRetention': 'indices/_types/IndexSettings.ts#L416-L435', 'indices.add_block.AddIndicesBlockStatus': 'indices/add_block/IndicesAddBlockResponse.ts#L30-L33', -'indices.add_block.Request': 'indices/add_block/IndicesAddBlockRequest.ts#L25-L91', +'indices.add_block.Request': 'indices/add_block/IndicesAddBlockRequest.ts#L25-L96', 'indices.add_block.Response': 'indices/add_block/IndicesAddBlockResponse.ts#L22-L28', 'indices.analyze.AnalyzeDetail': 'indices/analyze/types.ts#L24-L30', 'indices.analyze.AnalyzeToken': 'indices/analyze/types.ts#L37-L44', @@ -1660,13 +1669,13 @@ 'indices.analyze.TokenDetail': 'indices/analyze/types.ts#L71-L74', 'indices.cancel_migrate_reindex.Request': 'indices/cancel_migrate_reindex/MigrateCancelReindexRequest.ts#L23-L46', 'indices.cancel_migrate_reindex.Response': 'indices/cancel_migrate_reindex/MigrateCancelReindexResponse.ts#L22-L25', -'indices.clear_cache.Request': 'indices/clear_cache/IndicesClearCacheRequest.ts#L23-L101', +'indices.clear_cache.Request': 'indices/clear_cache/IndicesClearCacheRequest.ts#L23-L107', 'indices.clear_cache.Response': 'indices/clear_cache/IndicesClearCacheResponse.ts#L22-L25', 'indices.clone.Request': 'indices/clone/IndicesCloneRequest.ts#L27-L130', 'indices.clone.Response': 'indices/clone/IndicesCloneResponse.ts#L22-L28', 'indices.close.CloseIndexResult': 'indices/close/CloseIndexResponse.ts#L32-L35', 'indices.close.CloseShardResult': 'indices/close/CloseIndexResponse.ts#L37-L39', -'indices.close.Request': 'indices/close/CloseIndexRequest.ts#L29-L107', +'indices.close.Request': 'indices/close/CloseIndexRequest.ts#L29-L113', 'indices.close.Response': 'indices/close/CloseIndexResponse.ts#L24-L30', 'indices.create.Request': 'indices/create/IndicesCreateRequest.ts#L28-L118', 'indices.create.Response': 'indices/create/IndicesCreateResponse.ts#L22-L28', @@ -1678,7 +1687,7 @@ 'indices.data_streams_stats.DataStreamsStatsItem': 'indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L45-L65', 'indices.data_streams_stats.Request': 'indices/data_streams_stats/IndicesDataStreamsStatsRequest.ts#L23-L62', 'indices.data_streams_stats.Response': 'indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L25-L43', -'indices.delete.Request': 'indices/delete/IndicesDeleteRequest.ts#L24-L88', +'indices.delete.Request': 'indices/delete/IndicesDeleteRequest.ts#L24-L94', 'indices.delete.Response': 'indices/delete/IndicesDeleteResponse.ts#L22-L25', 'indices.delete_alias.IndicesAliasesResponseBody': 'indices/delete_alias/IndicesDeleteAliasResponse.ts#L27-L29', 'indices.delete_alias.Request': 'indices/delete_alias/IndicesDeleteAliasRequest.ts#L24-L72', @@ -1693,12 +1702,12 @@ 'indices.delete_index_template.Response': 'indices/delete_index_template/IndicesDeleteIndexTemplateResponse.ts#L22-L25', 'indices.delete_template.Request': 'indices/delete_template/IndicesDeleteTemplateRequest.ts#L24-L63', 'indices.delete_template.Response': 'indices/delete_template/IndicesDeleteTemplateResponse.ts#L22-L25', -'indices.disk_usage.Request': 'indices/disk_usage/IndicesDiskUsageRequest.ts#L23-L89', +'indices.disk_usage.Request': 'indices/disk_usage/IndicesDiskUsageRequest.ts#L23-L94', 'indices.disk_usage.Response': 'indices/disk_usage/IndicesDiskUsageResponse.ts#L22-L25', 'indices.downsample.Request': 'indices/downsample/Request.ts#L24-L66', 'indices.downsample.Response': 'indices/downsample/Response.ts#L22-L25', -'indices.exists.Request': 'indices/exists/IndicesExistsRequest.ts#L23-L81', -'indices.exists_alias.Request': 'indices/exists_alias/IndicesExistsAliasRequest.ts#L24-L82', +'indices.exists.Request': 'indices/exists/IndicesExistsRequest.ts#L23-L87', +'indices.exists_alias.Request': 'indices/exists_alias/IndicesExistsAliasRequest.ts#L24-L88', 'indices.exists_index_template.Request': 'indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L63', 'indices.exists_template.Request': 'indices/exists_template/IndicesExistsTemplateRequest.ts#L24-L72', 'indices.explain_data_lifecycle.DataStreamLifecycleExplain': 'indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponse.ts#L31-L41', @@ -1707,20 +1716,20 @@ 'indices.field_usage_stats.FieldSummary': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L58-L67', 'indices.field_usage_stats.FieldsUsageBody': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L33-L40', 'indices.field_usage_stats.InvertedIndex': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L69-L77', -'indices.field_usage_stats.Request': 'indices/field_usage_stats/IndicesFieldUsageStatsRequest.ts#L23-L76', +'indices.field_usage_stats.Request': 'indices/field_usage_stats/IndicesFieldUsageStatsRequest.ts#L23-L81', 'indices.field_usage_stats.Response': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L28-L31', 'indices.field_usage_stats.ShardsStats': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L53-L56', 'indices.field_usage_stats.UsageStatsIndex': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L42-L44', 'indices.field_usage_stats.UsageStatsShards': 'indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L46-L51', -'indices.flush.Request': 'indices/flush/IndicesFlushRequest.ts#L23-L93', +'indices.flush.Request': 'indices/flush/IndicesFlushRequest.ts#L23-L99', 'indices.flush.Response': 'indices/flush/IndicesFlushResponse.ts#L22-L25', -'indices.forcemerge.Request': 'indices/forcemerge/IndicesForceMergeRequest.ts#L24-L139', +'indices.forcemerge.Request': 'indices/forcemerge/IndicesForceMergeRequest.ts#L24-L145', 'indices.forcemerge.Response': 'indices/forcemerge/IndicesForceMergeResponse.ts#L22-L25', 'indices.forcemerge._types.ForceMergeResponseBody': 'indices/forcemerge/_types/response.ts#L22-L28', -'indices.get.Feature': 'indices/get/IndicesGetRequest.ts#L100-L104', -'indices.get.Request': 'indices/get/IndicesGetRequest.ts#L24-L98', +'indices.get.Feature': 'indices/get/IndicesGetRequest.ts#L105-L109', +'indices.get.Request': 'indices/get/IndicesGetRequest.ts#L24-L103', 'indices.get.Response': 'indices/get/IndicesGetResponse.ts#L24-L27', -'indices.get_alias.Request': 'indices/get_alias/IndicesGetAliasRequest.ts#L24-L94', +'indices.get_alias.Request': 'indices/get_alias/IndicesGetAliasRequest.ts#L24-L100', 'indices.get_alias.Response': 'indices/get_alias/IndicesGetAliasResponse.ts#L28-L38', 'indices.get_alias._types.IndexAliases': 'indices/get_alias/_types/response.ts#L25-L27', 'indices.get_data_lifecycle.DataStreamWithLifecycle': 'indices/get_data_lifecycle/IndicesGetDataLifecycleResponse.ts#L27-L30', @@ -1740,20 +1749,20 @@ 'indices.get_data_stream_settings.DataStreamSettings': 'indices/get_data_stream_settings/IndicesGetDataStreamSettingsResponse.ts#L29-L39', 'indices.get_data_stream_settings.Request': 'indices/get_data_stream_settings/IndicesGetDataStreamSettingsRequest.ts#L24-L58', 'indices.get_data_stream_settings.Response': 'indices/get_data_stream_settings/IndicesGetDataStreamSettingsResponse.ts#L22-L27', -'indices.get_field_mapping.Request': 'indices/get_field_mapping/IndicesGetFieldMappingRequest.ts#L23-L85', +'indices.get_field_mapping.Request': 'indices/get_field_mapping/IndicesGetFieldMappingRequest.ts#L23-L91', 'indices.get_field_mapping.Response': 'indices/get_field_mapping/IndicesGetFieldMappingResponse.ts#L24-L27', 'indices.get_field_mapping.TypeFieldMappings': 'indices/get_field_mapping/types.ts#L24-L26', 'indices.get_index_template.IndexTemplateItem': 'indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L29-L32', 'indices.get_index_template.Request': 'indices/get_index_template/IndicesGetIndexTemplateRequest.ts#L24-L75', 'indices.get_index_template.Response': 'indices/get_index_template/IndicesGetIndexTemplateResponse.ts#L23-L27', 'indices.get_mapping.IndexMappingRecord': 'indices/get_mapping/IndicesGetMappingResponse.ts#L29-L32', -'indices.get_mapping.Request': 'indices/get_mapping/IndicesGetMappingRequest.ts#L24-L86', +'indices.get_mapping.Request': 'indices/get_mapping/IndicesGetMappingRequest.ts#L24-L92', 'indices.get_mapping.Response': 'indices/get_mapping/IndicesGetMappingResponse.ts#L24-L27', 'indices.get_migrate_reindex_status.Request': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusRequest.ts#L23-L46', 'indices.get_migrate_reindex_status.Response': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L23-L36', 'indices.get_migrate_reindex_status.StatusError': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L44-L47', 'indices.get_migrate_reindex_status.StatusInProgress': 'indices/get_migrate_reindex_status/MigrateGetReindexStatusResponse.ts#L38-L42', -'indices.get_settings.Request': 'indices/get_settings/IndicesGetSettingsRequest.ts#L24-L114', +'indices.get_settings.Request': 'indices/get_settings/IndicesGetSettingsRequest.ts#L24-L117', 'indices.get_settings.Response': 'indices/get_settings/IndicesGetSettingsResponse.ts#L24-L27', 'indices.get_template.Request': 'indices/get_template/IndicesGetTemplateRequest.ts#L24-L76', 'indices.get_template.Response': 'indices/get_template/IndicesGetTemplateResponse.ts#L23-L26', @@ -1768,7 +1777,7 @@ 'indices.modify_data_stream.IndexAndDataStreamAction': 'indices/modify_data_stream/types.ts#L39-L44', 'indices.modify_data_stream.Request': 'indices/modify_data_stream/IndicesModifyDataStreamRequest.ts#L24-L49', 'indices.modify_data_stream.Response': 'indices/modify_data_stream/IndicesModifyDataStreamResponse.ts#L22-L25', -'indices.open.Request': 'indices/open/IndicesOpenRequest.ts#L29-L117', +'indices.open.Request': 'indices/open/IndicesOpenRequest.ts#L29-L123', 'indices.open.Response': 'indices/open/IndicesOpenResponse.ts#L20-L25', 'indices.promote_data_stream.Request': 'indices/promote_data_stream/IndicesPromoteDataStreamRequest.ts#L24-L61', 'indices.promote_data_stream.Response': 'indices/promote_data_stream/IndicesPromoteDataStreamResponse.ts#L22-L25', @@ -1789,9 +1798,9 @@ 'indices.put_index_template.IndexTemplateMapping': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L167-L194', 'indices.put_index_template.Request': 'indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L39-L165', 'indices.put_index_template.Response': 'indices/put_index_template/IndicesPutIndexTemplateResponse.ts#L22-L25', -'indices.put_mapping.Request': 'indices/put_mapping/IndicesPutMappingRequest.ts#L42-L172', +'indices.put_mapping.Request': 'indices/put_mapping/IndicesPutMappingRequest.ts#L42-L178', 'indices.put_mapping.Response': 'indices/put_mapping/IndicesPutMappingResponse.ts#L22-L25', -'indices.put_settings.Request': 'indices/put_settings/IndicesPutSettingsRequest.ts#L25-L169', +'indices.put_settings.Request': 'indices/put_settings/IndicesPutSettingsRequest.ts#L25-L172', 'indices.put_settings.Response': 'indices/put_settings/IndicesPutSettingsResponse.ts#L22-L25', 'indices.put_template.Request': 'indices/put_template/IndicesPutTemplateRequest.ts#L29-L131', 'indices.put_template.Response': 'indices/put_template/IndicesPutTemplateResponse.ts#L22-L25', @@ -1800,26 +1809,28 @@ 'indices.recovery.RecoveryFiles': 'indices/recovery/types.ts#L56-L62', 'indices.recovery.RecoveryIndexStatus': 'indices/recovery/types.ts#L64-L74', 'indices.recovery.RecoveryOrigin': 'indices/recovery/types.ts#L76-L89', +'indices.recovery.RecoveryStage': 'indices/recovery/types.ts#L118-L131', 'indices.recovery.RecoveryStartStatus': 'indices/recovery/types.ts#L91-L96', 'indices.recovery.RecoveryStatus': 'indices/recovery/types.ts#L98-L100', -'indices.recovery.Request': 'indices/recovery/IndicesRecoveryRequest.ts#L23-L104', +'indices.recovery.RecoveryType': 'indices/recovery/types.ts#L133-L144', +'indices.recovery.Request': 'indices/recovery/IndicesRecoveryRequest.ts#L23-L110', 'indices.recovery.Response': 'indices/recovery/IndicesRecoveryResponse.ts#L24-L27', -'indices.recovery.ShardRecovery': 'indices/recovery/types.ts#L118-L135', +'indices.recovery.ShardRecovery': 'indices/recovery/types.ts#L146-L165', 'indices.recovery.TranslogStatus': 'indices/recovery/types.ts#L102-L109', 'indices.recovery.VerifyIndex': 'indices/recovery/types.ts#L111-L116', -'indices.refresh.Request': 'indices/refresh/IndicesRefreshRequest.ts#L23-L88', +'indices.refresh.Request': 'indices/refresh/IndicesRefreshRequest.ts#L23-L94', 'indices.refresh.Response': 'indices/refresh/IndicesRefreshResponse.ts#L22-L25', 'indices.reload_search_analyzers.ReloadDetails': 'indices/reload_search_analyzers/types.ts#L27-L31', 'indices.reload_search_analyzers.ReloadResult': 'indices/reload_search_analyzers/types.ts#L22-L25', -'indices.reload_search_analyzers.Request': 'indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts#L23-L77', +'indices.reload_search_analyzers.Request': 'indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts#L23-L83', 'indices.reload_search_analyzers.Response': 'indices/reload_search_analyzers/ReloadSearchAnalyzersResponse.ts#L22-L25', 'indices.remove_block.RemoveIndicesBlockStatus': 'indices/remove_block/IndicesRemoveBlockResponse.ts#L30-L34', -'indices.remove_block.Request': 'indices/remove_block/IndicesRemoveBlockRequest.ts#L25-L92', +'indices.remove_block.Request': 'indices/remove_block/IndicesRemoveBlockRequest.ts#L25-L97', 'indices.remove_block.Response': 'indices/remove_block/IndicesRemoveBlockResponse.ts#L23-L28', -'indices.resolve_cluster.Request': 'indices/resolve_cluster/ResolveClusterRequest.ts#L24-L144', +'indices.resolve_cluster.Request': 'indices/resolve_cluster/ResolveClusterRequest.ts#L24-L149', 'indices.resolve_cluster.ResolveClusterInfo': 'indices/resolve_cluster/ResolveClusterResponse.ts#L29-L55', 'indices.resolve_cluster.Response': 'indices/resolve_cluster/ResolveClusterResponse.ts#L24-L27', -'indices.resolve_index.Request': 'indices/resolve_index/ResolveIndexRequest.ts#L29-L96', +'indices.resolve_index.Request': 'indices/resolve_index/ResolveIndexRequest.ts#L29-L101', 'indices.resolve_index.ResolveIndexAliasItem': 'indices/resolve_index/ResolveIndexResponse.ts#L39-L42', 'indices.resolve_index.ResolveIndexDataStreamsItem': 'indices/resolve_index/ResolveIndexResponse.ts#L44-L48', 'indices.resolve_index.ResolveIndexItem': 'indices/resolve_index/ResolveIndexResponse.ts#L31-L37', @@ -1828,20 +1839,20 @@ 'indices.rollover.Response': 'indices/rollover/IndicesRolloverResponse.ts#L22-L32', 'indices.rollover.RolloverConditions': 'indices/rollover/types.ts#L24-L43', 'indices.segments.IndexSegment': 'indices/segments/types.ts#L24-L26', -'indices.segments.Request': 'indices/segments/IndicesSegmentsRequest.ts#L23-L74', +'indices.segments.Request': 'indices/segments/IndicesSegmentsRequest.ts#L23-L80', 'indices.segments.Response': 'indices/segments/IndicesSegmentsResponse.ts#L24-L29', -'indices.segments.Segment': 'indices/segments/types.ts#L28-L38', -'indices.segments.ShardSegmentRouting': 'indices/segments/types.ts#L40-L44', -'indices.segments.ShardsSegment': 'indices/segments/types.ts#L46-L51', +'indices.segments.Segment': 'indices/segments/types.ts#L28-L62', +'indices.segments.ShardSegmentRouting': 'indices/segments/types.ts#L64-L71', +'indices.segments.ShardsSegment': 'indices/segments/types.ts#L73-L78', 'indices.shard_stores.IndicesShardStores': 'indices/shard_stores/types.ts#L25-L27', -'indices.shard_stores.Request': 'indices/shard_stores/IndicesShardStoresRequest.ts#L24-L84', +'indices.shard_stores.Request': 'indices/shard_stores/IndicesShardStoresRequest.ts#L24-L89', 'indices.shard_stores.Response': 'indices/shard_stores/IndicesShardStoresResponse.ts#L24-L26', -'indices.shard_stores.ShardStore': 'indices/shard_stores/types.ts#L29-L36', -'indices.shard_stores.ShardStoreAllocation': 'indices/shard_stores/types.ts#L47-L51', -'indices.shard_stores.ShardStoreException': 'indices/shard_stores/types.ts#L53-L56', -'indices.shard_stores.ShardStoreNode': 'indices/shard_stores/types.ts#L38-L45', -'indices.shard_stores.ShardStoreStatus': 'indices/shard_stores/types.ts#L62-L71', -'indices.shard_stores.ShardStoreWrapper': 'indices/shard_stores/types.ts#L58-L60', +'indices.shard_stores.ShardStore': 'indices/shard_stores/types.ts#L29-L39', +'indices.shard_stores.ShardStoreAllocation': 'indices/shard_stores/types.ts#L50-L57', +'indices.shard_stores.ShardStoreException': 'indices/shard_stores/types.ts#L59-L62', +'indices.shard_stores.ShardStoreNode': 'indices/shard_stores/types.ts#L41-L48', +'indices.shard_stores.ShardStoreStatus': 'indices/shard_stores/types.ts#L68-L77', +'indices.shard_stores.ShardStoreWrapper': 'indices/shard_stores/types.ts#L64-L66', 'indices.shrink.Request': 'indices/shrink/IndicesShrinkRequest.ts#L27-L118', 'indices.shrink.Response': 'indices/shrink/IndicesShrinkResponse.ts#L22-L28', 'indices.simulate_index_template.Request': 'indices/simulate_index_template/IndicesSimulateIndexTemplateRequest.ts#L25-L74', @@ -1876,105 +1887,106 @@ 'indices.update_aliases.Request': 'indices/update_aliases/IndicesUpdateAliasesRequest.ts#L25-L63', 'indices.update_aliases.Response': 'indices/update_aliases/IndicesUpdateAliasesResponse.ts#L22-L25', 'indices.validate_query.IndicesValidationExplanation': 'indices/validate_query/IndicesValidateQueryResponse.ts#L33-L39', -'indices.validate_query.Request': 'indices/validate_query/IndicesValidateQueryRequest.ts#L25-L125', +'indices.validate_query.Request': 'indices/validate_query/IndicesValidateQueryRequest.ts#L25-L131', 'indices.validate_query.Response': 'indices/validate_query/IndicesValidateQueryResponse.ts#L24-L31', -'inference._types.AdaptiveAllocations': 'inference/_types/CommonTypes.ts#L134-L151', -'inference._types.Ai21ServiceSettings': 'inference/_types/CommonTypes.ts#L647-L670', -'inference._types.Ai21ServiceType': 'inference/_types/CommonTypes.ts#L677-L679', -'inference._types.Ai21TaskType': 'inference/_types/CommonTypes.ts#L672-L675', -'inference._types.AlibabaCloudServiceSettings': 'inference/_types/CommonTypes.ts#L681-L726', -'inference._types.AlibabaCloudServiceType': 'inference/_types/CommonTypes.ts#L751-L753', -'inference._types.AlibabaCloudTaskSettings': 'inference/_types/CommonTypes.ts#L728-L742', -'inference._types.AlibabaCloudTaskType': 'inference/_types/CommonTypes.ts#L744-L749', -'inference._types.AmazonBedrockServiceSettings': 'inference/_types/CommonTypes.ts#L755-L797', -'inference._types.AmazonBedrockServiceType': 'inference/_types/CommonTypes.ts#L831-L833', -'inference._types.AmazonBedrockTaskSettings': 'inference/_types/CommonTypes.ts#L799-L823', -'inference._types.AmazonBedrockTaskType': 'inference/_types/CommonTypes.ts#L825-L829', -'inference._types.AmazonSageMakerApi': 'inference/_types/CommonTypes.ts#L891-L894', -'inference._types.AmazonSageMakerServiceSettings': 'inference/_types/CommonTypes.ts#L835-L889', -'inference._types.AmazonSageMakerServiceType': 'inference/_types/CommonTypes.ts#L974-L976', -'inference._types.AmazonSageMakerTaskSettings': 'inference/_types/CommonTypes.ts#L925-L954', -'inference._types.AnthropicServiceSettings': 'inference/_types/CommonTypes.ts#L978-L994', -'inference._types.AnthropicServiceType': 'inference/_types/CommonTypes.ts#L1027-L1029', -'inference._types.AnthropicTaskSettings': 'inference/_types/CommonTypes.ts#L996-L1021', -'inference._types.AnthropicTaskType': 'inference/_types/CommonTypes.ts#L1023-L1025', -'inference._types.AzureAiStudioServiceSettings': 'inference/_types/CommonTypes.ts#L1031-L1071', -'inference._types.AzureAiStudioServiceType': 'inference/_types/CommonTypes.ts#L1118-L1120', -'inference._types.AzureAiStudioTaskSettings': 'inference/_types/CommonTypes.ts#L1073-L1110', -'inference._types.AzureAiStudioTaskType': 'inference/_types/CommonTypes.ts#L1112-L1116', -'inference._types.AzureOpenAIServiceSettings': 'inference/_types/CommonTypes.ts#L1122-L1165', -'inference._types.AzureOpenAIServiceType': 'inference/_types/CommonTypes.ts#L1181-L1183', -'inference._types.AzureOpenAITaskSettings': 'inference/_types/CommonTypes.ts#L1167-L1173', -'inference._types.AzureOpenAITaskType': 'inference/_types/CommonTypes.ts#L1175-L1179', -'inference._types.BaseReasoningDetail': 'inference/_types/CommonTypes.ts#L404-L421', -'inference._types.CohereEmbeddingType': 'inference/_types/CommonTypes.ts#L1236-L1242', -'inference._types.CohereInputType': 'inference/_types/CommonTypes.ts#L1244-L1249', -'inference._types.CohereServiceSettings': 'inference/_types/CommonTypes.ts#L1185-L1224', -'inference._types.CohereServiceType': 'inference/_types/CommonTypes.ts#L1232-L1234', -'inference._types.CohereSimilarityType': 'inference/_types/CommonTypes.ts#L1251-L1255', -'inference._types.CohereTaskSettings': 'inference/_types/CommonTypes.ts#L1263-L1295', -'inference._types.CohereTaskType': 'inference/_types/CommonTypes.ts#L1226-L1230', -'inference._types.CohereTruncateType': 'inference/_types/CommonTypes.ts#L1257-L1261', +'inference._types.AdaptiveAllocations': 'inference/_types/CommonTypes.ts#L135-L152', +'inference._types.Ai21ServiceSettings': 'inference/_types/Ai21Types.ts#L22-L45', +'inference._types.Ai21ServiceType': 'inference/_types/Ai21Types.ts#L52-L54', +'inference._types.Ai21TaskType': 'inference/_types/Ai21Types.ts#L47-L50', +'inference._types.AlibabaCloudServiceSettings': 'inference/_types/AlibabaCloudTypes.ts#L22-L67', +'inference._types.AlibabaCloudServiceType': 'inference/_types/AlibabaCloudTypes.ts#L92-L94', +'inference._types.AlibabaCloudTaskSettings': 'inference/_types/AlibabaCloudTypes.ts#L69-L83', +'inference._types.AlibabaCloudTaskType': 'inference/_types/AlibabaCloudTypes.ts#L85-L90', +'inference._types.AmazonBedrockServiceSettings': 'inference/_types/AmazonBedrockTypes.ts#L23-L65', +'inference._types.AmazonBedrockServiceType': 'inference/_types/AmazonBedrockTypes.ts#L99-L101', +'inference._types.AmazonBedrockTaskSettings': 'inference/_types/AmazonBedrockTypes.ts#L67-L91', +'inference._types.AmazonBedrockTaskType': 'inference/_types/AmazonBedrockTypes.ts#L93-L97', +'inference._types.AmazonSageMakerApi': 'inference/_types/CommonTypes.ts#L712-L715', +'inference._types.AmazonSageMakerServiceSettings': 'inference/_types/CommonTypes.ts#L656-L710', +'inference._types.AmazonSageMakerServiceType': 'inference/_types/CommonTypes.ts#L795-L797', +'inference._types.AmazonSageMakerTaskSettings': 'inference/_types/CommonTypes.ts#L746-L775', +'inference._types.AnthropicServiceSettings': 'inference/_types/CommonTypes.ts#L799-L815', +'inference._types.AnthropicServiceType': 'inference/_types/CommonTypes.ts#L848-L850', +'inference._types.AnthropicTaskSettings': 'inference/_types/CommonTypes.ts#L817-L842', +'inference._types.AnthropicTaskType': 'inference/_types/CommonTypes.ts#L844-L846', +'inference._types.AzureAiStudioServiceSettings': 'inference/_types/CommonTypes.ts#L852-L892', +'inference._types.AzureAiStudioServiceType': 'inference/_types/CommonTypes.ts#L939-L941', +'inference._types.AzureAiStudioTaskSettings': 'inference/_types/CommonTypes.ts#L894-L931', +'inference._types.AzureAiStudioTaskType': 'inference/_types/CommonTypes.ts#L933-L937', +'inference._types.AzureOpenAIServiceSettings': 'inference/_types/CommonTypes.ts#L943-L1030', +'inference._types.AzureOpenAIServiceType': 'inference/_types/CommonTypes.ts#L1057-L1059', +'inference._types.AzureOpenAITaskSettings': 'inference/_types/CommonTypes.ts#L1032-L1049', +'inference._types.AzureOpenAITaskType': 'inference/_types/CommonTypes.ts#L1051-L1055', +'inference._types.BaseReasoningDetail': 'inference/_types/CommonTypes.ts#L405-L422', +'inference._types.CohereEmbeddingType': 'inference/_types/CommonTypes.ts#L1112-L1118', +'inference._types.CohereInputType': 'inference/_types/CommonTypes.ts#L1120-L1125', +'inference._types.CohereServiceSettings': 'inference/_types/CommonTypes.ts#L1061-L1100', +'inference._types.CohereServiceType': 'inference/_types/CommonTypes.ts#L1108-L1110', +'inference._types.CohereSimilarityType': 'inference/_types/CommonTypes.ts#L1127-L1131', +'inference._types.CohereTaskSettings': 'inference/_types/CommonTypes.ts#L1139-L1171', +'inference._types.CohereTaskType': 'inference/_types/CommonTypes.ts#L1102-L1106', +'inference._types.CohereTruncateType': 'inference/_types/CommonTypes.ts#L1133-L1137', 'inference._types.CompletionInferenceResult': 'inference/_types/Results.ts#L98-L103', 'inference._types.CompletionResult': 'inference/_types/Results.ts#L91-L96', -'inference._types.CompletionTool': 'inference/_types/CommonTypes.ts#L512-L524', -'inference._types.CompletionToolChoice': 'inference/_types/CommonTypes.ts#L475-L487', -'inference._types.CompletionToolChoiceFunction': 'inference/_types/CommonTypes.ts#L464-L473', -'inference._types.CompletionToolFunction': 'inference/_types/CommonTypes.ts#L489-L510', -'inference._types.CompletionToolType': 'inference/_types/CommonTypes.ts#L153-L156', -'inference._types.ContentObject': 'inference/_types/CommonTypes.ts#L158-L179', -'inference._types.ContentType': 'inference/_types/CommonTypes.ts#L181-L185', -'inference._types.ContextualAIServiceSettings': 'inference/_types/CommonTypes.ts#L1574-L1595', -'inference._types.ContextualAIServiceType': 'inference/_types/CommonTypes.ts#L1570-L1572', -'inference._types.ContextualAITaskSettings': 'inference/_types/CommonTypes.ts#L1597-L1615', -'inference._types.CustomRequestParams': 'inference/_types/CommonTypes.ts#L1374-L1385', -'inference._types.CustomResponseParams': 'inference/_types/CommonTypes.ts#L1387-L1541', -'inference._types.CustomServiceSettings': 'inference/_types/CommonTypes.ts#L1297-L1372', -'inference._types.CustomServiceType': 'inference/_types/CommonTypes.ts#L1550-L1552', -'inference._types.CustomTaskSettings': 'inference/_types/CommonTypes.ts#L1554-L1568', -'inference._types.CustomTaskType': 'inference/_types/CommonTypes.ts#L1543-L1548', -'inference._types.DeepSeekServiceSettings': 'inference/_types/CommonTypes.ts#L1617-L1637', -'inference._types.DeepSeekServiceType': 'inference/_types/CommonTypes.ts#L1639-L1641', +'inference._types.CompletionTool': 'inference/_types/CommonTypes.ts#L513-L525', +'inference._types.CompletionToolChoice': 'inference/_types/CommonTypes.ts#L476-L488', +'inference._types.CompletionToolChoiceFunction': 'inference/_types/CommonTypes.ts#L465-L474', +'inference._types.CompletionToolFunction': 'inference/_types/CommonTypes.ts#L490-L511', +'inference._types.CompletionToolType': 'inference/_types/CommonTypes.ts#L154-L157', +'inference._types.ContentObject': 'inference/_types/CommonTypes.ts#L159-L180', +'inference._types.ContentType': 'inference/_types/CommonTypes.ts#L182-L186', +'inference._types.ContextualAIServiceSettings': 'inference/_types/CommonTypes.ts#L1461-L1482', +'inference._types.ContextualAIServiceType': 'inference/_types/CommonTypes.ts#L1457-L1459', +'inference._types.ContextualAITaskSettings': 'inference/_types/CommonTypes.ts#L1484-L1496', +'inference._types.CustomRequestParams': 'inference/_types/CommonTypes.ts#L1259-L1270', +'inference._types.CustomResponseParams': 'inference/_types/CommonTypes.ts#L1272-L1426', +'inference._types.CustomServiceInputType': 'inference/_types/CommonTypes.ts#L1173-L1178', +'inference._types.CustomServiceSettings': 'inference/_types/CommonTypes.ts#L1182-L1257', +'inference._types.CustomServiceType': 'inference/_types/CommonTypes.ts#L1435-L1437', +'inference._types.CustomTaskSettings': 'inference/_types/CommonTypes.ts#L1441-L1455', +'inference._types.CustomTaskType': 'inference/_types/CommonTypes.ts#L1428-L1433', +'inference._types.DeepSeekServiceSettings': 'inference/_types/CommonTypes.ts#L1498-L1518', +'inference._types.DeepSeekServiceType': 'inference/_types/CommonTypes.ts#L1520-L1522', 'inference._types.DeleteInferenceEndpointResult': 'inference/_types/Results.ts#L124-L129', 'inference._types.DenseEmbeddingByteResult': 'inference/_types/Results.ts#L57-L62', 'inference._types.DenseEmbeddingResult': 'inference/_types/Results.ts#L64-L69', -'inference._types.ElasticsearchServiceSettings': 'inference/_types/CommonTypes.ts#L1643-L1699', -'inference._types.ElasticsearchServiceType': 'inference/_types/CommonTypes.ts#L1715-L1717', -'inference._types.ElasticsearchTaskSettings': 'inference/_types/CommonTypes.ts#L1701-L1707', -'inference._types.ElasticsearchTaskType': 'inference/_types/CommonTypes.ts#L1709-L1713', -'inference._types.ElserServiceSettings': 'inference/_types/CommonTypes.ts#L1719-L1745', -'inference._types.ElserServiceType': 'inference/_types/CommonTypes.ts#L1751-L1753', -'inference._types.ElserTaskType': 'inference/_types/CommonTypes.ts#L1747-L1749', -'inference._types.EmbeddingContentFormat': 'inference/_types/CommonTypes.ts#L642-L645', -'inference._types.EmbeddingContentObject': 'inference/_types/CommonTypes.ts#L609-L617', -'inference._types.EmbeddingContentObjectContents': 'inference/_types/CommonTypes.ts#L619-L635', -'inference._types.EmbeddingContentType': 'inference/_types/CommonTypes.ts#L637-L640', +'inference._types.ElasticsearchServiceSettings': 'inference/_types/CommonTypes.ts#L1524-L1580', +'inference._types.ElasticsearchServiceType': 'inference/_types/CommonTypes.ts#L1596-L1598', +'inference._types.ElasticsearchTaskSettings': 'inference/_types/CommonTypes.ts#L1582-L1588', +'inference._types.ElasticsearchTaskType': 'inference/_types/CommonTypes.ts#L1590-L1594', +'inference._types.ElserServiceSettings': 'inference/_types/CommonTypes.ts#L1600-L1626', +'inference._types.ElserServiceType': 'inference/_types/CommonTypes.ts#L1632-L1634', +'inference._types.ElserTaskType': 'inference/_types/CommonTypes.ts#L1628-L1630', +'inference._types.EmbeddingContentFormat': 'inference/_types/CommonTypes.ts#L647-L654', +'inference._types.EmbeddingContentObject': 'inference/_types/CommonTypes.ts#L610-L618', +'inference._types.EmbeddingContentObjectContents': 'inference/_types/CommonTypes.ts#L620-L637', +'inference._types.EmbeddingContentType': 'inference/_types/CommonTypes.ts#L639-L645', 'inference._types.EmbeddingInferenceResult': 'inference/_types/Results.ts#L81-L89', -'inference._types.EmbeddingInput': 'inference/_types/CommonTypes.ts#L590-L595', -'inference._types.EncryptedReasoningDetail': 'inference/_types/CommonTypes.ts#L423-L433', -'inference._types.FileContent': 'inference/_types/CommonTypes.ts#L204-L213', -'inference._types.FireworksAIServiceSettings': 'inference/_types/CommonTypes.ts#L2288-L2328', -'inference._types.FireworksAIServiceType': 'inference/_types/CommonTypes.ts#L2336-L2338', -'inference._types.FireworksAISimilarityType': 'inference/_types/CommonTypes.ts#L2340-L2344', -'inference._types.FireworksAITaskSettings': 'inference/_types/CommonTypes.ts#L2346-L2363', -'inference._types.FireworksAITaskType': 'inference/_types/CommonTypes.ts#L2330-L2334', -'inference._types.GoogleAiServiceType': 'inference/_types/CommonTypes.ts#L1778-L1780', -'inference._types.GoogleAiStudioServiceSettings': 'inference/_types/CommonTypes.ts#L1755-L1771', -'inference._types.GoogleAiStudioTaskType': 'inference/_types/CommonTypes.ts#L1773-L1776', -'inference._types.GoogleModelGardenProvider': 'inference/_types/CommonTypes.ts#L1869-L1876', -'inference._types.GoogleVertexAIServiceSettings': 'inference/_types/CommonTypes.ts#L1782-L1867', -'inference._types.GoogleVertexAIServiceType': 'inference/_types/CommonTypes.ts#L1917-L1919', -'inference._types.GoogleVertexAITaskSettings': 'inference/_types/CommonTypes.ts#L1878-L1901', -'inference._types.GoogleVertexAITaskType': 'inference/_types/CommonTypes.ts#L1910-L1915', -'inference._types.GroqServiceSettings': 'inference/_types/CommonTypes.ts#L1921-L1943', -'inference._types.GroqServiceType': 'inference/_types/CommonTypes.ts#L1949-L1951', -'inference._types.GroqTaskType': 'inference/_types/CommonTypes.ts#L1945-L1947', -'inference._types.HuggingFaceServiceSettings': 'inference/_types/CommonTypes.ts#L1953-L1983', -'inference._types.HuggingFaceServiceType': 'inference/_types/CommonTypes.ts#L2004-L2006', -'inference._types.HuggingFaceTaskSettings': 'inference/_types/CommonTypes.ts#L1985-L1995', -'inference._types.HuggingFaceTaskType': 'inference/_types/CommonTypes.ts#L1997-L2002', -'inference._types.ImageUrl': 'inference/_types/CommonTypes.ts#L187-L196', -'inference._types.ImageUrlDetail': 'inference/_types/CommonTypes.ts#L198-L202', +'inference._types.EmbeddingInput': 'inference/_types/CommonTypes.ts#L591-L596', +'inference._types.EncryptedReasoningDetail': 'inference/_types/CommonTypes.ts#L424-L434', +'inference._types.FileContent': 'inference/_types/CommonTypes.ts#L205-L214', +'inference._types.FireworksAIServiceSettings': 'inference/_types/CommonTypes.ts#L2048-L2088', +'inference._types.FireworksAIServiceType': 'inference/_types/CommonTypes.ts#L2096-L2098', +'inference._types.FireworksAISimilarityType': 'inference/_types/CommonTypes.ts#L2100-L2104', +'inference._types.FireworksAITaskSettings': 'inference/_types/CommonTypes.ts#L2106-L2123', +'inference._types.FireworksAITaskType': 'inference/_types/CommonTypes.ts#L2090-L2094', +'inference._types.GoogleAiServiceType': 'inference/_types/CommonTypes.ts#L1659-L1661', +'inference._types.GoogleAiStudioServiceSettings': 'inference/_types/CommonTypes.ts#L1636-L1652', +'inference._types.GoogleAiStudioTaskType': 'inference/_types/CommonTypes.ts#L1654-L1657', +'inference._types.GoogleModelGardenProvider': 'inference/_types/CommonTypes.ts#L1750-L1757', +'inference._types.GoogleVertexAIServiceSettings': 'inference/_types/CommonTypes.ts#L1663-L1748', +'inference._types.GoogleVertexAIServiceType': 'inference/_types/CommonTypes.ts#L1798-L1800', +'inference._types.GoogleVertexAITaskSettings': 'inference/_types/CommonTypes.ts#L1759-L1782', +'inference._types.GoogleVertexAITaskType': 'inference/_types/CommonTypes.ts#L1791-L1796', +'inference._types.GroqServiceSettings': 'inference/_types/CommonTypes.ts#L1802-L1824', +'inference._types.GroqServiceType': 'inference/_types/CommonTypes.ts#L1830-L1832', +'inference._types.GroqTaskType': 'inference/_types/CommonTypes.ts#L1826-L1828', +'inference._types.HuggingFaceServiceSettings': 'inference/_types/CommonTypes.ts#L1834-L1864', +'inference._types.HuggingFaceServiceType': 'inference/_types/CommonTypes.ts#L1885-L1887', +'inference._types.HuggingFaceTaskSettings': 'inference/_types/CommonTypes.ts#L1866-L1876', +'inference._types.HuggingFaceTaskType': 'inference/_types/CommonTypes.ts#L1878-L1883', +'inference._types.ImageUrl': 'inference/_types/CommonTypes.ts#L188-L197', +'inference._types.ImageUrlDetail': 'inference/_types/CommonTypes.ts#L199-L203', 'inference._types.InferenceChunkingSettings': 'inference/_types/Services.ts#L375-L434', 'inference._types.InferenceEndpoint': 'inference/_types/Services.ts#L52-L74', 'inference._types.InferenceEndpointInfo': 'inference/_types/Services.ts#L76-L88', @@ -2005,50 +2017,50 @@ 'inference._types.InferenceEndpointInfoVoyageAI': 'inference/_types/Services.ts#L353-L362', 'inference._types.InferenceEndpointInfoWatsonx': 'inference/_types/Services.ts#L364-L373', 'inference._types.InferenceResult': 'inference/_types/Results.ts#L131-L145', -'inference._types.JinaAIElementType': 'inference/_types/CommonTypes.ts#L2113-L2117', -'inference._types.JinaAIServiceSettings': 'inference/_types/CommonTypes.ts#L2008-L2056', -'inference._types.JinaAIServiceType': 'inference/_types/CommonTypes.ts#L2096-L2098', -'inference._types.JinaAISimilarityType': 'inference/_types/CommonTypes.ts#L2100-L2104', -'inference._types.JinaAITaskSettings': 'inference/_types/CommonTypes.ts#L2058-L2088', -'inference._types.JinaAITaskType': 'inference/_types/CommonTypes.ts#L2090-L2094', -'inference._types.JinaAITextEmbeddingTask': 'inference/_types/CommonTypes.ts#L2106-L2111', -'inference._types.LlamaServiceSettings': 'inference/_types/CommonTypes.ts#L2119-L2149', -'inference._types.LlamaServiceType': 'inference/_types/CommonTypes.ts#L2157-L2159', -'inference._types.LlamaSimilarityType': 'inference/_types/CommonTypes.ts#L2161-L2165', -'inference._types.LlamaTaskType': 'inference/_types/CommonTypes.ts#L2151-L2155', -'inference._types.Message': 'inference/_types/CommonTypes.ts#L299-L392', -'inference._types.MessageContent': 'inference/_types/CommonTypes.ts#L294-L297', -'inference._types.MistralServiceSettings': 'inference/_types/CommonTypes.ts#L2167-L2192', -'inference._types.MistralServiceType': 'inference/_types/CommonTypes.ts#L2200-L2202', -'inference._types.MistralTaskType': 'inference/_types/CommonTypes.ts#L2194-L2198', -'inference._types.NvidiaInputType': 'inference/_types/CommonTypes.ts#L2283-L2286', -'inference._types.NvidiaServiceSettings': 'inference/_types/CommonTypes.ts#L2204-L2242', -'inference._types.NvidiaServiceType': 'inference/_types/CommonTypes.ts#L2251-L2253', -'inference._types.NvidiaSimilarityType': 'inference/_types/CommonTypes.ts#L2255-L2259', -'inference._types.NvidiaTaskSettings': 'inference/_types/CommonTypes.ts#L2261-L2281', -'inference._types.NvidiaTaskType': 'inference/_types/CommonTypes.ts#L2244-L2249', -'inference._types.OpenAIServiceSettings': 'inference/_types/CommonTypes.ts#L2365-L2409', -'inference._types.OpenAIServiceType': 'inference/_types/CommonTypes.ts#L2442-L2444', -'inference._types.OpenAISimilarityType': 'inference/_types/CommonTypes.ts#L2411-L2415', -'inference._types.OpenAITaskSettings': 'inference/_types/CommonTypes.ts#L2417-L2434', -'inference._types.OpenAITaskType': 'inference/_types/CommonTypes.ts#L2436-L2440', -'inference._types.OpenShiftAiServiceSettings': 'inference/_types/CommonTypes.ts#L2446-L2479', -'inference._types.OpenShiftAiServiceType': 'inference/_types/CommonTypes.ts#L2488-L2490', -'inference._types.OpenShiftAiSimilarityType': 'inference/_types/CommonTypes.ts#L2492-L2496', -'inference._types.OpenShiftAiTaskSettings': 'inference/_types/CommonTypes.ts#L2498-L2507', -'inference._types.OpenShiftAiTaskType': 'inference/_types/CommonTypes.ts#L2481-L2486', +'inference._types.JinaAIElementType': 'inference/_types/CommonTypes.ts#L1994-L1998', +'inference._types.JinaAIServiceSettings': 'inference/_types/CommonTypes.ts#L1889-L1937', +'inference._types.JinaAIServiceType': 'inference/_types/CommonTypes.ts#L1977-L1979', +'inference._types.JinaAISimilarityType': 'inference/_types/CommonTypes.ts#L1981-L1985', +'inference._types.JinaAITaskSettings': 'inference/_types/CommonTypes.ts#L1939-L1969', +'inference._types.JinaAITaskType': 'inference/_types/CommonTypes.ts#L1971-L1975', +'inference._types.JinaAITextEmbeddingTask': 'inference/_types/CommonTypes.ts#L1987-L1992', +'inference._types.LlamaServiceSettings': 'inference/_types/CommonTypes.ts#L2000-L2030', +'inference._types.LlamaServiceType': 'inference/_types/CommonTypes.ts#L2038-L2040', +'inference._types.LlamaSimilarityType': 'inference/_types/CommonTypes.ts#L2042-L2046', +'inference._types.LlamaTaskType': 'inference/_types/CommonTypes.ts#L2032-L2036', +'inference._types.Message': 'inference/_types/CommonTypes.ts#L300-L393', +'inference._types.MessageContent': 'inference/_types/CommonTypes.ts#L295-L298', +'inference._types.MistralServiceSettings': 'inference/_types/MistralTypes.ts#L23-L48', +'inference._types.MistralServiceType': 'inference/_types/MistralTypes.ts#L56-L58', +'inference._types.MistralTaskType': 'inference/_types/MistralTypes.ts#L50-L54', +'inference._types.NvidiaInputType': 'inference/_types/NvidiaTypes.ts#L103-L106', +'inference._types.NvidiaServiceSettings': 'inference/_types/NvidiaTypes.ts#L24-L62', +'inference._types.NvidiaServiceType': 'inference/_types/NvidiaTypes.ts#L71-L73', +'inference._types.NvidiaSimilarityType': 'inference/_types/NvidiaTypes.ts#L75-L79', +'inference._types.NvidiaTaskSettings': 'inference/_types/NvidiaTypes.ts#L81-L101', +'inference._types.NvidiaTaskType': 'inference/_types/NvidiaTypes.ts#L64-L69', +'inference._types.OpenAIServiceSettings': 'inference/_types/CommonTypes.ts#L2125-L2169', +'inference._types.OpenAIServiceType': 'inference/_types/CommonTypes.ts#L2202-L2204', +'inference._types.OpenAISimilarityType': 'inference/_types/CommonTypes.ts#L2171-L2175', +'inference._types.OpenAITaskSettings': 'inference/_types/CommonTypes.ts#L2177-L2194', +'inference._types.OpenAITaskType': 'inference/_types/CommonTypes.ts#L2196-L2200', +'inference._types.OpenShiftAiServiceSettings': 'inference/_types/CommonTypes.ts#L2206-L2239', +'inference._types.OpenShiftAiServiceType': 'inference/_types/CommonTypes.ts#L2248-L2250', +'inference._types.OpenShiftAiSimilarityType': 'inference/_types/CommonTypes.ts#L2252-L2256', +'inference._types.OpenShiftAiTaskSettings': 'inference/_types/CommonTypes.ts#L2258-L2267', +'inference._types.OpenShiftAiTaskType': 'inference/_types/CommonTypes.ts#L2241-L2246', 'inference._types.RankedDocument': 'inference/_types/Results.ts#L105-L115', 'inference._types.RateLimitSetting': 'inference/_types/Services.ts#L440-L471', -'inference._types.Reasoning': 'inference/_types/CommonTypes.ts#L215-L245', -'inference._types.ReasoningDetail': 'inference/_types/CommonTypes.ts#L394-L402', -'inference._types.ReasoningEffort': 'inference/_types/CommonTypes.ts#L247-L254', -'inference._types.ReasoningSummary': 'inference/_types/CommonTypes.ts#L256-L260', -'inference._types.RequestChatCompletion': 'inference/_types/CommonTypes.ts#L25-L132', -'inference._types.RequestEmbedding': 'inference/_types/CommonTypes.ts#L526-L588', +'inference._types.Reasoning': 'inference/_types/CommonTypes.ts#L216-L246', +'inference._types.ReasoningDetail': 'inference/_types/CommonTypes.ts#L395-L403', +'inference._types.ReasoningEffort': 'inference/_types/CommonTypes.ts#L248-L255', +'inference._types.ReasoningSummary': 'inference/_types/CommonTypes.ts#L257-L261', +'inference._types.RequestChatCompletion': 'inference/_types/CommonTypes.ts#L26-L133', +'inference._types.RequestEmbedding': 'inference/_types/CommonTypes.ts#L527-L589', 'inference._types.RerankedInferenceResult': 'inference/_types/Results.ts#L117-L122', 'inference._types.SparseEmbeddingInferenceResult': 'inference/_types/Results.ts#L44-L49', 'inference._types.SparseEmbeddingResult': 'inference/_types/Results.ts#L36-L42', -'inference._types.SummaryReasoningDetail': 'inference/_types/CommonTypes.ts#L435-L445', +'inference._types.SummaryReasoningDetail': 'inference/_types/CommonTypes.ts#L436-L446', 'inference._types.TaskType': 'inference/_types/TaskType.ts#L20-L30', 'inference._types.TaskTypeAi21': 'inference/_types/TaskType.ts#L38-L41', 'inference._types.TaskTypeAlibabaCloudAI': 'inference/_types/TaskType.ts#L43-L48', @@ -2077,17 +2089,17 @@ 'inference._types.TaskTypeVoyageAI': 'inference/_types/TaskType.ts#L167-L170', 'inference._types.TaskTypeWatsonx': 'inference/_types/TaskType.ts#L178-L182', 'inference._types.TextEmbeddingInferenceResult': 'inference/_types/Results.ts#L71-L79', -'inference._types.TextReasoningDetail': 'inference/_types/CommonTypes.ts#L447-L462', -'inference._types.ThinkingConfig': 'inference/_types/CommonTypes.ts#L1903-L1908', -'inference._types.ToolCall': 'inference/_types/CommonTypes.ts#L276-L292', -'inference._types.ToolCallFunction': 'inference/_types/CommonTypes.ts#L262-L274', -'inference._types.VoyageAIServiceSettings': 'inference/_types/CommonTypes.ts#L2509-L2540', -'inference._types.VoyageAIServiceType': 'inference/_types/CommonTypes.ts#L2573-L2575', -'inference._types.VoyageAITaskSettings': 'inference/_types/CommonTypes.ts#L2542-L2566', -'inference._types.VoyageAITaskType': 'inference/_types/CommonTypes.ts#L2568-L2571', -'inference._types.WatsonxServiceSettings': 'inference/_types/CommonTypes.ts#L2577-L2613', -'inference._types.WatsonxServiceType': 'inference/_types/CommonTypes.ts#L2622-L2624', -'inference._types.WatsonxTaskType': 'inference/_types/CommonTypes.ts#L2615-L2620', +'inference._types.TextReasoningDetail': 'inference/_types/CommonTypes.ts#L448-L463', +'inference._types.ThinkingConfig': 'inference/_types/CommonTypes.ts#L1784-L1789', +'inference._types.ToolCall': 'inference/_types/CommonTypes.ts#L277-L293', +'inference._types.ToolCallFunction': 'inference/_types/CommonTypes.ts#L263-L275', +'inference._types.VoyageAIServiceSettings': 'inference/_types/CommonTypes.ts#L2269-L2300', +'inference._types.VoyageAIServiceType': 'inference/_types/CommonTypes.ts#L2333-L2335', +'inference._types.VoyageAITaskSettings': 'inference/_types/CommonTypes.ts#L2302-L2326', +'inference._types.VoyageAITaskType': 'inference/_types/CommonTypes.ts#L2328-L2331', +'inference._types.WatsonxServiceSettings': 'inference/_types/CommonTypes.ts#L2337-L2373', +'inference._types.WatsonxServiceType': 'inference/_types/CommonTypes.ts#L2382-L2384', +'inference._types.WatsonxTaskType': 'inference/_types/CommonTypes.ts#L2375-L2380', 'inference.chat_completion_unified.Request': 'inference/chat_completion_unified/UnifiedRequest.ts#L24-L63', 'inference.chat_completion_unified.Response': 'inference/chat_completion_unified/UnifiedResponse.ts#L22-L25', 'inference.completion.Request': 'inference/completion/CompletionRequest.ts#L25-L72', @@ -2192,50 +2204,50 @@ 'ingest._types.GeoGridTargetFormat': 'ingest/_types/Processors.ts#L460-L463', 'ingest._types.GeoGridTileType': 'ingest/_types/Processors.ts#L454-L458', 'ingest._types.GeoIpProcessor': 'ingest/_types/Processors.ts#L465-L499', -'ingest._types.GrokProcessor': 'ingest/_types/Processors.ts#L1001-L1032', -'ingest._types.GsubProcessor': 'ingest/_types/Processors.ts#L1034-L1058', -'ingest._types.HtmlStripProcessor': 'ingest/_types/Processors.ts#L1060-L1076', -'ingest._types.InferenceConfig': 'ingest/_types/Processors.ts#L1117-L1129', -'ingest._types.InferenceConfigClassification': 'ingest/_types/Processors.ts#L1144-L1170', -'ingest._types.InferenceConfigRegression': 'ingest/_types/Processors.ts#L1131-L1142', -'ingest._types.InferenceProcessor': 'ingest/_types/Processors.ts#L1078-L1110', +'ingest._types.GrokProcessor': 'ingest/_types/Processors.ts#L1001-L1039', +'ingest._types.GsubProcessor': 'ingest/_types/Processors.ts#L1041-L1065', +'ingest._types.HtmlStripProcessor': 'ingest/_types/Processors.ts#L1067-L1083', +'ingest._types.InferenceConfig': 'ingest/_types/Processors.ts#L1124-L1136', +'ingest._types.InferenceConfigClassification': 'ingest/_types/Processors.ts#L1151-L1177', +'ingest._types.InferenceConfigRegression': 'ingest/_types/Processors.ts#L1138-L1149', +'ingest._types.InferenceProcessor': 'ingest/_types/Processors.ts#L1085-L1117', 'ingest._types.Ingest': 'ingest/_types/Simulation.ts#L28-L36', -'ingest._types.InputConfig': 'ingest/_types/Processors.ts#L1112-L1115', +'ingest._types.InputConfig': 'ingest/_types/Processors.ts#L1119-L1122', 'ingest._types.IpLocationProcessor': 'ingest/_types/Processors.ts#L501-L535', 'ingest._types.Ipinfo': 'ingest/_types/Database.ts#L59-L59', -'ingest._types.JoinProcessor': 'ingest/_types/Processors.ts#L1172-L1187', -'ingest._types.JsonProcessor': 'ingest/_types/Processors.ts#L1189-L1218', -'ingest._types.JsonProcessorConflictStrategy': 'ingest/_types/Processors.ts#L1220-L1225', -'ingest._types.KeyValueProcessor': 'ingest/_types/Processors.ts#L1227-L1279', +'ingest._types.JoinProcessor': 'ingest/_types/Processors.ts#L1179-L1194', +'ingest._types.JsonProcessor': 'ingest/_types/Processors.ts#L1196-L1225', +'ingest._types.JsonProcessorConflictStrategy': 'ingest/_types/Processors.ts#L1227-L1232', +'ingest._types.KeyValueProcessor': 'ingest/_types/Processors.ts#L1234-L1286', 'ingest._types.Local': 'ingest/_types/Database.ts#L63-L65', -'ingest._types.LowercaseProcessor': 'ingest/_types/Processors.ts#L1281-L1297', +'ingest._types.LowercaseProcessor': 'ingest/_types/Processors.ts#L1288-L1304', 'ingest._types.Maxmind': 'ingest/_types/Database.ts#L55-L57', -'ingest._types.NetworkDirectionProcessor': 'ingest/_types/Processors.ts#L1299-L1333', +'ingest._types.NetworkDirectionProcessor': 'ingest/_types/Processors.ts#L1306-L1340', 'ingest._types.Pipeline': 'ingest/_types/Pipeline.ts#L24-L83', 'ingest._types.PipelineConfig': 'ingest/_types/Pipeline.ts#L99-L113', -'ingest._types.PipelineProcessor': 'ingest/_types/Processors.ts#L1335-L1346', +'ingest._types.PipelineProcessor': 'ingest/_types/Processors.ts#L1342-L1353', 'ingest._types.PipelineProcessorResult': 'ingest/_types/Simulation.ts#L59-L67', 'ingest._types.PipelineSimulationStatusOptions': 'ingest/_types/Simulation.ts#L51-L57', 'ingest._types.ProcessorBase': 'ingest/_types/Processors.ts#L309-L332', 'ingest._types.ProcessorContainer': 'ingest/_types/Processors.ts#L28-L307', 'ingest._types.Redact': 'ingest/_types/Simulation.ts#L38-L43', -'ingest._types.RedactProcessor': 'ingest/_types/Processors.ts#L1348-L1389', -'ingest._types.RegisteredDomainProcessor': 'ingest/_types/Processors.ts#L1391-L1407', -'ingest._types.RemoveProcessor': 'ingest/_types/Processors.ts#L1409-L1423', -'ingest._types.RenameProcessor': 'ingest/_types/Processors.ts#L1425-L1441', -'ingest._types.RerouteProcessor': 'ingest/_types/Processors.ts#L1443-L1471', -'ingest._types.ScriptProcessor': 'ingest/_types/Processors.ts#L1473-L1493', -'ingest._types.SetProcessor': 'ingest/_types/Processors.ts#L1495-L1530', -'ingest._types.SetSecurityUserProcessor': 'ingest/_types/Processors.ts#L1532-L1541', -'ingest._types.ShapeType': 'ingest/_types/Processors.ts#L1543-L1546', +'ingest._types.RedactProcessor': 'ingest/_types/Processors.ts#L1355-L1396', +'ingest._types.RegisteredDomainProcessor': 'ingest/_types/Processors.ts#L1398-L1414', +'ingest._types.RemoveProcessor': 'ingest/_types/Processors.ts#L1416-L1430', +'ingest._types.RenameProcessor': 'ingest/_types/Processors.ts#L1432-L1448', +'ingest._types.RerouteProcessor': 'ingest/_types/Processors.ts#L1450-L1478', +'ingest._types.ScriptProcessor': 'ingest/_types/Processors.ts#L1480-L1500', +'ingest._types.SetProcessor': 'ingest/_types/Processors.ts#L1502-L1537', +'ingest._types.SetSecurityUserProcessor': 'ingest/_types/Processors.ts#L1539-L1548', +'ingest._types.ShapeType': 'ingest/_types/Processors.ts#L1550-L1553', 'ingest._types.SimulateDocumentResult': 'ingest/_types/Simulation.ts#L45-L49', -'ingest._types.SortProcessor': 'ingest/_types/Processors.ts#L1548-L1564', -'ingest._types.SplitProcessor': 'ingest/_types/Processors.ts#L1566-L1591', -'ingest._types.TerminateProcessor': 'ingest/_types/Processors.ts#L1593-L1593', -'ingest._types.TrimProcessor': 'ingest/_types/Processors.ts#L1595-L1611', -'ingest._types.UppercaseProcessor': 'ingest/_types/Processors.ts#L1613-L1629', -'ingest._types.UriPartsProcessor': 'ingest/_types/Processors.ts#L1649-L1675', -'ingest._types.UrlDecodeProcessor': 'ingest/_types/Processors.ts#L1631-L1647', +'ingest._types.SortProcessor': 'ingest/_types/Processors.ts#L1555-L1571', +'ingest._types.SplitProcessor': 'ingest/_types/Processors.ts#L1573-L1598', +'ingest._types.TerminateProcessor': 'ingest/_types/Processors.ts#L1600-L1600', +'ingest._types.TrimProcessor': 'ingest/_types/Processors.ts#L1602-L1618', +'ingest._types.UppercaseProcessor': 'ingest/_types/Processors.ts#L1620-L1636', +'ingest._types.UriPartsProcessor': 'ingest/_types/Processors.ts#L1656-L1682', +'ingest._types.UrlDecodeProcessor': 'ingest/_types/Processors.ts#L1638-L1654', 'ingest._types.UserAgentProcessor': 'ingest/_types/Processors.ts#L537-L568', 'ingest._types.UserAgentProperty': 'ingest/_types/Processors.ts#L570-L576', 'ingest._types.Web': 'ingest/_types/Database.ts#L61-L61', @@ -2597,11 +2609,11 @@ 'ml.put_calendar_job.Response': 'ml/put_calendar_job/MlPutCalendarJobResponse.ts#L22-L31', 'ml.put_data_frame_analytics.Request': 'ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L36-L164', 'ml.put_data_frame_analytics.Response': 'ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L47', -'ml.put_datafeed.Request': 'ml/put_datafeed/MlPutDatafeedRequest.ts#L38-L188', +'ml.put_datafeed.Request': 'ml/put_datafeed/MlPutDatafeedRequest.ts#L38-L194', 'ml.put_datafeed.Response': 'ml/put_datafeed/MlPutDatafeedResponse.ts#L31-L49', 'ml.put_filter.Request': 'ml/put_filter/MlPutFilterRequest.ts#L23-L61', 'ml.put_filter.Response': 'ml/put_filter/MlPutFilterResponse.ts#L22-L28', -'ml.put_job.Request': 'ml/put_job/MlPutJobRequest.ts#L30-L153', +'ml.put_job.Request': 'ml/put_job/MlPutJobRequest.ts#L30-L159', 'ml.put_job.Response': 'ml/put_job/MlPutJobResponse.ts#L29-L52', 'ml.put_trained_model.AggregateOutput': 'ml/put_trained_model/types.ts#L101-L106', 'ml.put_trained_model.Definition': 'ml/put_trained_model/types.ts#L24-L29', @@ -2643,7 +2655,7 @@ 'ml.stop_trained_model_deployment.Response': 'ml/stop_trained_model_deployment/MlStopTrainedModelDeploymentResponse.ts#L20-L22', 'ml.update_data_frame_analytics.Request': 'ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsRequest.ts#L24-L83', 'ml.update_data_frame_analytics.Response': 'ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsResponse.ts#L30-L45', -'ml.update_datafeed.Request': 'ml/update_datafeed/MlUpdateDatafeedRequest.ts#L31-L167', +'ml.update_datafeed.Request': 'ml/update_datafeed/MlUpdateDatafeedRequest.ts#L31-L173', 'ml.update_datafeed.Response': 'ml/update_datafeed/MlUpdateDatafeedResponse.ts#L31-L52', 'ml.update_filter.Request': 'ml/update_filter/MlUpdateFilterRequest.ts#L23-L63', 'ml.update_filter.Response': 'ml/update_filter/MlUpdateFilterResponse.ts#L22-L28', @@ -2896,7 +2908,7 @@ 'searchable_snapshots.cache_stats.Request': 'searchable_snapshots/cache_stats/Request.ts#L23-L51', 'searchable_snapshots.cache_stats.Response': 'searchable_snapshots/cache_stats/Response.ts#L24-L28', 'searchable_snapshots.cache_stats.Shared': 'searchable_snapshots/cache_stats/Response.ts#L34-L43', -'searchable_snapshots.clear_cache.Request': 'searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheRequest.ts#L23-L69', +'searchable_snapshots.clear_cache.Request': 'searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheRequest.ts#L23-L75', 'searchable_snapshots.clear_cache.Response': 'searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheResponse.ts#L22-L25', 'searchable_snapshots.mount.MountedSnapshot': 'searchable_snapshots/mount/types.ts#L23-L27', 'searchable_snapshots.mount.Request': 'searchable_snapshots/mount/SearchableSnapshotsMountRequest.ts#L27-L97', @@ -2906,7 +2918,6 @@ 'searchable_snapshots.stats.Response': 'searchable_snapshots/stats/SearchableSnapshotsStatsResponse.ts#L22-L27', 'security._types.Access': 'security/_types/Access.ts#L22-L31', 'security._types.ApiKey': 'security/_types/ApiKey.ts#L27-L120', -'security._types.ApiKeyManagedBy': 'security/_types/ApiKey.ts#L127-L130', 'security._types.ApiKeyType': 'security/_types/ApiKey.ts#L122-L125', 'security._types.ApplicationGlobalUserPrivileges': 'security/_types/Privileges.ts#L412-L414', 'security._types.ApplicationPrivileges': 'security/_types/Privileges.ts#L28-L41', @@ -2914,6 +2925,7 @@ 'security._types.ClusterNode': 'security/_types/ClusterNode.ts#L22-L24', 'security._types.ClusterPrivilege': 'security/_types/Privileges.ts#L43-L210', 'security._types.CreatedStatus': 'security/_types/CreatedStatus.ts#L20-L22', +'security._types.CredentialManagedBy': 'security/_types/CredentialManagedBy.ts#L20-L23', 'security._types.FieldSecurity': 'security/_types/FieldSecurity.ts#L22-L25', 'security._types.GlobalPrivilege': 'security/_types/Privileges.ts#L408-L410', 'security._types.GrantType': 'security/_types/GrantType.ts#L20-L30', @@ -2953,7 +2965,7 @@ 'security.authenticate.AuthenticateApiKey': 'security/authenticate/SecurityAuthenticateResponse.ts#L45-L50', 'security.authenticate.Request': 'security/authenticate/SecurityAuthenticateRequest.ts#L23-L43', 'security.authenticate.Response': 'security/authenticate/SecurityAuthenticateResponse.ts#L25-L43', -'security.authenticate.Token': 'security/authenticate/types.ts#L22-L29', +'security.authenticate.Token': 'security/authenticate/types.ts#L23-L35', 'security.bulk_delete_role.Request': 'security/bulk_delete_role/SecurityBulkDeleteRoleRequest.ts#L23-L55', 'security.bulk_delete_role.Response': 'security/bulk_delete_role/SecurityBulkDeleteRoleResponse.ts#L22-L37', 'security.bulk_put_role.Request': 'security/bulk_put_role/SecurityBulkPutRoleRequest.ts#L25-L57', @@ -2972,6 +2984,8 @@ 'security.clear_cached_roles.Response': 'security/clear_cached_roles/ClearCachedRolesResponse.ts#L25-L32', 'security.clear_cached_service_tokens.Request': 'security/clear_cached_service_tokens/ClearCachedServiceTokensRequest.ts#L23-L59', 'security.clear_cached_service_tokens.Response': 'security/clear_cached_service_tokens/ClearCachedServiceTokensResponse.ts#L25-L32', +'security.clone_api_key.Request': 'security/clone_api_key/SecurityCloneApiKeyRequest.ts#L24-L77', +'security.clone_api_key.Response': 'security/clone_api_key/SecurityCloneApiKeyResponse.ts#L23-L48', 'security.create_api_key.Request': 'security/create_api_key/SecurityCreateApiKeyRequest.ts#L26-L91', 'security.create_api_key.Response': 'security/create_api_key/SecurityCreateApiKeyResponse.ts#L23-L50', 'security.create_cross_cluster_api_key.Request': 'security/create_cross_cluster_api_key/CreateCrossClusterApiKeyRequest.ts#L25-L88', @@ -3294,10 +3308,10 @@ 'transform._types.PivotGroupByContainer': 'transform/_types/Transform.ts#L70-L78', 'transform._types.RetentionPolicy': 'transform/_types/Transform.ts#L88-L96', 'transform._types.RetentionPolicyContainer': 'transform/_types/Transform.ts#L80-L86', -'transform._types.Settings': 'transform/_types/Transform.ts#L98-L154', -'transform._types.Source': 'transform/_types/Transform.ts#L156-L187', -'transform._types.SyncContainer': 'transform/_types/Transform.ts#L191-L197', -'transform._types.TimeSync': 'transform/_types/Transform.ts#L199-L211', +'transform._types.Settings': 'transform/_types/Transform.ts#L98-L166', +'transform._types.Source': 'transform/_types/Transform.ts#L168-L199', +'transform._types.SyncContainer': 'transform/_types/Transform.ts#L203-L209', +'transform._types.TimeSync': 'transform/_types/Transform.ts#L211-L223', 'transform.delete_transform.Request': 'transform/delete_transform/DeleteTransformRequest.ts#L24-L66', 'transform.delete_transform.Response': 'transform/delete_transform/DeleteTransformResponse.ts#L22-L25', 'transform.get_node_stats.Request': 'transform/get_node_stats/GetNodeStatsRequest.ts#L23-L40', @@ -3541,10 +3555,10 @@ if (hash.length > 1) { hash = hash.substring(1); } - window.location = "https://github.com/elastic/elasticsearch-specification/tree/44d1f02c7fc7aa8e212795e2a508830ca9ca0298/specification/" + (paths[hash] || ""); + window.location = "https://github.com/elastic/elasticsearch-specification/tree/9926f2cb48e44e4e3540fbe48303dbfef72d8bd7/specification/" + (paths[hash] || ""); - Please see the Elasticsearch API specification. + Please see the Elasticsearch API specification. diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichAsyncClient.java index 2344e04aba..86851c5dc4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichAsyncClient.java @@ -73,7 +73,7 @@ public ElasticsearchEnrichAsyncClient withTransportOptions(@Nullable TransportOp * Deletes an existing enrich policy and its enrich index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-delete-policy">Documentation * on elastic.co */ @@ -93,7 +93,7 @@ public CompletableFuture deletePolicy(DeletePolicyRequest * a function that initializes a builder to create the * {@link DeletePolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-delete-policy">Documentation * on elastic.co */ @@ -110,7 +110,7 @@ public final CompletableFuture deletePolicy( * Create the enrich index for an existing enrich policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-execute-policy">Documentation * on elastic.co */ @@ -130,7 +130,7 @@ public CompletableFuture executePolicy(ExecutePolicyReque * a function that initializes a builder to create the * {@link ExecutePolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-execute-policy">Documentation * on elastic.co */ @@ -147,7 +147,7 @@ public final CompletableFuture executePolicy( * Returns information about an enrich policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-get-policy">Documentation * on elastic.co */ @@ -167,7 +167,7 @@ public CompletableFuture getPolicy(GetPolicyRequest request) * a function that initializes a builder to create the * {@link GetPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-get-policy">Documentation * on elastic.co */ @@ -182,7 +182,7 @@ public final CompletableFuture getPolicy( * Returns information about an enrich policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-get-policy">Documentation * on elastic.co */ @@ -199,7 +199,7 @@ public CompletableFuture getPolicy() { * Creates an enrich policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-put-policy">Documentation * on elastic.co */ @@ -219,7 +219,7 @@ public CompletableFuture putPolicy(PutPolicyRequest request) * a function that initializes a builder to create the * {@link PutPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-put-policy">Documentation * on elastic.co */ @@ -237,7 +237,7 @@ public final CompletableFuture putPolicy( * that are currently executing. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-stats">Documentation * on elastic.co */ @@ -258,7 +258,7 @@ public CompletableFuture stats(EnrichStatsRequest request) * a function that initializes a builder to create the * {@link EnrichStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-stats">Documentation * on elastic.co */ @@ -274,7 +274,7 @@ public final CompletableFuture stats( * that are currently executing. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-stats">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java index d2487cde75..008008b6c8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java @@ -73,7 +73,7 @@ public ElasticsearchEnrichClient withTransportOptions(@Nullable TransportOptions * Deletes an existing enrich policy and its enrich index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-delete-policy">Documentation * on elastic.co */ @@ -93,7 +93,7 @@ public DeletePolicyResponse deletePolicy(DeletePolicyRequest request) throws IOE * a function that initializes a builder to create the * {@link DeletePolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-delete-policy">Documentation * on elastic.co */ @@ -111,7 +111,7 @@ public final DeletePolicyResponse deletePolicy( * Create the enrich index for an existing enrich policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-execute-policy">Documentation * on elastic.co */ @@ -132,7 +132,7 @@ public ExecutePolicyResponse executePolicy(ExecutePolicyRequest request) * a function that initializes a builder to create the * {@link ExecutePolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-execute-policy">Documentation * on elastic.co */ @@ -150,7 +150,7 @@ public final ExecutePolicyResponse executePolicy( * Returns information about an enrich policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-get-policy">Documentation * on elastic.co */ @@ -170,7 +170,7 @@ public GetPolicyResponse getPolicy(GetPolicyRequest request) throws IOException, * a function that initializes a builder to create the * {@link GetPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-get-policy">Documentation * on elastic.co */ @@ -185,7 +185,7 @@ public final GetPolicyResponse getPolicy(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-get-policy">Documentation * on elastic.co */ @@ -202,7 +202,7 @@ public GetPolicyResponse getPolicy() throws IOException, ElasticsearchException * Creates an enrich policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-put-policy">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public PutPolicyResponse putPolicy(PutPolicyRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutPolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-put-policy">Documentation * on elastic.co */ @@ -240,7 +240,7 @@ public final PutPolicyResponse putPolicy(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-stats">Documentation * on elastic.co */ @@ -261,7 +261,7 @@ public EnrichStatsResponse stats(EnrichStatsRequest request) throws IOException, * a function that initializes a builder to create the * {@link EnrichStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-stats">Documentation * on elastic.co */ @@ -277,7 +277,7 @@ public final EnrichStatsResponse stats(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-enrich-stats">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java index 5e5c902f79..5b7aa51998 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java @@ -75,7 +75,7 @@ public ElasticsearchEqlAsyncClient withTransportOptions(@Nullable TransportOptio * deletes results for the search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-delete">Documentation * on elastic.co */ @@ -96,7 +96,7 @@ public CompletableFuture delete(EqlDeleteRequest request) { * a function that initializes a builder to create the * {@link EqlDeleteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-delete">Documentation * on elastic.co */ @@ -114,7 +114,7 @@ public final CompletableFuture delete( * stored synchronous EQL search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -137,7 +137,7 @@ public CompletableFuture> get(EqlGetRequest requ * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -174,7 +174,7 @@ public final CompletableFuture> get( * stored synchronous EQL search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -197,7 +197,7 @@ public CompletableFuture> get(EqlGetRequest requ * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -215,7 +215,7 @@ public final CompletableFuture> get( * search without returning results. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get-status">Documentation * on elastic.co */ @@ -236,7 +236,7 @@ public CompletableFuture getStatus(GetEqlStatusRequest req * a function that initializes a builder to create the * {@link GetEqlStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get-status">Documentation * on elastic.co */ @@ -254,7 +254,7 @@ public final CompletableFuture getStatus( * each document in a data stream or index corresponds to an event. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ @@ -278,7 +278,7 @@ public CompletableFuture> search(EqlSearchReq * a function that initializes a builder to create the * {@link EqlSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ @@ -315,7 +315,7 @@ public final CompletableFuture> search( * each document in a data stream or index corresponds to an event. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ @@ -338,7 +338,7 @@ public CompletableFuture> search(EqlSearchReq * a function that initializes a builder to create the * {@link EqlSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java index 414003e338..5b10cf2caf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java @@ -76,7 +76,7 @@ public ElasticsearchEqlClient withTransportOptions(@Nullable TransportOptions tr * deletes results for the search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-delete">Documentation * on elastic.co */ @@ -97,7 +97,7 @@ public EqlDeleteResponse delete(EqlDeleteRequest request) throws IOException, El * a function that initializes a builder to create the * {@link EqlDeleteRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-delete">Documentation * on elastic.co */ @@ -115,7 +115,7 @@ public final EqlDeleteResponse delete(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -139,7 +139,7 @@ public EqlGetResponse get(EqlGetRequest request, Class * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public final EqlGetResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -200,7 +200,7 @@ public EqlGetResponse get(EqlGetRequest request, Type tEventTyp * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get">Documentation * on elastic.co */ @@ -218,7 +218,7 @@ public final EqlGetResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get-status">Documentation * on elastic.co */ @@ -239,7 +239,7 @@ public GetEqlStatusResponse getStatus(GetEqlStatusRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetEqlStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-get-status">Documentation * on elastic.co */ @@ -258,7 +258,7 @@ public final GetEqlStatusResponse getStatus( * each document in a data stream or index corresponds to an event. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ @@ -282,7 +282,7 @@ public EqlSearchResponse search(EqlSearchRequest request, Class * a function that initializes a builder to create the * {@link EqlSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ @@ -320,7 +320,7 @@ public final EqlSearchResponse search(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ @@ -344,7 +344,7 @@ public EqlSearchResponse search(EqlSearchRequest request, Type * a function that initializes a builder to create the * {@link EqlSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-eql-search">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java index cfc5437a0e..b81c3df183 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchRequest.java @@ -177,9 +177,13 @@ public static EqlSearchRequest of(Function_all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -284,7 +288,10 @@ public final List filter() { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -631,9 +638,13 @@ private Builder(EqlSearchRequest instance) { } /** - * Whether to ignore if a wildcard indices expression resolves into no concrete - * indices. (This includes _all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -826,7 +837,10 @@ public final Builder filter(Function> fn) { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java index bd0dbfc1ee..80b427087c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java @@ -112,7 +112,7 @@ public final CompletableFuture deleteView( * Returns an object extended information about a running ES|QL query. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-esql-get-query">Documentation * on elastic.co */ @@ -132,7 +132,7 @@ public CompletableFuture getQuery(GetQueryRequest request) { * a function that initializes a builder to create the * {@link GetQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-esql-get-query">Documentation * on elastic.co */ @@ -202,7 +202,7 @@ public CompletableFuture getView() { * ES|QL queries. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-esql-list-queries">Documentation * on elastic.co */ public CompletableFuture listQueries() { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java index f8b871a43d..d763d9a3a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java @@ -113,7 +113,7 @@ public final DeleteViewResponse deleteView(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-esql-get-query">Documentation * on elastic.co */ @@ -133,7 +133,7 @@ public GetQueryResponse getQuery(GetQueryRequest request) throws IOException, El * a function that initializes a builder to create the * {@link GetQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-esql-get-query">Documentation * on elastic.co */ @@ -203,7 +203,7 @@ public GetViewResponse getView() throws IOException, ElasticsearchException { * ES|QL queries. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-esql-list-queries">Documentation * on elastic.co */ public ListQueriesResponse listQueries() throws IOException, ElasticsearchException { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesAsyncClient.java index f5eda462f3..e67718e021 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesAsyncClient.java @@ -88,7 +88,7 @@ public ElasticsearchFeaturesAsyncClient withTransportOptions(@Nullable Transport * the plugin that defines that feature must be installed on the master node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-get-features">Documentation * on elastic.co */ @@ -121,7 +121,7 @@ public CompletableFuture getFeatures(GetFeaturesRequest req * a function that initializes a builder to create the * {@link GetFeaturesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-get-features">Documentation * on elastic.co */ @@ -149,7 +149,7 @@ public final CompletableFuture getFeatures( * the plugin that defines that feature must be installed on the master node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-get-features">Documentation * on elastic.co */ @@ -187,7 +187,7 @@ public CompletableFuture getFeatures() { * doubts about which plugins are installed on individual nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-reset-features">Documentation * on elastic.co */ @@ -228,7 +228,7 @@ public CompletableFuture resetFeatures(ResetFeaturesReque * a function that initializes a builder to create the * {@link ResetFeaturesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-reset-features">Documentation * on elastic.co */ @@ -264,7 +264,7 @@ public final CompletableFuture resetFeatures( * doubts about which plugins are installed on individual nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-reset-features">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesClient.java index dc2d852cef..9c771ccff5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ElasticsearchFeaturesClient.java @@ -86,7 +86,7 @@ public ElasticsearchFeaturesClient withTransportOptions(@Nullable TransportOptio * the plugin that defines that feature must be installed on the master node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-get-features">Documentation * on elastic.co */ @@ -119,7 +119,7 @@ public GetFeaturesResponse getFeatures(GetFeaturesRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetFeaturesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-get-features">Documentation * on elastic.co */ @@ -148,7 +148,7 @@ public final GetFeaturesResponse getFeatures( * the plugin that defines that feature must be installed on the master node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-get-features">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public GetFeaturesResponse getFeatures() throws IOException, ElasticsearchExcept * doubts about which plugins are installed on individual nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-reset-features">Documentation * on elastic.co */ @@ -228,7 +228,7 @@ public ResetFeaturesResponse resetFeatures(ResetFeaturesRequest request) * a function that initializes a builder to create the * {@link ResetFeaturesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-reset-features">Documentation * on elastic.co */ @@ -265,7 +265,7 @@ public final ResetFeaturesResponse resetFeatures( * doubts about which plugins are installed on individual nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-features-reset-features">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetAsyncClient.java index 70aad9fee3..07f883fdca 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetAsyncClient.java @@ -77,7 +77,7 @@ public ElasticsearchFleetAsyncClient withTransportOptions(@Nullable TransportOpt * visible for searches inside of Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ @@ -102,7 +102,7 @@ public CompletableFuture> search(Flee * a function that initializes a builder to create the * {@link FleetSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ @@ -141,7 +141,7 @@ public final CompletableFuture> search( * visible for searches inside of Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ @@ -166,7 +166,7 @@ public CompletableFuture> search(Flee * a function that initializes a builder to create the * {@link FleetSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetClient.java index a0f1ef876b..b5755fe687 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/ElasticsearchFleetClient.java @@ -77,7 +77,7 @@ public ElasticsearchFleetClient withTransportOptions(@Nullable TransportOptions * visible for searches inside of Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ @@ -102,7 +102,7 @@ public FleetSearchResponse search(FleetSearchRequest requ * a function that initializes a builder to create the * {@link FleetSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ @@ -142,7 +142,7 @@ public final FleetSearchResponse search( * visible for searches inside of Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ @@ -167,7 +167,7 @@ public FleetSearchResponse search(FleetSearchRequest requ * a function that initializes a builder to create the * {@link FleetSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-fleet-search">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchRequest.java index 92ed560183..a5da81c9b6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchRequest.java @@ -324,6 +324,14 @@ public final Map aggregations() { } /** + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. + *

* API name: {@code allow_no_indices} */ @Nullable @@ -476,6 +484,11 @@ public final Boolean ignoreThrottled() { } /** + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. + *

* API name: {@code ignore_unavailable} */ @Nullable @@ -1323,6 +1336,14 @@ public final Builder aggregations(String key, Functionfalse, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. + *

* API name: {@code allow_no_indices} */ public final Builder allowNoIndices(@Nullable Boolean value) { @@ -1573,6 +1594,11 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. + *

* API name: {@code ignore_unavailable} */ public final Builder ignoreUnavailable(@Nullable Boolean value) { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java index cf638ea58f..13c12bafbf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java @@ -80,7 +80,7 @@ public ElasticsearchGraphAsyncClient withTransportOptions(@Nullable TransportOpt * exclude vertices that have already been returned. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-graph">Documentation * on elastic.co */ @@ -107,7 +107,7 @@ public CompletableFuture explore(ExploreRequest request) { * a function that initializes a builder to create the * {@link ExploreRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-graph">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java index 3710ddd06e..48ad0a12e6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java @@ -80,7 +80,7 @@ public ElasticsearchGraphClient withTransportOptions(@Nullable TransportOptions * exclude vertices that have already been returned. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-graph">Documentation * on elastic.co */ @@ -107,7 +107,7 @@ public ExploreResponse explore(ExploreRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link ExploreRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-graph">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmAsyncClient.java index b59420e140..f147806c9a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmAsyncClient.java @@ -73,7 +73,7 @@ public ElasticsearchIlmAsyncClient withTransportOptions(@Nullable TransportOptio * used to manage any indices, the request fails and returns an error. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-delete-lifecycle">Documentation * on elastic.co */ @@ -94,7 +94,7 @@ public CompletableFuture deleteLifecycle(DeleteLifecycl * a function that initializes a builder to create the * {@link DeleteLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-delete-lifecycle">Documentation * on elastic.co */ @@ -116,7 +116,7 @@ public final CompletableFuture deleteLifecycle( * the definition of the running phase, and information about any failures. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-explain-lifecycle">Documentation * on elastic.co */ @@ -141,7 +141,7 @@ public CompletableFuture explainLifecycle(ExplainLifec * a function that initializes a builder to create the * {@link ExplainLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-explain-lifecycle">Documentation * on elastic.co */ @@ -156,7 +156,7 @@ public final CompletableFuture explainLifecycle( * Get lifecycle policies. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-lifecycle">Documentation * on elastic.co */ @@ -174,7 +174,7 @@ public CompletableFuture getLifecycle(GetLifecycleRequest * a function that initializes a builder to create the * {@link GetLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-lifecycle">Documentation * on elastic.co */ @@ -187,7 +187,7 @@ public final CompletableFuture getLifecycle( * Get lifecycle policies. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-lifecycle">Documentation * on elastic.co */ @@ -204,7 +204,7 @@ public CompletableFuture getLifecycle() { * Get the current index lifecycle management status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-status">Documentation * on elastic.co */ public CompletableFuture getStatus() { @@ -238,7 +238,7 @@ public CompletableFuture getStatus() { * STOPPED. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-migrate-to-data-tiers">Documentation * on elastic.co */ @@ -276,7 +276,7 @@ public CompletableFuture migrateToDataTiers(MigrateT * a function that initializes a builder to create the * {@link MigrateToDataTiersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-migrate-to-data-tiers">Documentation * on elastic.co */ @@ -309,7 +309,7 @@ public final CompletableFuture migrateToDataTiers( * STOPPED. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-migrate-to-data-tiers">Documentation * on elastic.co */ @@ -345,7 +345,7 @@ public CompletableFuture migrateToDataTiers() { * index cannot move to a step that is not part of its policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-move-to-step">Documentation * on elastic.co */ @@ -384,7 +384,7 @@ public CompletableFuture moveToStep(MoveToStepRequest reques * a function that initializes a builder to create the * {@link MoveToStepRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-move-to-step">Documentation * on elastic.co */ @@ -405,7 +405,7 @@ public final CompletableFuture moveToStep( * previous versions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-put-lifecycle">Documentation * on elastic.co */ @@ -429,7 +429,7 @@ public CompletableFuture putLifecycle(PutLifecycleRequest * a function that initializes a builder to create the * {@link PutLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-put-lifecycle">Documentation * on elastic.co */ @@ -447,7 +447,7 @@ public final CompletableFuture putLifecycle( * backing indices. It also stops managing the indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-remove-policy">Documentation * on elastic.co */ @@ -468,7 +468,7 @@ public CompletableFuture removePolicy(RemovePolicyRequest * a function that initializes a builder to create the * {@link RemovePolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-remove-policy">Documentation * on elastic.co */ @@ -488,7 +488,7 @@ public final CompletableFuture removePolicy( * is in the ERROR step. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-retry">Documentation * on elastic.co */ @@ -511,7 +511,7 @@ public CompletableFuture retry(RetryRequest request) { * a function that initializes a builder to create the * {@link RetryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-retry">Documentation * on elastic.co */ @@ -530,7 +530,7 @@ public final CompletableFuture retry( * necessary only when it has been stopped using the stop ILM API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-start">Documentation * on elastic.co */ @@ -552,7 +552,7 @@ public CompletableFuture start(StartIlmRequest request) { * a function that initializes a builder to create the * {@link StartIlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-start">Documentation * on elastic.co */ @@ -569,7 +569,7 @@ public final CompletableFuture start( * necessary only when it has been stopped using the stop ILM API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-start">Documentation * on elastic.co */ @@ -593,7 +593,7 @@ public CompletableFuture start() { * is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-stop">Documentation * on elastic.co */ @@ -620,7 +620,7 @@ public CompletableFuture stop(StopIlmRequest request) { * a function that initializes a builder to create the * {@link StopIlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-stop">Documentation * on elastic.co */ @@ -642,7 +642,7 @@ public final CompletableFuture stop( * is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-stop">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmClient.java index 590fb2863d..5440ee2b79 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ElasticsearchIlmClient.java @@ -74,7 +74,7 @@ public ElasticsearchIlmClient withTransportOptions(@Nullable TransportOptions tr * used to manage any indices, the request fails and returns an error. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-delete-lifecycle">Documentation * on elastic.co */ @@ -96,7 +96,7 @@ public DeleteLifecycleResponse deleteLifecycle(DeleteLifecycleRequest request) * a function that initializes a builder to create the * {@link DeleteLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-delete-lifecycle">Documentation * on elastic.co */ @@ -119,7 +119,7 @@ public final DeleteLifecycleResponse deleteLifecycle( * the definition of the running phase, and information about any failures. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-explain-lifecycle">Documentation * on elastic.co */ @@ -145,7 +145,7 @@ public ExplainLifecycleResponse explainLifecycle(ExplainLifecycleRequest request * a function that initializes a builder to create the * {@link ExplainLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-explain-lifecycle">Documentation * on elastic.co */ @@ -161,7 +161,7 @@ public final ExplainLifecycleResponse explainLifecycle( * Get lifecycle policies. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-lifecycle">Documentation * on elastic.co */ @@ -179,7 +179,7 @@ public GetLifecycleResponse getLifecycle(GetLifecycleRequest request) throws IOE * a function that initializes a builder to create the * {@link GetLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-lifecycle">Documentation * on elastic.co */ @@ -193,7 +193,7 @@ public final GetLifecycleResponse getLifecycle( * Get lifecycle policies. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-lifecycle">Documentation * on elastic.co */ @@ -210,7 +210,7 @@ public GetLifecycleResponse getLifecycle() throws IOException, ElasticsearchExce * Get the current index lifecycle management status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-get-status">Documentation * on elastic.co */ public GetIlmStatusResponse getStatus() throws IOException, ElasticsearchException { @@ -244,7 +244,7 @@ public GetIlmStatusResponse getStatus() throws IOException, ElasticsearchExcepti * STOPPED. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-migrate-to-data-tiers">Documentation * on elastic.co */ @@ -283,7 +283,7 @@ public MigrateToDataTiersResponse migrateToDataTiers(MigrateToDataTiersRequest r * a function that initializes a builder to create the * {@link MigrateToDataTiersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-migrate-to-data-tiers">Documentation * on elastic.co */ @@ -317,7 +317,7 @@ public final MigrateToDataTiersResponse migrateToDataTiers( * STOPPED. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-migrate-to-data-tiers">Documentation * on elastic.co */ @@ -353,7 +353,7 @@ public MigrateToDataTiersResponse migrateToDataTiers() throws IOException, Elast * index cannot move to a step that is not part of its policy. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-move-to-step">Documentation * on elastic.co */ @@ -392,7 +392,7 @@ public MoveToStepResponse moveToStep(MoveToStepRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link MoveToStepRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-move-to-step">Documentation * on elastic.co */ @@ -413,7 +413,7 @@ public final MoveToStepResponse moveToStep(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-put-lifecycle">Documentation * on elastic.co */ @@ -437,7 +437,7 @@ public PutLifecycleResponse putLifecycle(PutLifecycleRequest request) throws IOE * a function that initializes a builder to create the * {@link PutLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-put-lifecycle">Documentation * on elastic.co */ @@ -456,7 +456,7 @@ public final PutLifecycleResponse putLifecycle( * backing indices. It also stops managing the indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-remove-policy">Documentation * on elastic.co */ @@ -477,7 +477,7 @@ public RemovePolicyResponse removePolicy(RemovePolicyRequest request) throws IOE * a function that initializes a builder to create the * {@link RemovePolicyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-remove-policy">Documentation * on elastic.co */ @@ -498,7 +498,7 @@ public final RemovePolicyResponse removePolicy( * is in the ERROR step. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-retry">Documentation * on elastic.co */ @@ -521,7 +521,7 @@ public RetryResponse retry(RetryRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link RetryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-retry">Documentation * on elastic.co */ @@ -540,7 +540,7 @@ public final RetryResponse retry(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-start">Documentation * on elastic.co */ @@ -562,7 +562,7 @@ public StartIlmResponse start(StartIlmRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link StartIlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-start">Documentation * on elastic.co */ @@ -579,7 +579,7 @@ public final StartIlmResponse start(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-start">Documentation * on elastic.co */ @@ -603,7 +603,7 @@ public StartIlmResponse start() throws IOException, ElasticsearchException { * is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-stop">Documentation * on elastic.co */ @@ -630,7 +630,7 @@ public StopIlmResponse stop(StopIlmRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link StopIlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-stop">Documentation * on elastic.co */ @@ -652,7 +652,7 @@ public final StopIlmResponse stop(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ilm-stop">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockRequest.java index 34214248ad..ea7467b984 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockRequest.java @@ -107,12 +107,13 @@ public static AddBlockRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -143,8 +144,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -234,12 +237,13 @@ private Builder(AddBlockRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -289,8 +293,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ClearCacheRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ClearCacheRequest.java index ca9a13a1bb..30a266950f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ClearCacheRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ClearCacheRequest.java @@ -115,10 +115,13 @@ public static ClearCacheRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -161,8 +164,10 @@ public final List fields() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -249,10 +254,13 @@ private Builder(ClearCacheRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -329,8 +337,10 @@ public final Builder fields(String value, String... values) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexRequest.java index f4b72b451f..4e3e7feea2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexRequest.java @@ -134,10 +134,13 @@ public static CloseIndexRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -159,8 +162,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -255,10 +260,13 @@ private Builder(CloseIndexRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -298,8 +306,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteIndexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteIndexRequest.java index 199c3cf222..e01bc99191 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteIndexRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DeleteIndexRequest.java @@ -109,10 +109,13 @@ public static DeleteIndexRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -134,8 +137,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -217,10 +222,13 @@ private Builder(DeleteIndexRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -260,8 +268,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageRequest.java index d9fd3711d3..5047eab889 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageRequest.java @@ -117,11 +117,13 @@ public static DiskUsageRequest of(Function_all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -154,8 +156,10 @@ public final Boolean flush() { } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -225,11 +229,13 @@ private Builder(DiskUsageRequest instance) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -280,8 +286,10 @@ public final Builder flush(@Nullable Boolean value) { } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java index 9cf8957052..262d29235b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java @@ -77,7 +77,7 @@ public ElasticsearchIndicesAsyncClient withTransportOptions(@Nullable TransportO * an index by blocking specific operation types. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-add-block">Documentation * on elastic.co */ @@ -98,7 +98,7 @@ public CompletableFuture addBlock(AddBlockRequest request) { * a function that initializes a builder to create the * {@link AddBlockRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-add-block">Documentation * on elastic.co */ @@ -122,7 +122,7 @@ public final CompletableFuture addBlock( * specified index will always use 10000 as its limit. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-analyze">Documentation * on elastic.co */ @@ -149,7 +149,7 @@ public CompletableFuture analyze(AnalyzeRequest request) { * a function that initializes a builder to create the * {@link AnalyzeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-analyze">Documentation * on elastic.co */ @@ -171,7 +171,7 @@ public final CompletableFuture analyze( * specified index will always use 10000 as its limit. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-analyze">Documentation * on elastic.co */ @@ -188,7 +188,7 @@ public CompletableFuture analyze() { * Cancel a migration reindex attempt for a data stream or index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-cancel-migrate-reindex">Documentation * on elastic.co */ @@ -208,7 +208,7 @@ public CompletableFuture cancelMigrateReindex(Canc * a function that initializes a builder to create the * {@link CancelMigrateReindexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-cancel-migrate-reindex">Documentation * on elastic.co */ @@ -231,7 +231,7 @@ public final CompletableFuture cancelMigrateReinde * use the fields parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clear-cache">Documentation * on elastic.co */ @@ -257,7 +257,7 @@ public CompletableFuture clearCache(ClearCacheRequest reques * a function that initializes a builder to create the * {@link ClearCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clear-cache">Documentation * on elastic.co */ @@ -278,7 +278,7 @@ public final CompletableFuture clearCache( * use the fields parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clear-cache">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public CompletableFuture clearCache() { * action as well. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clone">Documentation * on elastic.co */ @@ -447,7 +447,7 @@ public CompletableFuture clone(CloneIndexRequest request) { * a function that initializes a builder to create the * {@link CloneIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clone">Documentation * on elastic.co */ @@ -490,7 +490,7 @@ public final CompletableFuture clone( * false. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-close">Documentation * on elastic.co */ @@ -536,7 +536,7 @@ public CompletableFuture close(CloseIndexRequest request) { * a function that initializes a builder to create the * {@link CloseIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-close">Documentation * on elastic.co */ @@ -584,7 +584,7 @@ public final CompletableFuture close( * wait_for_active_shards value on all subsequent write operations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create">Documentation * on elastic.co */ @@ -635,7 +635,7 @@ public CompletableFuture create(CreateIndexRequest request) * a function that initializes a builder to create the * {@link CreateIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create">Documentation * on elastic.co */ @@ -652,7 +652,7 @@ public final CompletableFuture create( * You must have a matching index template with data stream enabled. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-data-stream">Documentation * on elastic.co */ @@ -672,7 +672,7 @@ public CompletableFuture createDataStream(CreateDataSt * a function that initializes a builder to create the * {@link CreateDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-data-stream">Documentation * on elastic.co */ @@ -690,7 +690,7 @@ public final CompletableFuture createDataStream( * while allowing request settings and mappings to override the source values. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-from">Documentation * on elastic.co */ @@ -711,7 +711,7 @@ public CompletableFuture createFrom(CreateFromRequest reques * a function that initializes a builder to create the * {@link CreateFromRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-from">Documentation * on elastic.co */ @@ -728,7 +728,7 @@ public final CompletableFuture createFrom( * Get statistics for one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-data-streams-stats-1">Documentation * on elastic.co */ @@ -748,7 +748,7 @@ public CompletableFuture dataStreamsStats(DataStreamsS * a function that initializes a builder to create the * {@link DataStreamsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-data-streams-stats-1">Documentation * on elastic.co */ @@ -763,7 +763,7 @@ public final CompletableFuture dataStreamsStats( * Get statistics for one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-data-streams-stats-1">Documentation * on elastic.co */ @@ -786,7 +786,7 @@ public CompletableFuture dataStreamsStats() { * You can then use the delete index API to delete the previous write index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete">Documentation * on elastic.co */ @@ -812,7 +812,7 @@ public CompletableFuture delete(DeleteIndexRequest request) * a function that initializes a builder to create the * {@link DeleteIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete">Documentation * on elastic.co */ @@ -829,7 +829,7 @@ public final CompletableFuture delete( * Removes a data stream or index from an alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-alias">Documentation * on elastic.co */ @@ -849,7 +849,7 @@ public CompletableFuture deleteAlias(DeleteAliasRequest req * a function that initializes a builder to create the * {@link DeleteAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-alias">Documentation * on elastic.co */ @@ -867,7 +867,7 @@ public final CompletableFuture deleteAlias( * managed by the data stream lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-lifecycle">Documentation * on elastic.co */ @@ -888,7 +888,7 @@ public CompletableFuture deleteDataLifecycle(Delete * a function that initializes a builder to create the * {@link DeleteDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-lifecycle">Documentation * on elastic.co */ @@ -905,7 +905,7 @@ public final CompletableFuture deleteDataLifecycle( * Deletes one or more data streams and their backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream">Documentation * on elastic.co */ @@ -925,7 +925,7 @@ public CompletableFuture deleteDataStream(DeleteDataSt * a function that initializes a builder to create the * {@link DeleteDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream">Documentation * on elastic.co */ @@ -942,7 +942,7 @@ public final CompletableFuture deleteDataStream( * Removes the data stream options from a data stream. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream-options">Documentation * on elastic.co */ @@ -963,7 +963,7 @@ public CompletableFuture deleteDataStreamOption * a function that initializes a builder to create the * {@link DeleteDataStreamOptionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream-options">Documentation * on elastic.co */ @@ -983,7 +983,7 @@ public final CompletableFuture deleteDataStream * existing templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-index-template">Documentation * on elastic.co */ @@ -1006,7 +1006,7 @@ public CompletableFuture deleteIndexTemplate(Delete * a function that initializes a builder to create the * {@link DeleteIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-index-template">Documentation * on elastic.co */ @@ -1025,7 +1025,7 @@ public final CompletableFuture deleteIndexTemplate( * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-template">Documentation * on elastic.co */ @@ -1047,7 +1047,7 @@ public CompletableFuture deleteTemplate(DeleteTemplateRe * a function that initializes a builder to create the * {@link DeleteTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-template">Documentation * on elastic.co */ @@ -1079,7 +1079,7 @@ public final CompletableFuture deleteTemplate( * the index disk usage example for an example. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-disk-usage">Documentation * on elastic.co */ @@ -1114,7 +1114,7 @@ public CompletableFuture diskUsage(DiskUsageRequest request) * a function that initializes a builder to create the * {@link DiskUsageRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-disk-usage">Documentation * on elastic.co */ @@ -1148,7 +1148,7 @@ public final CompletableFuture diskUsage( * index must be read-only (index.blocks.write: true). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-downsample">Documentation * on elastic.co */ @@ -1185,7 +1185,7 @@ public CompletableFuture downsample(DownsampleRequest reques * a function that initializes a builder to create the * {@link DownsampleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-downsample">Documentation * on elastic.co */ @@ -1202,7 +1202,7 @@ public final CompletableFuture downsample( * Check if one or more indices, index aliases, or data streams exist. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists">Documentation * on elastic.co */ @@ -1222,7 +1222,7 @@ public CompletableFuture exists(ExistsRequest request) { * a function that initializes a builder to create the * {@link ExistsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists">Documentation * on elastic.co */ @@ -1239,7 +1239,7 @@ public final CompletableFuture exists( * Check if one or more data stream or index aliases exist. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-alias">Documentation * on elastic.co */ @@ -1259,7 +1259,7 @@ public CompletableFuture existsAlias(ExistsAliasRequest request * a function that initializes a builder to create the * {@link ExistsAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-alias">Documentation * on elastic.co */ @@ -1276,7 +1276,7 @@ public final CompletableFuture existsAlias( * Check whether index templates exist. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-index-template">Documentation * on elastic.co */ @@ -1296,7 +1296,7 @@ public CompletableFuture existsIndexTemplate(ExistsIndexTemplat * a function that initializes a builder to create the * {@link ExistsIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-index-template">Documentation * on elastic.co */ @@ -1319,7 +1319,7 @@ public final CompletableFuture existsIndexTemplate( * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-template">Documentation * on elastic.co */ @@ -1345,7 +1345,7 @@ public CompletableFuture existsTemplate(ExistsTemplateRequest r * a function that initializes a builder to create the * {@link ExistsTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-template">Documentation * on elastic.co */ @@ -1365,7 +1365,7 @@ public final CompletableFuture existsTemplate( * execution. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-explain-data-lifecycle">Documentation * on elastic.co */ @@ -1388,7 +1388,7 @@ public CompletableFuture explainDataLifecycle(Expl * a function that initializes a builder to create the * {@link ExplainDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-explain-data-lifecycle">Documentation * on elastic.co */ @@ -1413,7 +1413,7 @@ public final CompletableFuture explainDataLifecycl * times. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-field-usage-stats">Documentation * on elastic.co */ @@ -1441,7 +1441,7 @@ public CompletableFuture fieldUsageStats(FieldUsageStat * a function that initializes a builder to create the * {@link FieldUsageStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-field-usage-stats">Documentation * on elastic.co */ @@ -1477,7 +1477,7 @@ public final CompletableFuture fieldUsageStats( * before the flush API was called. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-flush">Documentation * on elastic.co */ @@ -1516,7 +1516,7 @@ public CompletableFuture flush(FlushRequest request) { * a function that initializes a builder to create the * {@link FlushRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-flush">Documentation * on elastic.co */ @@ -1550,7 +1550,7 @@ public final CompletableFuture flush( * before the flush API was called. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-flush">Documentation * on elastic.co */ @@ -1639,7 +1639,7 @@ public CompletableFuture flush() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-forcemerge">Documentation * on elastic.co */ @@ -1731,7 +1731,7 @@ public CompletableFuture forcemerge(ForcemergeRequest reques * a function that initializes a builder to create the * {@link ForcemergeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-forcemerge">Documentation * on elastic.co */ @@ -1818,7 +1818,7 @@ public final CompletableFuture forcemerge( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-forcemerge">Documentation * on elastic.co */ @@ -1836,7 +1836,7 @@ public CompletableFuture forcemerge() { * information about the stream’s backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get">Documentation * on elastic.co */ @@ -1857,7 +1857,7 @@ public CompletableFuture get(GetIndexRequest request) { * a function that initializes a builder to create the * {@link GetIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get">Documentation * on elastic.co */ @@ -1874,7 +1874,7 @@ public final CompletableFuture get( * Retrieves information for one or more data stream or index aliases. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-alias">Documentation * on elastic.co */ @@ -1894,7 +1894,7 @@ public CompletableFuture getAlias(GetAliasRequest request) { * a function that initializes a builder to create the * {@link GetAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-alias">Documentation * on elastic.co */ @@ -1909,7 +1909,7 @@ public final CompletableFuture getAlias( * Retrieves information for one or more data stream or index aliases. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-alias">Documentation * on elastic.co */ @@ -1926,7 +1926,7 @@ public CompletableFuture getAlias() { * Get the data stream lifecycle configuration of one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-lifecycle">Documentation * on elastic.co */ @@ -1946,7 +1946,7 @@ public CompletableFuture getDataLifecycle(GetDataLifec * a function that initializes a builder to create the * {@link GetDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-lifecycle">Documentation * on elastic.co */ @@ -1964,7 +1964,7 @@ public final CompletableFuture getDataLifecycle( * lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-lifecycle-stats">Documentation * on elastic.co */ public CompletableFuture getDataLifecycleStats() { @@ -1980,7 +1980,7 @@ public CompletableFuture getDataLifecycleStats() * Get information about one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream">Documentation * on elastic.co */ @@ -2000,7 +2000,7 @@ public CompletableFuture getDataStream(GetDataStreamReque * a function that initializes a builder to create the * {@link GetDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream">Documentation * on elastic.co */ @@ -2015,7 +2015,7 @@ public final CompletableFuture getDataStream( * Get information about one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream">Documentation * on elastic.co */ @@ -2032,7 +2032,7 @@ public CompletableFuture getDataStream() { * Get mapping information for one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-mappings">Documentation * on elastic.co */ @@ -2053,7 +2053,7 @@ public CompletableFuture getDataStreamMappings( * a function that initializes a builder to create the * {@link GetDataStreamMappingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-mappings">Documentation * on elastic.co */ @@ -2070,7 +2070,7 @@ public final CompletableFuture getDataStreamMappi * Get the data stream options configuration of one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-options">Documentation * on elastic.co */ @@ -2090,7 +2090,7 @@ public CompletableFuture getDataStreamOptions(GetD * a function that initializes a builder to create the * {@link GetDataStreamOptionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-options">Documentation * on elastic.co */ @@ -2107,7 +2107,7 @@ public final CompletableFuture getDataStreamOption * Get setting information for one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-settings">Documentation * on elastic.co */ @@ -2128,7 +2128,7 @@ public CompletableFuture getDataStreamSettings( * a function that initializes a builder to create the * {@link GetDataStreamSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-settings">Documentation * on elastic.co */ @@ -2149,7 +2149,7 @@ public final CompletableFuture getDataStreamSetti * mapping contains a large number of fields. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2173,7 +2173,7 @@ public CompletableFuture getFieldMapping(GetFieldMappin * a function that initializes a builder to create the * {@link GetFieldMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2190,7 +2190,7 @@ public final CompletableFuture getFieldMapping( * Get information about one or more index templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-index-template">Documentation * on elastic.co */ @@ -2210,7 +2210,7 @@ public CompletableFuture getIndexTemplate(GetIndexTemp * a function that initializes a builder to create the * {@link GetIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-index-template">Documentation * on elastic.co */ @@ -2225,7 +2225,7 @@ public final CompletableFuture getIndexTemplate( * Get information about one or more index templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-index-template">Documentation * on elastic.co */ @@ -2243,7 +2243,7 @@ public CompletableFuture getIndexTemplate() { * indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2264,7 +2264,7 @@ public CompletableFuture getMapping(GetMappingRequest reques * a function that initializes a builder to create the * {@link GetMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2280,7 +2280,7 @@ public final CompletableFuture getMapping( * indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2297,7 +2297,7 @@ public CompletableFuture getMapping() { * Get the status of a migration reindex attempt for a data stream or index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-migration">Documentation * on elastic.co */ @@ -2318,7 +2318,7 @@ public CompletableFuture getMigrateReindexStatu * a function that initializes a builder to create the * {@link GetMigrateReindexStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-migration">Documentation * on elastic.co */ @@ -2336,7 +2336,7 @@ public final CompletableFuture getMigrateReinde * setting information for the stream's backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-settings">Documentation * on elastic.co */ @@ -2357,7 +2357,7 @@ public CompletableFuture getSettings(GetIndicesSetti * a function that initializes a builder to create the * {@link GetIndicesSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-settings">Documentation * on elastic.co */ @@ -2373,7 +2373,7 @@ public final CompletableFuture getSettings( * setting information for the stream's backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-settings">Documentation * on elastic.co */ @@ -2394,7 +2394,7 @@ public CompletableFuture getSettings() { * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-template">Documentation * on elastic.co */ @@ -2418,7 +2418,7 @@ public CompletableFuture getTemplate(GetTemplateRequest req * a function that initializes a builder to create the * {@link GetTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-template">Documentation * on elastic.co */ @@ -2437,7 +2437,7 @@ public final CompletableFuture getTemplate( * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-template">Documentation * on elastic.co */ @@ -2456,7 +2456,7 @@ public CompletableFuture getTemplate() { * reindexing work is completed in that task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-reindex">Documentation * on elastic.co */ @@ -2478,7 +2478,7 @@ public CompletableFuture migrateReindex(MigrateReindexRe * a function that initializes a builder to create the * {@link MigrateReindexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-reindex">Documentation * on elastic.co */ @@ -2495,7 +2495,7 @@ public final CompletableFuture migrateReindex( * reindexing work is completed in that task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-reindex">Documentation * on elastic.co */ @@ -2520,7 +2520,7 @@ public CompletableFuture migrateReindex() { * becomes the write index for the stream. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-to-data-stream">Documentation * on elastic.co */ @@ -2548,7 +2548,7 @@ public CompletableFuture migrateToDataStream(Migrat * a function that initializes a builder to create the * {@link MigrateToDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-to-data-stream">Documentation * on elastic.co */ @@ -2566,7 +2566,7 @@ public final CompletableFuture migrateToDataStream( * operation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-modify-data-stream">Documentation * on elastic.co */ @@ -2587,7 +2587,7 @@ public CompletableFuture modifyDataStream(ModifyDataSt * a function that initializes a builder to create the * {@link ModifyDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-modify-data-stream">Documentation * on elastic.co */ @@ -2635,7 +2635,7 @@ public final CompletableFuture modifyDataStream( * _open and _close index actions as well. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-open">Documentation * on elastic.co */ @@ -2686,7 +2686,7 @@ public CompletableFuture open(OpenRequest request) { * a function that initializes a builder to create the * {@link OpenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-open">Documentation * on elastic.co */ @@ -2717,7 +2717,7 @@ public final CompletableFuture open(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-promote-data-stream">Documentation * on elastic.co */ @@ -2752,7 +2752,7 @@ public CompletableFuture promoteDataStream(PromoteDat * a function that initializes a builder to create the * {@link PromoteDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-promote-data-stream">Documentation * on elastic.co */ @@ -2769,7 +2769,7 @@ public final CompletableFuture promoteDataStream( * Adds a data stream or index to an alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-alias">Documentation * on elastic.co */ @@ -2789,7 +2789,7 @@ public CompletableFuture putAlias(PutAliasRequest request) { * a function that initializes a builder to create the * {@link PutAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-alias">Documentation * on elastic.co */ @@ -2806,7 +2806,7 @@ public final CompletableFuture putAlias( * Update the data stream lifecycle of the specified data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-lifecycle">Documentation * on elastic.co */ @@ -2826,7 +2826,7 @@ public CompletableFuture putDataLifecycle(PutDataLifec * a function that initializes a builder to create the * {@link PutDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-lifecycle">Documentation * on elastic.co */ @@ -2847,7 +2847,7 @@ public final CompletableFuture putDataLifecycle( * are changed by this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-mappings">Documentation * on elastic.co */ @@ -2872,7 +2872,7 @@ public CompletableFuture putDataStreamMappings( * a function that initializes a builder to create the * {@link PutDataStreamMappingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-mappings">Documentation * on elastic.co */ @@ -2889,7 +2889,7 @@ public final CompletableFuture putDataStreamMappi * Update the data stream options of the specified data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-options">Documentation * on elastic.co */ @@ -2909,7 +2909,7 @@ public CompletableFuture putDataStreamOptions(PutD * a function that initializes a builder to create the * {@link PutDataStreamOptionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-options">Documentation * on elastic.co */ @@ -2933,7 +2933,7 @@ public final CompletableFuture putDataStreamOption * the data stream is next rolled over. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-settings">Documentation * on elastic.co */ @@ -2961,7 +2961,7 @@ public CompletableFuture putDataStreamSettings( * a function that initializes a builder to create the * {@link PutDataStreamSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-settings">Documentation * on elastic.co */ @@ -3018,7 +3018,7 @@ public final CompletableFuture putDataStreamSetti * new definition. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-index-template">Documentation * on elastic.co */ @@ -3078,7 +3078,7 @@ public CompletableFuture putIndexTemplate(PutIndexTemp * a function that initializes a builder to create the * {@link PutIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-index-template">Documentation * on elastic.co */ @@ -3110,7 +3110,7 @@ public final CompletableFuture putIndexTemplate( * mapping API examples guide. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-mapping">Documentation * on elastic.co */ @@ -3145,7 +3145,7 @@ public CompletableFuture putMapping(PutMappingRequest reques * a function that initializes a builder to create the * {@link PutMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-mapping">Documentation * on elastic.co */ @@ -3231,7 +3231,7 @@ public final CompletableFuture putMapping( * analyzers on existing indices for step-by-step examples. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-settings">Documentation * on elastic.co */ @@ -3320,7 +3320,7 @@ public CompletableFuture putSettings(PutIndicesSetti * a function that initializes a builder to create the * {@link PutIndicesSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-settings">Documentation * on elastic.co */ @@ -3404,7 +3404,7 @@ public final CompletableFuture putSettings( * analyzers on existing indices for step-by-step examples. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-settings">Documentation * on elastic.co */ @@ -3449,7 +3449,7 @@ public CompletableFuture putSettings() { * non-deterministic merging order. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-template">Documentation * on elastic.co */ @@ -3497,7 +3497,7 @@ public CompletableFuture putTemplate(PutTemplateRequest req * a function that initializes a builder to create the * {@link PutTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-template">Documentation * on elastic.co */ @@ -3547,7 +3547,7 @@ public final CompletableFuture putTemplate( * the recovery API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-recovery">Documentation * on elastic.co */ @@ -3600,7 +3600,7 @@ public CompletableFuture recovery(RecoveryRequest request) { * a function that initializes a builder to create the * {@link RecoveryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-recovery">Documentation * on elastic.co */ @@ -3648,7 +3648,7 @@ public final CompletableFuture recovery( * the recovery API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-recovery">Documentation * on elastic.co */ @@ -3687,7 +3687,7 @@ public CompletableFuture recovery() { * indexing operation waits for a periodic refresh before running the search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-refresh">Documentation * on elastic.co */ @@ -3729,7 +3729,7 @@ public CompletableFuture refresh(RefreshRequest request) { * a function that initializes a builder to create the * {@link RefreshRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-refresh">Documentation * on elastic.co */ @@ -3766,7 +3766,7 @@ public final CompletableFuture refresh( * indexing operation waits for a periodic refresh before running the search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-refresh">Documentation * on elastic.co */ @@ -3803,7 +3803,7 @@ public CompletableFuture refresh() { * in case shards are relocated in the future. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-reload-search-analyzers">Documentation * on elastic.co */ @@ -3844,7 +3844,7 @@ public CompletableFuture reloadSearchAnalyzers( * a function that initializes a builder to create the * {@link ReloadSearchAnalyzersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-reload-search-analyzers">Documentation * on elastic.co */ @@ -3862,7 +3862,7 @@ public final CompletableFuture reloadSearchAnalyz * allowed on an index by blocking specific operation types. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-remove-block">Documentation * on elastic.co */ @@ -3883,7 +3883,7 @@ public CompletableFuture removeBlock(RemoveBlockRequest req * a function that initializes a builder to create the * {@link RemoveBlockRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-remove-block">Documentation * on elastic.co */ @@ -3978,7 +3978,7 @@ public final CompletableFuture removeBlock( * to now indicate a connected status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-cluster">Documentation * on elastic.co */ @@ -4076,7 +4076,7 @@ public CompletableFuture resolveCluster(ResolveClusterRe * a function that initializes a builder to create the * {@link ResolveClusterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-cluster">Documentation * on elastic.co */ @@ -4169,7 +4169,7 @@ public final CompletableFuture resolveCluster( * to now indicate a connected status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-cluster">Documentation * on elastic.co */ @@ -4187,7 +4187,7 @@ public CompletableFuture resolveCluster() { * streams. Multiple patterns and remote clusters are supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-index">Documentation * on elastic.co */ @@ -4208,7 +4208,7 @@ public CompletableFuture resolveIndex(ResolveIndexRequest * a function that initializes a builder to create the * {@link ResolveIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-index">Documentation * on elastic.co */ @@ -4276,7 +4276,7 @@ public final CompletableFuture resolveIndex( * 2099, the new index's name is my-index-2099.05.07-000002. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-rollover">Documentation * on elastic.co */ @@ -4347,7 +4347,7 @@ public CompletableFuture rollover(RolloverRequest request) { * a function that initializes a builder to create the * {@link RolloverRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-rollover">Documentation * on elastic.co */ @@ -4365,7 +4365,7 @@ public final CompletableFuture rollover( * streams, the API returns information about the stream's backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-segments">Documentation * on elastic.co */ @@ -4386,7 +4386,7 @@ public CompletableFuture segments(SegmentsRequest request) { * a function that initializes a builder to create the * {@link SegmentsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-segments">Documentation * on elastic.co */ @@ -4402,7 +4402,7 @@ public final CompletableFuture segments( * streams, the API returns information about the stream's backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-segments">Documentation * on elastic.co */ @@ -4433,7 +4433,7 @@ public CompletableFuture segments() { * are unassigned or have one or more unassigned replica shards. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shard-stores">Documentation * on elastic.co */ @@ -4467,7 +4467,7 @@ public CompletableFuture shardStores(ShardStoresRequest req * a function that initializes a builder to create the * {@link ShardStoresRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shard-stores">Documentation * on elastic.co */ @@ -4496,7 +4496,7 @@ public final CompletableFuture shardStores( * are unassigned or have one or more unassigned replica shards. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shard-stores">Documentation * on elastic.co */ @@ -4571,7 +4571,7 @@ public CompletableFuture shardStores() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shrink">Documentation * on elastic.co */ @@ -4649,7 +4649,7 @@ public CompletableFuture shrink(ShrinkRequest request) { * a function that initializes a builder to create the * {@link ShrinkRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shrink">Documentation * on elastic.co */ @@ -4667,7 +4667,7 @@ public final CompletableFuture shrink( * an existing index template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-index-template">Documentation * on elastic.co */ @@ -4689,7 +4689,7 @@ public CompletableFuture simulateIndexTemplate( * a function that initializes a builder to create the * {@link SimulateIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-index-template">Documentation * on elastic.co */ @@ -4707,7 +4707,7 @@ public final CompletableFuture simulateIndexTempl * template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-template">Documentation * on elastic.co */ @@ -4728,7 +4728,7 @@ public CompletableFuture simulateTemplate(SimulateTemp * a function that initializes a builder to create the * {@link SimulateTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-template">Documentation * on elastic.co */ @@ -4744,7 +4744,7 @@ public final CompletableFuture simulateTemplate( * template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-template">Documentation * on elastic.co */ @@ -4823,7 +4823,7 @@ public CompletableFuture simulateTemplate() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-split">Documentation * on elastic.co */ @@ -4905,7 +4905,7 @@ public CompletableFuture split(SplitRequest request) { * a function that initializes a builder to create the * {@link SplitRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-split">Documentation * on elastic.co */ @@ -4936,7 +4936,7 @@ public final CompletableFuture split( * any node-level statistics to which the shard contributed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-stats">Documentation * on elastic.co */ @@ -4970,7 +4970,7 @@ public CompletableFuture stats(IndicesStatsRequest request * a function that initializes a builder to create the * {@link IndicesStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-stats">Documentation * on elastic.co */ @@ -4999,7 +4999,7 @@ public final CompletableFuture stats( * any node-level statistics to which the shard contributed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-stats">Documentation * on elastic.co */ @@ -5016,7 +5016,7 @@ public CompletableFuture stats() { * Adds a data stream or index to an alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-update-aliases">Documentation * on elastic.co */ @@ -5036,7 +5036,7 @@ public CompletableFuture updateAliases(UpdateAliasesReque * a function that initializes a builder to create the * {@link UpdateAliasesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-update-aliases">Documentation * on elastic.co */ @@ -5051,7 +5051,7 @@ public final CompletableFuture updateAliases( * Adds a data stream or index to an alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-update-aliases">Documentation * on elastic.co */ @@ -5068,7 +5068,7 @@ public CompletableFuture updateAliases() { * Validates a query without running it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-validate-query">Documentation * on elastic.co */ @@ -5088,7 +5088,7 @@ public CompletableFuture validateQuery(ValidateQueryReque * a function that initializes a builder to create the * {@link ValidateQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-validate-query">Documentation * on elastic.co */ @@ -5103,7 +5103,7 @@ public final CompletableFuture validateQuery( * Validates a query without running it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-validate-query">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java index 5e6c582ffe..c497ae50cc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java @@ -75,7 +75,7 @@ public ElasticsearchIndicesClient withTransportOptions(@Nullable TransportOption * an index by blocking specific operation types. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-add-block">Documentation * on elastic.co */ @@ -96,7 +96,7 @@ public AddBlockResponse addBlock(AddBlockRequest request) throws IOException, El * a function that initializes a builder to create the * {@link AddBlockRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-add-block">Documentation * on elastic.co */ @@ -120,7 +120,7 @@ public final AddBlockResponse addBlock(Function10000 as its limit. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-analyze">Documentation * on elastic.co */ @@ -147,7 +147,7 @@ public AnalyzeResponse analyze(AnalyzeRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link AnalyzeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-analyze">Documentation * on elastic.co */ @@ -169,7 +169,7 @@ public final AnalyzeResponse analyze(Function10000 as its limit. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-analyze">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public AnalyzeResponse analyze() throws IOException, ElasticsearchException { * Cancel a migration reindex attempt for a data stream or index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-cancel-migrate-reindex">Documentation * on elastic.co */ @@ -207,7 +207,7 @@ public CancelMigrateReindexResponse cancelMigrateReindex(CancelMigrateReindexReq * a function that initializes a builder to create the * {@link CancelMigrateReindexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-cancel-migrate-reindex">Documentation * on elastic.co */ @@ -231,7 +231,7 @@ public final CancelMigrateReindexResponse cancelMigrateReindex( * use the fields parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clear-cache">Documentation * on elastic.co */ @@ -257,7 +257,7 @@ public ClearCacheResponse clearCache(ClearCacheRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link ClearCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clear-cache">Documentation * on elastic.co */ @@ -278,7 +278,7 @@ public final ClearCacheResponse clearCache(Functionfields parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clear-cache">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public ClearCacheResponse clearCache() throws IOException, ElasticsearchExceptio * action as well. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clone">Documentation * on elastic.co */ @@ -447,7 +447,7 @@ public CloneIndexResponse clone(CloneIndexRequest request) throws IOException, E * a function that initializes a builder to create the * {@link CloneIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-clone">Documentation * on elastic.co */ @@ -490,7 +490,7 @@ public final CloneIndexResponse clone(Functionfalse. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-close">Documentation * on elastic.co */ @@ -536,7 +536,7 @@ public CloseIndexResponse close(CloseIndexRequest request) throws IOException, E * a function that initializes a builder to create the * {@link CloseIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-close">Documentation * on elastic.co */ @@ -584,7 +584,7 @@ public final CloseIndexResponse close(Functionwait_for_active_shards value on all subsequent write operations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create">Documentation * on elastic.co */ @@ -635,7 +635,7 @@ public CreateIndexResponse create(CreateIndexRequest request) throws IOException * a function that initializes a builder to create the * {@link CreateIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create">Documentation * on elastic.co */ @@ -652,7 +652,7 @@ public final CreateIndexResponse create(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-data-stream">Documentation * on elastic.co */ @@ -673,7 +673,7 @@ public CreateDataStreamResponse createDataStream(CreateDataStreamRequest request * a function that initializes a builder to create the * {@link CreateDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-data-stream">Documentation * on elastic.co */ @@ -692,7 +692,7 @@ public final CreateDataStreamResponse createDataStream( * while allowing request settings and mappings to override the source values. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-from">Documentation * on elastic.co */ @@ -713,7 +713,7 @@ public CreateFromResponse createFrom(CreateFromRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link CreateFromRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-create-from">Documentation * on elastic.co */ @@ -730,7 +730,7 @@ public final CreateFromResponse createFrom(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-data-streams-stats-1">Documentation * on elastic.co */ @@ -751,7 +751,7 @@ public DataStreamsStatsResponse dataStreamsStats(DataStreamsStatsRequest request * a function that initializes a builder to create the * {@link DataStreamsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-data-streams-stats-1">Documentation * on elastic.co */ @@ -767,7 +767,7 @@ public final DataStreamsStatsResponse dataStreamsStats( * Get statistics for one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-data-streams-stats-1">Documentation * on elastic.co */ @@ -790,7 +790,7 @@ public DataStreamsStatsResponse dataStreamsStats() throws IOException, Elasticse * You can then use the delete index API to delete the previous write index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete">Documentation * on elastic.co */ @@ -816,7 +816,7 @@ public DeleteIndexResponse delete(DeleteIndexRequest request) throws IOException * a function that initializes a builder to create the * {@link DeleteIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete">Documentation * on elastic.co */ @@ -833,7 +833,7 @@ public final DeleteIndexResponse delete(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-alias">Documentation * on elastic.co */ @@ -853,7 +853,7 @@ public DeleteAliasResponse deleteAlias(DeleteAliasRequest request) throws IOExce * a function that initializes a builder to create the * {@link DeleteAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-alias">Documentation * on elastic.co */ @@ -872,7 +872,7 @@ public final DeleteAliasResponse deleteAlias( * managed by the data stream lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-lifecycle">Documentation * on elastic.co */ @@ -894,7 +894,7 @@ public DeleteDataLifecycleResponse deleteDataLifecycle(DeleteDataLifecycleReques * a function that initializes a builder to create the * {@link DeleteDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-lifecycle">Documentation * on elastic.co */ @@ -912,7 +912,7 @@ public final DeleteDataLifecycleResponse deleteDataLifecycle( * Deletes one or more data streams and their backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream">Documentation * on elastic.co */ @@ -933,7 +933,7 @@ public DeleteDataStreamResponse deleteDataStream(DeleteDataStreamRequest request * a function that initializes a builder to create the * {@link DeleteDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream">Documentation * on elastic.co */ @@ -951,7 +951,7 @@ public final DeleteDataStreamResponse deleteDataStream( * Removes the data stream options from a data stream. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream-options">Documentation * on elastic.co */ @@ -972,7 +972,7 @@ public DeleteDataStreamOptionsResponse deleteDataStreamOptions(DeleteDataStreamO * a function that initializes a builder to create the * {@link DeleteDataStreamOptionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-data-stream-options">Documentation * on elastic.co */ @@ -993,7 +993,7 @@ public final DeleteDataStreamOptionsResponse deleteDataStreamOptions( * existing templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-index-template">Documentation * on elastic.co */ @@ -1017,7 +1017,7 @@ public DeleteIndexTemplateResponse deleteIndexTemplate(DeleteIndexTemplateReques * a function that initializes a builder to create the * {@link DeleteIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-index-template">Documentation * on elastic.co */ @@ -1037,7 +1037,7 @@ public final DeleteIndexTemplateResponse deleteIndexTemplate( * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-template">Documentation * on elastic.co */ @@ -1060,7 +1060,7 @@ public DeleteTemplateResponse deleteTemplate(DeleteTemplateRequest request) * a function that initializes a builder to create the * {@link DeleteTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-delete-template">Documentation * on elastic.co */ @@ -1093,7 +1093,7 @@ public final DeleteTemplateResponse deleteTemplate( * the index disk usage example for an example. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-disk-usage">Documentation * on elastic.co */ @@ -1128,7 +1128,7 @@ public DiskUsageResponse diskUsage(DiskUsageRequest request) throws IOException, * a function that initializes a builder to create the * {@link DiskUsageRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-disk-usage">Documentation * on elastic.co */ @@ -1162,7 +1162,7 @@ public final DiskUsageResponse diskUsage(Functionindex.blocks.write: true). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-downsample">Documentation * on elastic.co */ @@ -1199,7 +1199,7 @@ public DownsampleResponse downsample(DownsampleRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link DownsampleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-downsample">Documentation * on elastic.co */ @@ -1216,7 +1216,7 @@ public final DownsampleResponse downsample(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists">Documentation * on elastic.co */ @@ -1236,7 +1236,7 @@ public BooleanResponse exists(ExistsRequest request) throws IOException, Elastic * a function that initializes a builder to create the * {@link ExistsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists">Documentation * on elastic.co */ @@ -1253,7 +1253,7 @@ public final BooleanResponse exists(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-alias">Documentation * on elastic.co */ @@ -1273,7 +1273,7 @@ public BooleanResponse existsAlias(ExistsAliasRequest request) throws IOExceptio * a function that initializes a builder to create the * {@link ExistsAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-alias">Documentation * on elastic.co */ @@ -1290,7 +1290,7 @@ public final BooleanResponse existsAlias(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-index-template">Documentation * on elastic.co */ @@ -1311,7 +1311,7 @@ public BooleanResponse existsIndexTemplate(ExistsIndexTemplateRequest request) * a function that initializes a builder to create the * {@link ExistsIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-index-template">Documentation * on elastic.co */ @@ -1335,7 +1335,7 @@ public final BooleanResponse existsIndexTemplate( * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-template">Documentation * on elastic.co */ @@ -1361,7 +1361,7 @@ public BooleanResponse existsTemplate(ExistsTemplateRequest request) throws IOEx * a function that initializes a builder to create the * {@link ExistsTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-exists-template">Documentation * on elastic.co */ @@ -1382,7 +1382,7 @@ public final BooleanResponse existsTemplate( * execution. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-explain-data-lifecycle">Documentation * on elastic.co */ @@ -1406,7 +1406,7 @@ public ExplainDataLifecycleResponse explainDataLifecycle(ExplainDataLifecycleReq * a function that initializes a builder to create the * {@link ExplainDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-explain-data-lifecycle">Documentation * on elastic.co */ @@ -1432,7 +1432,7 @@ public final ExplainDataLifecycleResponse explainDataLifecycle( * times. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-field-usage-stats">Documentation * on elastic.co */ @@ -1461,7 +1461,7 @@ public FieldUsageStatsResponse fieldUsageStats(FieldUsageStatsRequest request) * a function that initializes a builder to create the * {@link FieldUsageStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-field-usage-stats">Documentation * on elastic.co */ @@ -1498,7 +1498,7 @@ public final FieldUsageStatsResponse fieldUsageStats( * before the flush API was called. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-flush">Documentation * on elastic.co */ @@ -1537,7 +1537,7 @@ public FlushResponse flush(FlushRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link FlushRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-flush">Documentation * on elastic.co */ @@ -1571,7 +1571,7 @@ public final FlushResponse flush(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-flush">Documentation * on elastic.co */ @@ -1660,7 +1660,7 @@ public FlushResponse flush() throws IOException, ElasticsearchException { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-forcemerge">Documentation * on elastic.co */ @@ -1752,7 +1752,7 @@ public ForcemergeResponse forcemerge(ForcemergeRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link ForcemergeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-forcemerge">Documentation * on elastic.co */ @@ -1839,7 +1839,7 @@ public final ForcemergeResponse forcemerge(Function * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-forcemerge">Documentation * on elastic.co */ @@ -1857,7 +1857,7 @@ public ForcemergeResponse forcemerge() throws IOException, ElasticsearchExceptio * information about the stream’s backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get">Documentation * on elastic.co */ @@ -1878,7 +1878,7 @@ public GetIndexResponse get(GetIndexRequest request) throws IOException, Elastic * a function that initializes a builder to create the * {@link GetIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get">Documentation * on elastic.co */ @@ -1895,7 +1895,7 @@ public final GetIndexResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-alias">Documentation * on elastic.co */ @@ -1915,7 +1915,7 @@ public GetAliasResponse getAlias(GetAliasRequest request) throws IOException, El * a function that initializes a builder to create the * {@link GetAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-alias">Documentation * on elastic.co */ @@ -1930,7 +1930,7 @@ public final GetAliasResponse getAlias(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-alias">Documentation * on elastic.co */ @@ -1947,7 +1947,7 @@ public GetAliasResponse getAlias() throws IOException, ElasticsearchException { * Get the data stream lifecycle configuration of one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-lifecycle">Documentation * on elastic.co */ @@ -1968,7 +1968,7 @@ public GetDataLifecycleResponse getDataLifecycle(GetDataLifecycleRequest request * a function that initializes a builder to create the * {@link GetDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-lifecycle">Documentation * on elastic.co */ @@ -1987,7 +1987,7 @@ public final GetDataLifecycleResponse getDataLifecycle( * lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-lifecycle-stats">Documentation * on elastic.co */ public GetDataLifecycleStatsResponse getDataLifecycleStats() throws IOException, ElasticsearchException { @@ -2003,7 +2003,7 @@ public GetDataLifecycleStatsResponse getDataLifecycleStats() throws IOException, * Get information about one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream">Documentation * on elastic.co */ @@ -2024,7 +2024,7 @@ public GetDataStreamResponse getDataStream(GetDataStreamRequest request) * a function that initializes a builder to create the * {@link GetDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream">Documentation * on elastic.co */ @@ -2040,7 +2040,7 @@ public final GetDataStreamResponse getDataStream( * Get information about one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream">Documentation * on elastic.co */ @@ -2057,7 +2057,7 @@ public GetDataStreamResponse getDataStream() throws IOException, ElasticsearchEx * Get mapping information for one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-mappings">Documentation * on elastic.co */ @@ -2078,7 +2078,7 @@ public GetDataStreamMappingsResponse getDataStreamMappings(GetDataStreamMappings * a function that initializes a builder to create the * {@link GetDataStreamMappingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-mappings">Documentation * on elastic.co */ @@ -2096,7 +2096,7 @@ public final GetDataStreamMappingsResponse getDataStreamMappings( * Get the data stream options configuration of one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-options">Documentation * on elastic.co */ @@ -2117,7 +2117,7 @@ public GetDataStreamOptionsResponse getDataStreamOptions(GetDataStreamOptionsReq * a function that initializes a builder to create the * {@link GetDataStreamOptionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-options">Documentation * on elastic.co */ @@ -2135,7 +2135,7 @@ public final GetDataStreamOptionsResponse getDataStreamOptions( * Get setting information for one or more data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-settings">Documentation * on elastic.co */ @@ -2156,7 +2156,7 @@ public GetDataStreamSettingsResponse getDataStreamSettings(GetDataStreamSettings * a function that initializes a builder to create the * {@link GetDataStreamSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-data-stream-settings">Documentation * on elastic.co */ @@ -2178,7 +2178,7 @@ public final GetDataStreamSettingsResponse getDataStreamSettings( * mapping contains a large number of fields. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2203,7 +2203,7 @@ public GetFieldMappingResponse getFieldMapping(GetFieldMappingRequest request) * a function that initializes a builder to create the * {@link GetFieldMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2221,7 +2221,7 @@ public final GetFieldMappingResponse getFieldMapping( * Get information about one or more index templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-index-template">Documentation * on elastic.co */ @@ -2242,7 +2242,7 @@ public GetIndexTemplateResponse getIndexTemplate(GetIndexTemplateRequest request * a function that initializes a builder to create the * {@link GetIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-index-template">Documentation * on elastic.co */ @@ -2258,7 +2258,7 @@ public final GetIndexTemplateResponse getIndexTemplate( * Get information about one or more index templates. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-index-template">Documentation * on elastic.co */ @@ -2276,7 +2276,7 @@ public GetIndexTemplateResponse getIndexTemplate() throws IOException, Elasticse * indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2297,7 +2297,7 @@ public GetMappingResponse getMapping(GetMappingRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link GetMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2313,7 +2313,7 @@ public final GetMappingResponse getMapping(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-mapping">Documentation * on elastic.co */ @@ -2330,7 +2330,7 @@ public GetMappingResponse getMapping() throws IOException, ElasticsearchExceptio * Get the status of a migration reindex attempt for a data stream or index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-migration">Documentation * on elastic.co */ @@ -2351,7 +2351,7 @@ public GetMigrateReindexStatusResponse getMigrateReindexStatus(GetMigrateReindex * a function that initializes a builder to create the * {@link GetMigrateReindexStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-migration">Documentation * on elastic.co */ @@ -2370,7 +2370,7 @@ public final GetMigrateReindexStatusResponse getMigrateReindexStatus( * setting information for the stream's backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-settings">Documentation * on elastic.co */ @@ -2392,7 +2392,7 @@ public GetIndicesSettingsResponse getSettings(GetIndicesSettingsRequest request) * a function that initializes a builder to create the * {@link GetIndicesSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-settings">Documentation * on elastic.co */ @@ -2409,7 +2409,7 @@ public final GetIndicesSettingsResponse getSettings( * setting information for the stream's backing indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-settings">Documentation * on elastic.co */ @@ -2430,7 +2430,7 @@ public GetIndicesSettingsResponse getSettings() throws IOException, Elasticsearc * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-template">Documentation * on elastic.co */ @@ -2454,7 +2454,7 @@ public GetTemplateResponse getTemplate(GetTemplateRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-template">Documentation * on elastic.co */ @@ -2474,7 +2474,7 @@ public final GetTemplateResponse getTemplate( * Elasticsearch 7.8. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-get-template">Documentation * on elastic.co */ @@ -2493,7 +2493,7 @@ public GetTemplateResponse getTemplate() throws IOException, ElasticsearchExcept * reindexing work is completed in that task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-reindex">Documentation * on elastic.co */ @@ -2516,7 +2516,7 @@ public MigrateReindexResponse migrateReindex(MigrateReindexRequest request) * a function that initializes a builder to create the * {@link MigrateReindexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-reindex">Documentation * on elastic.co */ @@ -2534,7 +2534,7 @@ public final MigrateReindexResponse migrateReindex( * reindexing work is completed in that task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-reindex">Documentation * on elastic.co */ @@ -2559,7 +2559,7 @@ public MigrateReindexResponse migrateReindex() throws IOException, Elasticsearch * becomes the write index for the stream. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-to-data-stream">Documentation * on elastic.co */ @@ -2588,7 +2588,7 @@ public MigrateToDataStreamResponse migrateToDataStream(MigrateToDataStreamReques * a function that initializes a builder to create the * {@link MigrateToDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-migrate-to-data-stream">Documentation * on elastic.co */ @@ -2607,7 +2607,7 @@ public final MigrateToDataStreamResponse migrateToDataStream( * operation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-modify-data-stream">Documentation * on elastic.co */ @@ -2629,7 +2629,7 @@ public ModifyDataStreamResponse modifyDataStream(ModifyDataStreamRequest request * a function that initializes a builder to create the * {@link ModifyDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-modify-data-stream">Documentation * on elastic.co */ @@ -2678,7 +2678,7 @@ public final ModifyDataStreamResponse modifyDataStream( * _open and _close index actions as well. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-open">Documentation * on elastic.co */ @@ -2729,7 +2729,7 @@ public OpenResponse open(OpenRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link OpenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-open">Documentation * on elastic.co */ @@ -2761,7 +2761,7 @@ public final OpenResponse open(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-promote-data-stream">Documentation * on elastic.co */ @@ -2797,7 +2797,7 @@ public PromoteDataStreamResponse promoteDataStream(PromoteDataStreamRequest requ * a function that initializes a builder to create the * {@link PromoteDataStreamRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-promote-data-stream">Documentation * on elastic.co */ @@ -2815,7 +2815,7 @@ public final PromoteDataStreamResponse promoteDataStream( * Adds a data stream or index to an alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-alias">Documentation * on elastic.co */ @@ -2835,7 +2835,7 @@ public PutAliasResponse putAlias(PutAliasRequest request) throws IOException, El * a function that initializes a builder to create the * {@link PutAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-alias">Documentation * on elastic.co */ @@ -2852,7 +2852,7 @@ public final PutAliasResponse putAlias(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-lifecycle">Documentation * on elastic.co */ @@ -2873,7 +2873,7 @@ public PutDataLifecycleResponse putDataLifecycle(PutDataLifecycleRequest request * a function that initializes a builder to create the * {@link PutDataLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-lifecycle">Documentation * on elastic.co */ @@ -2895,7 +2895,7 @@ public final PutDataLifecycleResponse putDataLifecycle( * are changed by this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-mappings">Documentation * on elastic.co */ @@ -2920,7 +2920,7 @@ public PutDataStreamMappingsResponse putDataStreamMappings(PutDataStreamMappings * a function that initializes a builder to create the * {@link PutDataStreamMappingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-mappings">Documentation * on elastic.co */ @@ -2938,7 +2938,7 @@ public final PutDataStreamMappingsResponse putDataStreamMappings( * Update the data stream options of the specified data streams. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-options">Documentation * on elastic.co */ @@ -2959,7 +2959,7 @@ public PutDataStreamOptionsResponse putDataStreamOptions(PutDataStreamOptionsReq * a function that initializes a builder to create the * {@link PutDataStreamOptionsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-options">Documentation * on elastic.co */ @@ -2984,7 +2984,7 @@ public final PutDataStreamOptionsResponse putDataStreamOptions( * the data stream is next rolled over. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-settings">Documentation * on elastic.co */ @@ -3012,7 +3012,7 @@ public PutDataStreamSettingsResponse putDataStreamSettings(PutDataStreamSettings * a function that initializes a builder to create the * {@link PutDataStreamSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-data-stream-settings">Documentation * on elastic.co */ @@ -3070,7 +3070,7 @@ public final PutDataStreamSettingsResponse putDataStreamSettings( * new definition. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-index-template">Documentation * on elastic.co */ @@ -3131,7 +3131,7 @@ public PutIndexTemplateResponse putIndexTemplate(PutIndexTemplateRequest request * a function that initializes a builder to create the * {@link PutIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-index-template">Documentation * on elastic.co */ @@ -3164,7 +3164,7 @@ public final PutIndexTemplateResponse putIndexTemplate( * mapping API examples guide. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-mapping">Documentation * on elastic.co */ @@ -3199,7 +3199,7 @@ public PutMappingResponse putMapping(PutMappingRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link PutMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-mapping">Documentation * on elastic.co */ @@ -3285,7 +3285,7 @@ public final PutMappingResponse putMapping(Function for step-by-step examples. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-settings">Documentation * on elastic.co */ @@ -3375,7 +3375,7 @@ public PutIndicesSettingsResponse putSettings(PutIndicesSettingsRequest request) * a function that initializes a builder to create the * {@link PutIndicesSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-settings">Documentation * on elastic.co */ @@ -3460,7 +3460,7 @@ public final PutIndicesSettingsResponse putSettings( * analyzers on existing indices for step-by-step examples. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-settings">Documentation * on elastic.co */ @@ -3505,7 +3505,7 @@ public PutIndicesSettingsResponse putSettings() throws IOException, Elasticsearc * non-deterministic merging order. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-template">Documentation * on elastic.co */ @@ -3553,7 +3553,7 @@ public PutTemplateResponse putTemplate(PutTemplateRequest request) throws IOExce * a function that initializes a builder to create the * {@link PutTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-put-template">Documentation * on elastic.co */ @@ -3604,7 +3604,7 @@ public final PutTemplateResponse putTemplate( * the recovery API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-recovery">Documentation * on elastic.co */ @@ -3657,7 +3657,7 @@ public RecoveryResponse recovery(RecoveryRequest request) throws IOException, El * a function that initializes a builder to create the * {@link RecoveryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-recovery">Documentation * on elastic.co */ @@ -3705,7 +3705,7 @@ public final RecoveryResponse recovery(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-recovery">Documentation * on elastic.co */ @@ -3744,7 +3744,7 @@ public RecoveryResponse recovery() throws IOException, ElasticsearchException { * indexing operation waits for a periodic refresh before running the search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-refresh">Documentation * on elastic.co */ @@ -3786,7 +3786,7 @@ public RefreshResponse refresh(RefreshRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link RefreshRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-refresh">Documentation * on elastic.co */ @@ -3823,7 +3823,7 @@ public final RefreshResponse refresh(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-refresh">Documentation * on elastic.co */ @@ -3860,7 +3860,7 @@ public RefreshResponse refresh() throws IOException, ElasticsearchException { * in case shards are relocated in the future. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-reload-search-analyzers">Documentation * on elastic.co */ @@ -3901,7 +3901,7 @@ public ReloadSearchAnalyzersResponse reloadSearchAnalyzers(ReloadSearchAnalyzers * a function that initializes a builder to create the * {@link ReloadSearchAnalyzersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-reload-search-analyzers">Documentation * on elastic.co */ @@ -3920,7 +3920,7 @@ public final ReloadSearchAnalyzersResponse reloadSearchAnalyzers( * allowed on an index by blocking specific operation types. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-remove-block">Documentation * on elastic.co */ @@ -3941,7 +3941,7 @@ public RemoveBlockResponse removeBlock(RemoveBlockRequest request) throws IOExce * a function that initializes a builder to create the * {@link RemoveBlockRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-remove-block">Documentation * on elastic.co */ @@ -4037,7 +4037,7 @@ public final RemoveBlockResponse removeBlock( * to now indicate a connected status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-cluster">Documentation * on elastic.co */ @@ -4136,7 +4136,7 @@ public ResolveClusterResponse resolveCluster(ResolveClusterRequest request) * a function that initializes a builder to create the * {@link ResolveClusterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-cluster">Documentation * on elastic.co */ @@ -4230,7 +4230,7 @@ public final ResolveClusterResponse resolveCluster( * to now indicate a connected status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-cluster">Documentation * on elastic.co */ @@ -4248,7 +4248,7 @@ public ResolveClusterResponse resolveCluster() throws IOException, Elasticsearch * streams. Multiple patterns and remote clusters are supported. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-index">Documentation * on elastic.co */ @@ -4269,7 +4269,7 @@ public ResolveIndexResponse resolveIndex(ResolveIndexRequest request) throws IOE * a function that initializes a builder to create the * {@link ResolveIndexRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-resolve-index">Documentation * on elastic.co */ @@ -4338,7 +4338,7 @@ public final ResolveIndexResponse resolveIndex( * 2099, the new index's name is my-index-2099.05.07-000002. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-rollover">Documentation * on elastic.co */ @@ -4409,7 +4409,7 @@ public RolloverResponse rollover(RolloverRequest request) throws IOException, El * a function that initializes a builder to create the * {@link RolloverRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-rollover">Documentation * on elastic.co */ @@ -4427,7 +4427,7 @@ public final RolloverResponse rollover(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-segments">Documentation * on elastic.co */ @@ -4448,7 +4448,7 @@ public SegmentsResponse segments(SegmentsRequest request) throws IOException, El * a function that initializes a builder to create the * {@link SegmentsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-segments">Documentation * on elastic.co */ @@ -4464,7 +4464,7 @@ public final SegmentsResponse segments(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-segments">Documentation * on elastic.co */ @@ -4495,7 +4495,7 @@ public SegmentsResponse segments() throws IOException, ElasticsearchException { * are unassigned or have one or more unassigned replica shards. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shard-stores">Documentation * on elastic.co */ @@ -4529,7 +4529,7 @@ public ShardStoresResponse shardStores(ShardStoresRequest request) throws IOExce * a function that initializes a builder to create the * {@link ShardStoresRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shard-stores">Documentation * on elastic.co */ @@ -4559,7 +4559,7 @@ public final ShardStoresResponse shardStores( * are unassigned or have one or more unassigned replica shards. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shard-stores">Documentation * on elastic.co */ @@ -4634,7 +4634,7 @@ public ShardStoresResponse shardStores() throws IOException, ElasticsearchExcept * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shrink">Documentation * on elastic.co */ @@ -4712,7 +4712,7 @@ public ShrinkResponse shrink(ShrinkRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link ShrinkRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-shrink">Documentation * on elastic.co */ @@ -4730,7 +4730,7 @@ public final ShrinkResponse shrink(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-index-template">Documentation * on elastic.co */ @@ -4752,7 +4752,7 @@ public SimulateIndexTemplateResponse simulateIndexTemplate(SimulateIndexTemplate * a function that initializes a builder to create the * {@link SimulateIndexTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-index-template">Documentation * on elastic.co */ @@ -4771,7 +4771,7 @@ public final SimulateIndexTemplateResponse simulateIndexTemplate( * template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-template">Documentation * on elastic.co */ @@ -4793,7 +4793,7 @@ public SimulateTemplateResponse simulateTemplate(SimulateTemplateRequest request * a function that initializes a builder to create the * {@link SimulateTemplateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-template">Documentation * on elastic.co */ @@ -4810,7 +4810,7 @@ public final SimulateTemplateResponse simulateTemplate( * template. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-simulate-template">Documentation * on elastic.co */ @@ -4889,7 +4889,7 @@ public SimulateTemplateResponse simulateTemplate() throws IOException, Elasticse * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-split">Documentation * on elastic.co */ @@ -4971,7 +4971,7 @@ public SplitResponse split(SplitRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link SplitRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-split">Documentation * on elastic.co */ @@ -5002,7 +5002,7 @@ public final SplitResponse split(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-stats">Documentation * on elastic.co */ @@ -5036,7 +5036,7 @@ public IndicesStatsResponse stats(IndicesStatsRequest request) throws IOExceptio * a function that initializes a builder to create the * {@link IndicesStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-stats">Documentation * on elastic.co */ @@ -5066,7 +5066,7 @@ public final IndicesStatsResponse stats( * any node-level statistics to which the shard contributed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-stats">Documentation * on elastic.co */ @@ -5083,7 +5083,7 @@ public IndicesStatsResponse stats() throws IOException, ElasticsearchException { * Adds a data stream or index to an alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-update-aliases">Documentation * on elastic.co */ @@ -5104,7 +5104,7 @@ public UpdateAliasesResponse updateAliases(UpdateAliasesRequest request) * a function that initializes a builder to create the * {@link UpdateAliasesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-update-aliases">Documentation * on elastic.co */ @@ -5120,7 +5120,7 @@ public final UpdateAliasesResponse updateAliases( * Adds a data stream or index to an alias. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-update-aliases">Documentation * on elastic.co */ @@ -5137,7 +5137,7 @@ public UpdateAliasesResponse updateAliases() throws IOException, ElasticsearchEx * Validates a query without running it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-validate-query">Documentation * on elastic.co */ @@ -5158,7 +5158,7 @@ public ValidateQueryResponse validateQuery(ValidateQueryRequest request) * a function that initializes a builder to create the * {@link ValidateQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-validate-query">Documentation * on elastic.co */ @@ -5174,7 +5174,7 @@ public final ValidateQueryResponse validateQuery( * Validates a query without running it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-indices-validate-query">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsAliasRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsAliasRequest.java index 87fd494c11..eb21809e01 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsAliasRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsAliasRequest.java @@ -104,10 +104,13 @@ public static ExistsAliasRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -129,8 +132,10 @@ public final List expandWildcards() { } /** - * If false, requests that include a missing data stream or index - * in the target indices or data streams return an error. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -209,10 +214,13 @@ private Builder(ExistsAliasRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -252,8 +260,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, requests that include a missing data stream or index - * in the target indices or data streams return an error. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsRequest.java index 66a9bafbdc..54072fd598 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ExistsRequest.java @@ -108,10 +108,13 @@ public static ExistsRequest of(Function> f } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -143,8 +146,10 @@ public final Boolean flatSettings() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -224,10 +229,13 @@ private Builder(ExistsRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -277,8 +285,10 @@ public final Builder flatSettings(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FieldUsageStatsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FieldUsageStatsRequest.java index de45ce735b..ab3aa997cb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FieldUsageStatsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FieldUsageStatsRequest.java @@ -106,12 +106,13 @@ public static FieldUsageStatsRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -143,8 +144,10 @@ public final List fields() { } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -197,12 +200,13 @@ private Builder(FieldUsageStatsRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -268,8 +272,10 @@ public final Builder fields(String value, String... values) { } /** - * If true, missing or closed indices are not included in the - * response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FlushRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FlushRequest.java index b48d410788..f48873ac59 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FlushRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FlushRequest.java @@ -121,10 +121,13 @@ public static FlushRequest of(Function> fn) } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -157,8 +160,10 @@ public final Boolean force() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -227,10 +232,13 @@ private Builder(FlushRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -281,8 +289,10 @@ public final Builder force(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java index 67abb75876..52fd77ac9f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ForcemergeRequest.java @@ -183,9 +183,13 @@ public static ForcemergeRequest of(Function_all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -215,8 +219,10 @@ public final Boolean flush() { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -312,9 +318,13 @@ private Builder(ForcemergeRequest instance) { } /** - * Whether to ignore if a wildcard indices expression resolves into no concrete - * indices. (This includes _all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -360,8 +370,10 @@ public final Builder flush(@Nullable Boolean value) { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasRequest.java index 311d9c374e..47d10078a4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasRequest.java @@ -102,10 +102,13 @@ public static GetAliasRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -127,8 +130,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -207,10 +212,13 @@ private Builder(GetAliasRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -250,8 +258,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingRequest.java index 6659c0ccc0..f496de8e2d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingRequest.java @@ -106,10 +106,13 @@ public static GetFieldMappingRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -141,8 +144,10 @@ public final List fields() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -210,10 +215,13 @@ private Builder(GetFieldMappingRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -279,8 +287,10 @@ public final Builder fields(String value, String... values) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexRequest.java index ebc145466c..a8231ed81b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexRequest.java @@ -116,11 +116,13 @@ public static GetIndexRequest of(Functionfalse, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -160,7 +162,10 @@ public final Boolean flatSettings() { } /** - * If false, requests that target a missing index return an error. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -259,11 +264,13 @@ private Builder(GetIndexRequest instance) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. This behavior - * applies even if the request targets other open indices. For example, a - * request targeting foo*,bar* returns an error if an index starts with foo but - * no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -335,7 +342,10 @@ public final Builder flatSettings(@Nullable Boolean value) { } /** - * If false, requests that target a missing index return an error. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsRequest.java index 4d39582192..afae3aaa29 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsRequest.java @@ -115,11 +115,13 @@ public static GetIndicesSettingsRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -151,8 +153,10 @@ public final Boolean flatSettings() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -268,11 +272,13 @@ private Builder(GetIndicesSettingsRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -322,8 +328,10 @@ public final Builder flatSettings(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingRequest.java index b6c5246092..22bb8ce04f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingRequest.java @@ -104,10 +104,13 @@ public static GetMappingRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -129,8 +132,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -215,10 +220,13 @@ private Builder(GetMappingRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -258,8 +266,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsRequest.java index f01df0a45b..57af319cf0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsRequest.java @@ -237,7 +237,7 @@ public final Level level() { } /** - * Limit the information returned the specific metrics + * Comma-separated list of metrics used to limit the request. *

* API name: {@code metric} */ @@ -505,7 +505,7 @@ public final Builder level(@Nullable Level value) { } /** - * Limit the information returned the specific metrics + * Comma-separated list of metrics used to limit the request. *

* API name: {@code metric} *

@@ -517,7 +517,7 @@ public final Builder metric(List list) { } /** - * Limit the information returned the specific metrics + * Comma-separated list of metrics used to limit the request. *

* API name: {@code metric} *

diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenRequest.java index b37e152f3f..02e2d84eed 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenRequest.java @@ -139,10 +139,13 @@ public static OpenRequest of(Function> fn) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -164,8 +167,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -263,10 +268,13 @@ private Builder(OpenRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -306,8 +314,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndicesSettingsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndicesSettingsRequest.java index f3e414a1c5..c60f3e05fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndicesSettingsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutIndicesSettingsRequest.java @@ -190,12 +190,13 @@ public static PutIndicesSettingsRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -227,7 +228,10 @@ public final Boolean flatSettings() { } /** - * If true, returns settings in flat format. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -360,12 +364,13 @@ private Builder(PutIndicesSettingsRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -415,7 +420,10 @@ public final Builder flatSettings(@Nullable Boolean value) { } /** - * If true, returns settings in flat format. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java index d37ca2b51a..6a6c214b03 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PutMappingRequest.java @@ -213,10 +213,13 @@ public final SourceField source() { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -278,8 +281,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -636,10 +641,13 @@ public final Builder source(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -753,8 +761,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryRequest.java index 17222b96cc..33f5231059 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryRequest.java @@ -145,10 +145,13 @@ public final Boolean activeOnly() { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -181,8 +184,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -249,10 +254,13 @@ public final Builder activeOnly(@Nullable Boolean value) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -303,8 +311,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RefreshRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RefreshRequest.java index a63c6198db..287c86cf3a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RefreshRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RefreshRequest.java @@ -116,10 +116,13 @@ public static RefreshRequest of(Function> } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -141,8 +144,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -191,10 +196,13 @@ private Builder(RefreshRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -234,8 +242,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersRequest.java index 38264a2db2..3c80a529e9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersRequest.java @@ -119,9 +119,13 @@ public static ReloadSearchAnalyzersRequest of(Function_all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -141,8 +145,10 @@ public final List expandWildcards() { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -204,9 +210,13 @@ private Builder(ReloadSearchAnalyzersRequest instance) { } /** - * Whether to ignore if a wildcard indices expression resolves into no concrete - * indices. (This includes _all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -242,8 +252,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RemoveBlockRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RemoveBlockRequest.java index b53c0e3c9a..7ddcbfa3c4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RemoveBlockRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RemoveBlockRequest.java @@ -107,12 +107,13 @@ public static RemoveBlockRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -143,8 +144,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -236,12 +239,13 @@ private Builder(RemoveBlockRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -291,8 +295,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveClusterRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveClusterRequest.java index 4b92490307..4b879891b4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveClusterRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveClusterRequest.java @@ -181,14 +181,16 @@ public static ResolveClusterRequest of(Function_all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. - * NOTE: This option is only supported when specifying an index expression. You - * will get an error if you specify index options to the - * _resolve/cluster API endpoint that takes no index expression. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. NOTE: This option is only supported + * when specifying an index expression. You will get an error if you specify + * index options to the _resolve/cluster API endpoint that takes no + * index expression. *

* API name: {@code allow_no_indices} */ @@ -229,9 +231,11 @@ public final Boolean ignoreThrottled() { } /** - * If false, the request returns an error if it targets a missing or closed - * index. NOTE: This option is only supported when specifying an index - * expression. You will get an error if you specify index options to the + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. NOTE: This option is only supported when specifying an + * index expression. You will get an error if you specify index options to the * _resolve/cluster API endpoint that takes no index expression. *

* API name: {@code ignore_unavailable} @@ -312,14 +316,16 @@ private Builder(ResolveClusterRequest instance) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. - * This behavior applies even if the request targets other open indices. For - * example, a request targeting foo*,bar* returns an error if an - * index starts with foo but no index starts with bar. - * NOTE: This option is only supported when specifying an index expression. You - * will get an error if you specify index options to the - * _resolve/cluster API endpoint that takes no index expression. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. NOTE: This option is only supported + * when specifying an index expression. You will get an error if you specify + * index options to the _resolve/cluster API endpoint that takes no + * index expression. *

* API name: {@code allow_no_indices} */ @@ -381,9 +387,11 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing or closed - * index. NOTE: This option is only supported when specifying an index - * expression. You will get an error if you specify index options to the + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. NOTE: This option is only supported when specifying an + * index expression. You will get an error if you specify index options to the * _resolve/cluster API endpoint that takes no index expression. *

* API name: {@code ignore_unavailable} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexRequest.java index 2445d79ac8..3ff879a60a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexRequest.java @@ -104,12 +104,13 @@ public static ResolveIndexRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -131,8 +132,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -233,12 +236,13 @@ private Builder(ResolveIndexRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. For example, a request targeting foo*,bar* returns an - * error if an index starts with foo but no index starts with - * bar. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -278,8 +282,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsRequest.java index a2bf16367b..6ca39147eb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsRequest.java @@ -95,10 +95,13 @@ public static SegmentsRequest of(Functionfalse, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -120,8 +123,10 @@ public final List expandWildcards() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -170,10 +175,13 @@ private Builder(SegmentsRequest instance) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -213,8 +221,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresRequest.java index 163bec68a0..7925300a71 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresRequest.java @@ -112,9 +112,13 @@ public static ShardStoresRequest of(Functionfalse, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -135,7 +139,10 @@ public final List expandWildcards() { } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -197,9 +204,13 @@ private Builder(ShardStoresRequest instance) { } /** - * If false, the request returns an error if any wildcard expression, index - * alias, or _all value targets only missing or closed indices. This behavior - * applies even if the request targets other open indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -237,7 +248,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * If true, missing or closed indices are not included in the response. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryRequest.java index 4fc6a7e30e..5dcef5e170 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryRequest.java @@ -150,10 +150,13 @@ public final Boolean allShards() { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -230,8 +233,10 @@ public final Boolean explain() { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -394,10 +399,13 @@ public final Builder allShards(@Nullable Boolean value) { } /** - * If false, the request returns an error if any wildcard - * expression, index alias, or _all value targets only missing or - * closed indices. This behavior applies even if the request targets other open - * indices. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -492,8 +500,10 @@ public final Builder explain(@Nullable Boolean value) { } /** - * If false, the request returns an error if it targets a missing - * or closed index. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStage.java new file mode 100644 index 0000000000..da866eb214 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStage.java @@ -0,0 +1,93 @@ +/* + * 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 co.elastic.clients.elasticsearch.indices.recovery; + +import co.elastic.clients.json.JsonEnum; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public enum RecoveryStage implements JsonEnum { + /** + * Recovery has not started. + */ + Init("INIT"), + + /** + * Reading index metadata and copying bytes from source to destination. + */ + Index("INDEX"), + + /** + * Verifying the integrity of the index. + */ + VerifyIndex("VERIFY_INDEX"), + + /** + * Replaying the transaction log. + */ + Translog("TRANSLOG"), + + /** + * Cleanup. + */ + Finalize("FINALIZE"), + + /** + * Complete. + */ + Done("DONE"), + + ; + + private final String jsonValue; + + RecoveryStage(String jsonValue) { + this.jsonValue = jsonValue; + } + + public String jsonValue() { + return this.jsonValue; + } + + public static final JsonEnum.Deserializer _DESERIALIZER = new JsonEnum.Deserializer<>( + RecoveryStage.values()); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryType.java new file mode 100644 index 0000000000..55d6ed9c66 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryType.java @@ -0,0 +1,92 @@ +/* + * 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 co.elastic.clients.elasticsearch.indices.recovery; + +import co.elastic.clients.json.JsonEnum; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public enum RecoveryType implements JsonEnum { + /** + * An empty store. Indicates a new primary shard or the forced allocation of an + * empty primary shard using the cluster reroute API. + */ + EmptyStore("EMPTY_STORE"), + + /** + * The store of an existing primary shard. Indicates recovery is related to node + * startup or the allocation of an existing primary shard. + */ + ExistingStore("EXISTING_STORE"), + + /** + * Shards of another index on the same node. Indicates recovery is related to a + * clone, shrink, or split operation. + */ + LocalShards("LOCAL_SHARDS"), + + /** + * A primary shard on another node. Indicates recovery is related to shard + * replication. + */ + Peer("PEER"), + + /** + * A snapshot. Indicates recovery is related to a snapshot restore operation. + */ + Snapshot("SNAPSHOT"), + + ; + + private final String jsonValue; + + RecoveryType(String jsonValue) { + this.jsonValue = jsonValue; + } + + public String jsonValue() { + return this.jsonValue; + } + + public static final JsonEnum.Deserializer _DESERIALIZER = new JsonEnum.Deserializer<>( + RecoveryType.values()); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java index 439b8e85db..7e67d4a05c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java @@ -34,7 +34,6 @@ import jakarta.json.stream.JsonGenerator; import java.lang.Boolean; import java.lang.Long; -import java.lang.String; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -72,7 +71,7 @@ public class ShardRecovery implements JsonpSerializable { private final RecoveryOrigin source; - private final String stage; + private final RecoveryStage stage; @Nullable private final RecoveryStartStatus start; @@ -97,7 +96,7 @@ public class ShardRecovery implements JsonpSerializable { private final TranslogStatus translog; - private final String type; + private final RecoveryType type; private final VerifyIndex verifyIndex; @@ -157,9 +156,11 @@ public final RecoveryOrigin source() { } /** - * Required - API name: {@code stage} + * Required - The recovery stage. + *

+ * API name: {@code stage} */ - public final String stage() { + public final RecoveryStage stage() { return this.stage; } @@ -232,9 +233,11 @@ public final TranslogStatus translog() { } /** - * Required - API name: {@code type} + * Required - The recovery source type. + *

+ * API name: {@code type} */ - public final String type() { + public final RecoveryType type() { return this.type; } @@ -269,8 +272,7 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { this.source.serialize(generator, mapper); generator.writeKey("stage"); - generator.write(this.stage); - + this.stage.serialize(generator, mapper); if (this.start != null) { generator.writeKey("start"); this.start.serialize(generator, mapper); @@ -307,8 +309,7 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { this.translog.serialize(generator, mapper); generator.writeKey("type"); - generator.write(this.type); - + this.type.serialize(generator, mapper); generator.writeKey("verify_index"); this.verifyIndex.serialize(generator, mapper); @@ -334,7 +335,7 @@ public static class Builder extends WithJsonObjectBuilderBase implement private RecoveryOrigin source; - private String stage; + private RecoveryStage stage; @Nullable private RecoveryStartStatus start; @@ -359,7 +360,7 @@ public static class Builder extends WithJsonObjectBuilderBase implement private TranslogStatus translog; - private String type; + private RecoveryType type; private VerifyIndex verifyIndex; @@ -431,9 +432,11 @@ public final Builder source(Function + * API name: {@code stage} */ - public final Builder stage(String value) { + public final Builder stage(RecoveryStage value) { this.stage = value; return this; } @@ -539,9 +542,11 @@ public final Builder translog(Function + * API name: {@code type} */ - public final Builder type(String value) { + public final Builder type(RecoveryType value) { this.type = value; return this; } @@ -599,7 +604,7 @@ protected static void setupShardRecoveryDeserializer(ObjectDeserializer> fn) { } /** - * Required - API name: {@code attributes} + * Required - Contains information about whether high compression was enabled + * and per-field vector formats. + *

+ * API name: {@code attributes} */ public final Map attributes() { return this.attributes; } /** - * Required - API name: {@code committed} + * Required - If true, the segment is synced to disk. Segments that + * are synced can survive a hard reboot. If false, the data from + * uncommitted segments is also stored in the transaction log so that + * Elasticsearch is able to replay changes on the next start. + *

+ * API name: {@code committed} */ public final boolean committed() { return this.committed; } /** - * Required - API name: {@code compound} + * Required - If true, Lucene merged all files from the segment + * into a single file to save file descriptors. + *

+ * API name: {@code compound} */ public final boolean compound() { return this.compound; } /** - * Required - API name: {@code deleted_docs} + * Required - The number of deleted documents as reported by Lucene, which may + * be higher or lower than the number of delete operations you have performed. + * This number excludes deletes that were performed recently and do not yet + * belong to a segment. Deleted documents are cleaned up by the automatic merge + * process if it makes sense to do so. Also, Elasticsearch creates extra deleted + * documents to internally track the recent history of operations on a shard. + *

+ * API name: {@code deleted_docs} */ public final long deletedDocs() { return this.deletedDocs; } /** - * Required - API name: {@code generation} + * Required - Generation number, such as 0. Elasticsearch + * increments this generation number for each segment written then uses this + * number to derive the segment name. + *

+ * API name: {@code generation} */ public final int generation() { return this.generation; } /** - * Required - API name: {@code search} + * Required - If true, the segment is searchable. If + * false, the segment has most likely been written to disk but + * needs a refresh to be searchable. + *

+ * API name: {@code search} */ public final boolean search() { return this.search; } /** - * Required - API name: {@code size_in_bytes} + * Required - Disk space used by the segment, in bytes. + *

+ * API name: {@code size_in_bytes} */ public final double sizeInBytes() { return this.sizeInBytes; } /** - * Required - API name: {@code num_docs} + * Required - The number of documents as reported by Lucene. This excludes + * deleted documents and counts any nested documents separately from their + * parents. It also excludes documents which were indexed recently and do not + * yet belong to a segment. + *

+ * API name: {@code num_docs} */ public final long numDocs() { return this.numDocs; } /** - * Required - API name: {@code version} + * Required - Version of Lucene used to write the segment. + *

+ * API name: {@code version} */ public final String version() { return this.version; @@ -258,7 +293,10 @@ private Builder(Segment instance) { } /** - * Required - API name: {@code attributes} + * Required - Contains information about whether high compression was enabled + * and per-field vector formats. + *

+ * API name: {@code attributes} *

* Adds all entries of map to attributes. */ @@ -268,7 +306,10 @@ public final Builder attributes(Map map) { } /** - * Required - API name: {@code attributes} + * Required - Contains information about whether high compression was enabled + * and per-field vector formats. + *

+ * API name: {@code attributes} *

* Adds an entry to attributes. */ @@ -278,7 +319,12 @@ public final Builder attributes(String key, String value) { } /** - * Required - API name: {@code committed} + * Required - If true, the segment is synced to disk. Segments that + * are synced can survive a hard reboot. If false, the data from + * uncommitted segments is also stored in the transaction log so that + * Elasticsearch is able to replay changes on the next start. + *

+ * API name: {@code committed} */ public final Builder committed(boolean value) { this.committed = value; @@ -286,7 +332,10 @@ public final Builder committed(boolean value) { } /** - * Required - API name: {@code compound} + * Required - If true, Lucene merged all files from the segment + * into a single file to save file descriptors. + *

+ * API name: {@code compound} */ public final Builder compound(boolean value) { this.compound = value; @@ -294,7 +343,14 @@ public final Builder compound(boolean value) { } /** - * Required - API name: {@code deleted_docs} + * Required - The number of deleted documents as reported by Lucene, which may + * be higher or lower than the number of delete operations you have performed. + * This number excludes deletes that were performed recently and do not yet + * belong to a segment. Deleted documents are cleaned up by the automatic merge + * process if it makes sense to do so. Also, Elasticsearch creates extra deleted + * documents to internally track the recent history of operations on a shard. + *

+ * API name: {@code deleted_docs} */ public final Builder deletedDocs(long value) { this.deletedDocs = value; @@ -302,7 +358,11 @@ public final Builder deletedDocs(long value) { } /** - * Required - API name: {@code generation} + * Required - Generation number, such as 0. Elasticsearch + * increments this generation number for each segment written then uses this + * number to derive the segment name. + *

+ * API name: {@code generation} */ public final Builder generation(int value) { this.generation = value; @@ -310,7 +370,11 @@ public final Builder generation(int value) { } /** - * Required - API name: {@code search} + * Required - If true, the segment is searchable. If + * false, the segment has most likely been written to disk but + * needs a refresh to be searchable. + *

+ * API name: {@code search} */ public final Builder search(boolean value) { this.search = value; @@ -318,7 +382,9 @@ public final Builder search(boolean value) { } /** - * Required - API name: {@code size_in_bytes} + * Required - Disk space used by the segment, in bytes. + *

+ * API name: {@code size_in_bytes} */ public final Builder sizeInBytes(double value) { this.sizeInBytes = value; @@ -326,7 +392,12 @@ public final Builder sizeInBytes(double value) { } /** - * Required - API name: {@code num_docs} + * Required - The number of documents as reported by Lucene. This excludes + * deleted documents and counts any nested documents separately from their + * parents. It also excludes documents which were indexed recently and do not + * yet belong to a segment. + *

+ * API name: {@code num_docs} */ public final Builder numDocs(long value) { this.numDocs = value; @@ -334,7 +405,9 @@ public final Builder numDocs(long value) { } /** - * Required - API name: {@code version} + * Required - Version of Lucene used to write the segment. + *

+ * API name: {@code version} */ public final Builder version(String value) { this.version = value; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java index e6ca346581..f7d5f35964 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java @@ -82,21 +82,28 @@ public static ShardSegmentRouting of(Function + * API name: {@code node} */ public final String node() { return this.node; } /** - * Required - API name: {@code primary} + * Required - If true, the shard is a primary shard. + *

+ * API name: {@code primary} */ public final boolean primary() { return this.primary; } /** - * Required - API name: {@code state} + * Required - The state of the shard, such as STARTED or + * RELOCATING. + *

+ * API name: {@code state} */ public final String state() { return this.state; @@ -153,7 +160,9 @@ private Builder(ShardSegmentRouting instance) { } /** - * Required - API name: {@code node} + * Required - The node ID of the node that holds the shard. + *

+ * API name: {@code node} */ public final Builder node(String value) { this.node = value; @@ -161,7 +170,9 @@ public final Builder node(String value) { } /** - * Required - API name: {@code primary} + * Required - If true, the shard is a primary shard. + *

+ * API name: {@code primary} */ public final Builder primary(boolean value) { this.primary = value; @@ -169,7 +180,10 @@ public final Builder primary(boolean value) { } /** - * Required - API name: {@code state} + * Required - The state of the shard, such as STARTED or + * RELOCATING. + *

+ * API name: {@code state} */ public final Builder state(String value) { this.state = value; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java index c622df878a..6ae2f4bebf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java @@ -104,13 +104,18 @@ public final ShardStoreNode node() { } /** - * Required - API name: {@code allocation} + * Required - The status of the store copy, whether it is used as a primary, + * replica, or not used at all. + *

+ * API name: {@code allocation} */ public final ShardStoreAllocation allocation() { return this.allocation; } /** + * The allocation ID of the store copy. + *

* API name: {@code allocation_id} */ @Nullable @@ -119,6 +124,9 @@ public final String allocationId() { } /** + * Any exception encountered while opening the shard index or from an earlier + * engine failure. + *

* API name: {@code store_exception} */ @Nullable @@ -210,7 +218,10 @@ private Builder(ShardStore instance) { } /** - * Required - API name: {@code allocation} + * Required - The status of the store copy, whether it is used as a primary, + * replica, or not used at all. + *

+ * API name: {@code allocation} */ public final Builder allocation(ShardStoreAllocation value) { this.allocation = value; @@ -218,6 +229,8 @@ public final Builder allocation(ShardStoreAllocation value) { } /** + * The allocation ID of the store copy. + *

* API name: {@code allocation_id} */ public final Builder allocationId(@Nullable String value) { @@ -226,6 +239,9 @@ public final Builder allocationId(@Nullable String value) { } /** + * Any exception encountered while opening the shard index or from an earlier + * engine failure. + *

* API name: {@code store_exception} */ public final Builder storeException(@Nullable ShardStoreException value) { @@ -234,6 +250,9 @@ public final Builder storeException(@Nullable ShardStoreException value) { } /** + * Any exception encountered while opening the shard index or from an earlier + * engine failure. + *

* API name: {@code store_exception} */ public final Builder storeException( diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreAllocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreAllocation.java index 83bfccd21f..c7abf9fe3b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreAllocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreAllocation.java @@ -46,10 +46,19 @@ */ @JsonpDeserializable public enum ShardStoreAllocation implements JsonEnum { + /** + * The store copy is used as a primary shard. + */ Primary("primary"), + /** + * The store copy is used as a replica shard. + */ Replica("replica"), + /** + * The store copy is not used. + */ Unused("unused"), ; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAIServiceSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAIServiceSettings.java index 6b949d8493..af92c676cf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAIServiceSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAIServiceSettings.java @@ -31,6 +31,7 @@ import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -65,6 +66,12 @@ public class AzureOpenAIServiceSettings implements JsonpSerializable { private final String apiVersion; + @Nullable + private final String clientId; + + @Nullable + private final String clientSecret; + private final String deploymentId; @Nullable @@ -75,16 +82,25 @@ public class AzureOpenAIServiceSettings implements JsonpSerializable { private final String resourceName; + private final List scopes; + + @Nullable + private final String tenantId; + // --------------------------------------------------------------------------------------------- private AzureOpenAIServiceSettings(Builder builder) { this.apiKey = builder.apiKey; this.apiVersion = ApiTypeHelper.requireNonNull(builder.apiVersion, this, "apiVersion"); + this.clientId = builder.clientId; + this.clientSecret = builder.clientSecret; this.deploymentId = ApiTypeHelper.requireNonNull(builder.deploymentId, this, "deploymentId"); this.entraId = builder.entraId; this.rateLimit = builder.rateLimit; this.resourceName = ApiTypeHelper.requireNonNull(builder.resourceName, this, "resourceName"); + this.scopes = ApiTypeHelper.unmodifiable(builder.scopes); + this.tenantId = builder.tenantId; } @@ -93,14 +109,12 @@ public static AzureOpenAIServiceSettings of(Functionapi_key or entra_id. If you do not provide either - * or you provide both, you will receive an error when you try to create your - * model. + * A valid API key for your Azure OpenAI account. *

- * IMPORTANT: You need to provide the API key only once, during the inference - * model creation. The get inference endpoint API does not retrieve your API - * key. + * IMPORTANT: You must specify either api_key, + * entra_id, or client_secret. If you do not provide + * one or you provide more than one of them, you will receive an error when you + * try to create your endpoint. *

* API name: {@code api_key} */ @@ -119,6 +133,42 @@ public final String apiVersion() { return this.apiVersion; } + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * application ID that's assigned to your app. + *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code client_id} + */ + @Nullable + public final String clientId() { + return this.clientId; + } + + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * application secret that you created in the Microsoft app registration portal + * for your app. + *

+ * IMPORTANT: You must specify either api_key, + * entra_id, or client_secret. If you do not provide + * one or you provide more than one of them, you will receive an error when you + * try to create your endpoint. + *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code client_secret} + */ + @Nullable + public final String clientSecret() { + return this.clientSecret; + } + /** * Required - The deployment name of your deployed models. Your Azure OpenAI * deployments can be found though the Azure OpenAI Studio portal that is linked @@ -131,9 +181,12 @@ public final String deploymentId() { } /** - * A valid Microsoft Entra token. You must specify either api_key - * or entra_id. If you do not provide either or you provide both, - * you will receive an error when you try to create your model. + * A valid Microsoft Entra token. + *

+ * IMPORTANT: You must specify either api_key, + * entra_id, or client_secret. If you do not provide + * one or you provide more than one of them, you will receive an error when you + * try to create your endpoint. *

* API name: {@code entra_id} */ @@ -167,6 +220,43 @@ public final String resourceName() { return this.resourceName; } + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * resource identifier (application ID URI) of the resource you want, suffixed + * with .default For example: + * + *

+	 * "scopes": [
+	 *   "https://cognitiveservices.azure.com/.default"
+	 * ]
+	 * 
+	 * 
+ *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code scopes} + */ + public final List scopes() { + return this.scopes; + } + + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * directory tenant the application plans to operate against. + *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code tenant_id} + */ + @Nullable + public final String tenantId() { + return this.tenantId; + } + /** * Serialize this object to JSON. */ @@ -186,6 +276,16 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("api_version"); generator.write(this.apiVersion); + if (this.clientId != null) { + generator.writeKey("client_id"); + generator.write(this.clientId); + + } + if (this.clientSecret != null) { + generator.writeKey("client_secret"); + generator.write(this.clientSecret); + + } generator.writeKey("deployment_id"); generator.write(this.deploymentId); @@ -202,6 +302,22 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("resource_name"); generator.write(this.resourceName); + if (ApiTypeHelper.isDefined(this.scopes)) { + generator.writeKey("scopes"); + generator.writeStartArray(); + for (String item0 : this.scopes) { + generator.write(item0); + + } + generator.writeEnd(); + + } + if (this.tenantId != null) { + generator.writeKey("tenant_id"); + generator.write(this.tenantId); + + } + } @Override @@ -223,6 +339,12 @@ public static class Builder extends WithJsonObjectBuilderBase private String apiVersion; + @Nullable + private String clientId; + + @Nullable + private String clientSecret; + private String deploymentId; @Nullable @@ -233,26 +355,34 @@ public static class Builder extends WithJsonObjectBuilderBase private String resourceName; + @Nullable + private List scopes; + + @Nullable + private String tenantId; + public Builder() { } private Builder(AzureOpenAIServiceSettings instance) { this.apiKey = instance.apiKey; this.apiVersion = instance.apiVersion; + this.clientId = instance.clientId; + this.clientSecret = instance.clientSecret; this.deploymentId = instance.deploymentId; this.entraId = instance.entraId; this.rateLimit = instance.rateLimit; this.resourceName = instance.resourceName; + this.scopes = instance.scopes; + this.tenantId = instance.tenantId; } /** - * A valid API key for your Azure OpenAI account. You must specify either - * api_key or entra_id. If you do not provide either - * or you provide both, you will receive an error when you try to create your - * model. + * A valid API key for your Azure OpenAI account. *

- * IMPORTANT: You need to provide the API key only once, during the inference - * model creation. The get inference endpoint API does not retrieve your API - * key. + * IMPORTANT: You must specify either api_key, + * entra_id, or client_secret. If you do not provide + * one or you provide more than one of them, you will receive an error when you + * try to create your endpoint. *

* API name: {@code api_key} */ @@ -272,6 +402,42 @@ public final Builder apiVersion(String value) { return this; } + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * application ID that's assigned to your app. + *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code client_id} + */ + public final Builder clientId(@Nullable String value) { + this.clientId = value; + return this; + } + + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * application secret that you created in the Microsoft app registration portal + * for your app. + *

+ * IMPORTANT: You must specify either api_key, + * entra_id, or client_secret. If you do not provide + * one or you provide more than one of them, you will receive an error when you + * try to create your endpoint. + *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code client_secret} + */ + public final Builder clientSecret(@Nullable String value) { + this.clientSecret = value; + return this; + } + /** * Required - The deployment name of your deployed models. Your Azure OpenAI * deployments can be found though the Azure OpenAI Studio portal that is linked @@ -285,9 +451,12 @@ public final Builder deploymentId(String value) { } /** - * A valid Microsoft Entra token. You must specify either api_key - * or entra_id. If you do not provide either or you provide both, - * you will receive an error when you try to create your model. + * A valid Microsoft Entra token. + *

+ * IMPORTANT: You must specify either api_key, + * entra_id, or client_secret. If you do not provide + * one or you provide more than one of them, you will receive an error when you + * try to create your endpoint. *

* API name: {@code entra_id} */ @@ -336,6 +505,71 @@ public final Builder resourceName(String value) { return this; } + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * resource identifier (application ID URI) of the resource you want, suffixed + * with .default For example: + * + *

+		 * "scopes": [
+		 *   "https://cognitiveservices.azure.com/.default"
+		 * ]
+		 * 
+		 * 
+ *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code scopes} + *

+ * Adds all elements of list to scopes. + */ + public final Builder scopes(List list) { + this.scopes = _listAddAll(this.scopes, list); + return this; + } + + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * resource identifier (application ID URI) of the resource you want, suffixed + * with .default For example: + * + *

+		 * "scopes": [
+		 *   "https://cognitiveservices.azure.com/.default"
+		 * ]
+		 * 
+		 * 
+ *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code scopes} + *

+ * Adds one or more values to scopes. + */ + public final Builder scopes(String value, String... values) { + this.scopes = _listAdd(this.scopes, value, values); + return this; + } + + /** + * For OAuth 2.0 authentication using the client credentials grant flow. The + * directory tenant the application plans to operate against. + *

+ * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, + * tenant_id, and client_secret together. If one of the fields is missing, you + * will receive an error when you try to create your endpoint. + *

+ * API name: {@code tenant_id} + */ + public final Builder tenantId(@Nullable String value) { + this.tenantId = value; + return this; + } + @Override protected Builder self() { return this; @@ -373,10 +607,14 @@ protected static void setupAzureOpenAIServiceSettingsDeserializer( op.add(Builder::apiKey, JsonpDeserializer.stringDeserializer(), "api_key"); op.add(Builder::apiVersion, JsonpDeserializer.stringDeserializer(), "api_version"); + op.add(Builder::clientId, JsonpDeserializer.stringDeserializer(), "client_id"); + op.add(Builder::clientSecret, JsonpDeserializer.stringDeserializer(), "client_secret"); op.add(Builder::deploymentId, JsonpDeserializer.stringDeserializer(), "deployment_id"); op.add(Builder::entraId, JsonpDeserializer.stringDeserializer(), "entra_id"); op.add(Builder::rateLimit, RateLimitSetting._DESERIALIZER, "rate_limit"); op.add(Builder::resourceName, JsonpDeserializer.stringDeserializer(), "resource_name"); + op.add(Builder::scopes, JsonpDeserializer.arrayDeserializer(JsonpDeserializer.stringDeserializer()), "scopes"); + op.add(Builder::tenantId, JsonpDeserializer.stringDeserializer(), "tenant_id"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAITaskSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAITaskSettings.java index 5054abad63..b12b86ff68 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAITaskSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/AzureOpenAITaskSettings.java @@ -26,10 +26,12 @@ import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; import java.lang.String; +import java.util.Map; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -62,11 +64,14 @@ public class AzureOpenAITaskSettings implements JsonpSerializable { @Nullable private final String user; + private final Map headers; + // --------------------------------------------------------------------------------------------- private AzureOpenAITaskSettings(Builder builder) { this.user = builder.user; + this.headers = ApiTypeHelper.unmodifiable(builder.headers); } @@ -75,9 +80,8 @@ public static AzureOpenAITaskSettings of(Functioncompletion, chat_completion or - * text_embedding task, specify the user issuing the request. This - * information can be used for abuse detection. + * Specifies the user issuing the request. This information can be used for + * abuse detection. *

* API name: {@code user} */ @@ -86,6 +90,23 @@ public final String user() { return this.user; } + /** + * Specifies custom HTTP header parameters. For example: + * + *

+	 * "headers": {
+	 *   "Custom-Header": "Some-Value",
+	 *   "Another-Custom-Header": "Another-Value"
+	 * }
+	 * 
+	 * 
+ *

+ * API name: {@code headers} + */ + public final Map headers() { + return this.headers; + } + /** * Serialize this object to JSON. */ @@ -102,6 +123,17 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.write(this.user); } + if (ApiTypeHelper.isDefined(this.headers)) { + generator.writeKey("headers"); + generator.writeStartObject(); + for (Map.Entry item0 : this.headers.entrySet()) { + generator.writeKey(item0.getKey()); + generator.write(item0.getValue()); + + } + generator.writeEnd(); + + } } @@ -122,16 +154,19 @@ public static class Builder extends WithJsonObjectBuilderBase @Nullable private String user; + @Nullable + private Map headers; + public Builder() { } private Builder(AzureOpenAITaskSettings instance) { this.user = instance.user; + this.headers = instance.headers; } /** - * For a completion, chat_completion or - * text_embedding task, specify the user issuing the request. This - * information can be used for abuse detection. + * Specifies the user issuing the request. This information can be used for + * abuse detection. *

* API name: {@code user} */ @@ -140,6 +175,46 @@ public final Builder user(@Nullable String value) { return this; } + /** + * Specifies custom HTTP header parameters. For example: + * + *

+		 * "headers": {
+		 *   "Custom-Header": "Some-Value",
+		 *   "Another-Custom-Header": "Another-Value"
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code headers} + *

+ * Adds all entries of map to headers. + */ + public final Builder headers(Map map) { + this.headers = _mapPutAll(this.headers, map); + return this; + } + + /** + * Specifies custom HTTP header parameters. For example: + * + *

+		 * "headers": {
+		 *   "Custom-Header": "Some-Value",
+		 *   "Another-Custom-Header": "Another-Value"
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code headers} + *

+ * Adds an entry to headers. + */ + public final Builder headers(String key, String value) { + this.headers = _mapPut(this.headers, key, value); + return this; + } + @Override protected Builder self() { return this; @@ -176,6 +251,8 @@ protected static void setupAzureOpenAITaskSettingsDeserializer( ObjectDeserializer op) { op.add(Builder::user, JsonpDeserializer.stringDeserializer(), "user"); + op.add(Builder::headers, JsonpDeserializer.stringMapDeserializer(JsonpDeserializer.stringDeserializer()), + "headers"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java index 86593fbb4c..02f1aacc37 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java @@ -29,7 +29,6 @@ import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; -import java.lang.Boolean; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -64,9 +63,6 @@ public class ContextualAITaskSettings implements JsonpSerializable { @Nullable private final String instruction; - @Nullable - private final Boolean returnDocuments; - @Nullable private final Integer topK; @@ -75,7 +71,6 @@ public class ContextualAITaskSettings implements JsonpSerializable { private ContextualAITaskSettings(Builder builder) { this.instruction = builder.instruction; - this.returnDocuments = builder.returnDocuments; this.topK = builder.topK; } @@ -96,17 +91,6 @@ public final String instruction() { return this.instruction; } - /** - * Whether to return the source documents in the response. Only for the - * rerank task type. - *

- * API name: {@code return_documents} - */ - @Nullable - public final Boolean returnDocuments() { - return this.returnDocuments; - } - /** * The number of most relevant documents to return. If not specified, the * reranking results of all documents will be returned. Only for the @@ -134,11 +118,6 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("instruction"); generator.write(this.instruction); - } - if (this.returnDocuments != null) { - generator.writeKey("return_documents"); - generator.write(this.returnDocuments); - } if (this.topK != null) { generator.writeKey("top_k"); @@ -165,9 +144,6 @@ public static class Builder extends WithJsonObjectBuilderBase @Nullable private String instruction; - @Nullable - private Boolean returnDocuments; - @Nullable private Integer topK; @@ -175,7 +151,6 @@ public Builder() { } private Builder(ContextualAITaskSettings instance) { this.instruction = instance.instruction; - this.returnDocuments = instance.returnDocuments; this.topK = instance.topK; } @@ -191,17 +166,6 @@ public final Builder instruction(@Nullable String value) { return this; } - /** - * Whether to return the source documents in the response. Only for the - * rerank task type. - *

- * API name: {@code return_documents} - */ - public final Builder returnDocuments(@Nullable Boolean value) { - this.returnDocuments = value; - return this; - } - /** * The number of most relevant documents to return. If not specified, the * reranking results of all documents will be returned. Only for the @@ -250,7 +214,6 @@ protected static void setupContextualAITaskSettingsDeserializer( ObjectDeserializer op) { op.add(Builder::instruction, JsonpDeserializer.stringDeserializer(), "instruction"); - op.add(Builder::returnDocuments, JsonpDeserializer.booleanDeserializer(), "return_documents"); op.add(Builder::topK, JsonpDeserializer.integerDeserializer(), "top_k"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomResponseParams.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomResponseParams.java index 2075f39ddd..c95e6f2ccb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomResponseParams.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomResponseParams.java @@ -19,7 +19,6 @@ package co.elastic.clients.elasticsearch.inference; -import co.elastic.clients.json.JsonData; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -31,6 +30,8 @@ import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; +import java.lang.String; +import java.util.Map; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -60,13 +61,13 @@ */ @JsonpDeserializable public class CustomResponseParams implements JsonpSerializable { - private final JsonData jsonParser; + private final Map jsonParser; // --------------------------------------------------------------------------------------------- private CustomResponseParams(Builder builder) { - this.jsonParser = ApiTypeHelper.requireNonNull(builder.jsonParser, this, "jsonParser"); + this.jsonParser = ApiTypeHelper.unmodifiableRequired(builder.jsonParser, this, "jsonParser"); } @@ -231,7 +232,7 @@ public static CustomResponseParams of(Function * */ - public final JsonData jsonParser() { + public final Map jsonParser() { return this.jsonParser; } @@ -246,8 +247,17 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - generator.writeKey("json_parser"); - this.jsonParser.serialize(generator, mapper); + if (ApiTypeHelper.isDefined(this.jsonParser)) { + generator.writeKey("json_parser"); + generator.writeStartObject(); + for (Map.Entry item0 : this.jsonParser.entrySet()) { + generator.writeKey(item0.getKey()); + generator.write(item0.getValue()); + + } + generator.writeEnd(); + + } } @@ -265,7 +275,7 @@ public String toString() { public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { - private JsonData jsonParser; + private Map jsonParser; public Builder() { } @@ -427,11 +437,177 @@ private Builder(CustomResponseParams instance) { * } * * API name: {@code json_parser} + * + * Adds all entries of `map` to `jsonParser`. + * + * + */ + public final Builder jsonParser(Map map) { + this.jsonParser = _mapPutAll(this.jsonParser, map); + return this; + } + + /** + * Required - Specifies the JSON parser that is used to parse the response from + * the custom service. Different task types require different json_parser + * parameters. For example: + * + *

+		 * # text_embedding
+		 * # For a response like this:
+		 *
+		 * {
+		 *  "object": "list",
+		 *  "data": [
+		 *      {
+		 *        "object": "embedding",
+		 *        "index": 0,
+		 *        "embedding": [
+		 *            0.014539449,
+		 *            -0.015288644
+		 *        ]
+		 *      }
+		 *  ],
+		 *  "model": "text-embedding-ada-002-v2",
+		 *  "usage": {
+		 *      "prompt_tokens": 8,
+		 *      "total_tokens": 8
+		 *  }
+		 * }
+		 *
+		 * # the json_parser definition should look like this:
+		 *
+		 * "response":{
+		 *   "json_parser":{
+		 *     "text_embeddings":"$.data[*].embedding[*]"
+		 *   }
+		 * }
+		 *
+		 * # Elasticsearch supports the following embedding types:
+		 * * float
+		 * * byte
+		 * * bit (or binary)
+		 *
+		 * To specify the embedding type for the response, the `embedding_type`
+		 * field should be added in the `json_parser` object. Here's an example:
+		 * "response":{
+		 *   "json_parser":{
+		 *     "text_embeddings":"$.data[*].embedding[*]",
+		 *     "embedding_type":"bit"
+		 *   }
+		 * }
+		 *
+		 * If `embedding_type` is not specified, it defaults to `float`.
+		 *
+		 * # sparse_embedding
+		 * # For a response like this:
+		 *
+		 * {
+		 *   "request_id": "75C50B5B-E79E-4930-****-F48DBB392231",
+		 *   "latency": 22,
+		 *   "usage": {
+		 *      "token_count": 11
+		 *   },
+		 *   "result": {
+		 *      "sparse_embeddings": [
+		 *         {
+		 *           "index": 0,
+		 *           "embedding": [
+		 *             {
+		 *               "token_id": 6,
+		 *               "weight": 0.101
+		 *             },
+		 *             {
+		 *               "token_id": 163040,
+		 *               "weight": 0.28417
+		 *             }
+		 *           ]
+		 *         }
+		 *      ]
+		 *   }
+		 * }
+		 *
+		 * # the json_parser definition should look like this:
+		 *
+		 * "response":{
+		 *   "json_parser":{
+		 *     "token_path":"$.result.sparse_embeddings[*].embedding[*].token_id",
+		 *     "weight_path":"$.result.sparse_embeddings[*].embedding[*].weight"
+		 *   }
+		 * }
+		 *
+		 * # rerank
+		 * # For a response like this:
+		 *
+		 * {
+		 *   "results": [
+		 *     {
+		 *       "index": 3,
+		 *       "relevance_score": 0.999071,
+		 *       "document": "abc"
+		 *     },
+		 *     {
+		 *       "index": 4,
+		 *       "relevance_score": 0.7867867,
+		 *       "document": "123"
+		 *     },
+		 *     {
+		 *       "index": 0,
+		 *       "relevance_score": 0.32713068,
+		 *       "document": "super"
+		 *     }
+		 *   ],
+		 * }
+		 *
+		 * # the json_parser definition should look like this:
+		 *
+		 * "response":{
+		 *   "json_parser":{
+		 *     "reranked_index":"$.result.scores[*].index",    // optional
+		 *     "relevance_score":"$.result.scores[*].score",
+		 *     "document_text":"xxx"    // optional
+		 *   }
+		 * }
+		 *
+		 * # completion
+		 * # For a response like this:
+		 *
+		 * {
+		 *  "id": "chatcmpl-B9MBs8CjcvOU2jLn4n570S5qMJKcT",
+		 *  "object": "chat.completion",
+		 *  "created": 1741569952,
+		 *  "model": "gpt-4.1-2025-04-14",
+		 *  "choices": [
+		 *    {
+		 *     "index": 0,
+		 *     "message": {
+		 *       "role": "assistant",
+		 *       "content": "Hello! How can I assist you today?",
+		 *       "refusal": null,
+		 *       "annotations": []
+		 *     },
+		 *     "logprobs": null,
+		 *     "finish_reason": "stop"
+		 *   }
+		 *  ]
+		 * }
+		 *
+		 * # the json_parser definition should look like this:
+		 *
+		 * "response":{
+		 *   "json_parser":{
+		 *     "completion_result":"$.choices[*].message.content"
+		 *   }
+		 * }
+		 *
+		 * API name: {@code json_parser}
+		 *
+		 * Adds an entry to `jsonParser`.
 		 * 
 		 * 
*/ - public final Builder jsonParser(JsonData value) { - this.jsonParser = value; + public final Builder jsonParser(String key, String value) { + this.jsonParser = _mapPut(this.jsonParser, key, value); return this; } @@ -469,7 +645,8 @@ public Builder rebuild() { protected static void setupCustomResponseParamsDeserializer(ObjectDeserializer op) { - op.add(Builder::jsonParser, JsonData._DESERIALIZER, "json_parser"); + op.add(Builder::jsonParser, JsonpDeserializer.stringMapDeserializer(JsonpDeserializer.stringDeserializer()), + "json_parser"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceInputType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceInputType.java new file mode 100644 index 0000000000..423c068083 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceInputType.java @@ -0,0 +1,71 @@ +/* + * 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 co.elastic.clients.elasticsearch.inference; + +import co.elastic.clients.json.JsonEnum; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public enum CustomServiceInputType implements JsonEnum { + Classification("classification"), + + Clustering("clustering"), + + Ingest("ingest"), + + Search("search"), + + ; + + private final String jsonValue; + + CustomServiceInputType(String jsonValue) { + this.jsonValue = jsonValue; + } + + public String jsonValue() { + return this.jsonValue; + } + + public static final JsonEnum.Deserializer _DESERIALIZER = new JsonEnum.Deserializer<>( + CustomServiceInputType.values()); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceSettings.java index cbb146474f..a35ce5ee47 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomServiceSettings.java @@ -19,7 +19,6 @@ package co.elastic.clients.elasticsearch.inference; -import co.elastic.clients.json.JsonData; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -33,6 +32,8 @@ import jakarta.json.stream.JsonGenerator; import java.lang.Integer; import java.lang.String; +import java.util.List; +import java.util.Map; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -65,20 +66,17 @@ public class CustomServiceSettings implements JsonpSerializable { @Nullable private final Integer batchSize; - @Nullable - private final JsonData headers; + private final Map headers; - @Nullable - private final JsonData inputType; + private final Map inputType; - @Nullable - private final JsonData queryParameters; + private final List> queryParameters; private final CustomRequestParams request; private final CustomResponseParams response; - private final JsonData secretParameters; + private final Map secretParameters; @Nullable private final String url; @@ -88,12 +86,12 @@ public class CustomServiceSettings implements JsonpSerializable { private CustomServiceSettings(Builder builder) { this.batchSize = builder.batchSize; - this.headers = builder.headers; - this.inputType = builder.inputType; - this.queryParameters = builder.queryParameters; + this.headers = ApiTypeHelper.unmodifiable(builder.headers); + this.inputType = ApiTypeHelper.unmodifiable(builder.inputType); + this.queryParameters = ApiTypeHelper.unmodifiable(builder.queryParameters); this.request = ApiTypeHelper.requireNonNull(builder.request, this, "request"); this.response = ApiTypeHelper.requireNonNull(builder.response, this, "response"); - this.secretParameters = ApiTypeHelper.requireNonNull(builder.secretParameters, this, "secretParameters"); + this.secretParameters = ApiTypeHelper.unmodifiableRequired(builder.secretParameters, this, "secretParameters"); this.url = builder.url; } @@ -122,7 +120,7 @@ public final Integer batchSize() { * For example: * *
-	 * "headers":{
+	 * "headers": {
 	 *   "Authorization": "Bearer ${api_key}",
 	 *   "Content-Type": "application/json;charset=utf-8"
 	 * }
@@ -131,8 +129,7 @@ public final Integer batchSize() {
 	 * 

* API name: {@code headers} */ - @Nullable - public final JsonData headers() { + public final Map headers() { return this.headers; } @@ -166,8 +163,7 @@ public final JsonData headers() { *

* API name: {@code input_type} */ - @Nullable - public final JsonData inputType() { + public final Map inputType() { return this.inputType; } @@ -190,8 +186,7 @@ public final JsonData inputType() { *

* API name: {@code query_parameters} */ - @Nullable - public final JsonData queryParameters() { + public final List> queryParameters() { return this.queryParameters; } @@ -227,7 +222,7 @@ public final CustomResponseParams response() { *

* API name: {@code secret_parameters} */ - public final JsonData secretParameters() { + public final Map secretParameters() { return this.secretParameters; } @@ -257,19 +252,43 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.write(this.batchSize); } - if (this.headers != null) { + if (ApiTypeHelper.isDefined(this.headers)) { generator.writeKey("headers"); - this.headers.serialize(generator, mapper); + generator.writeStartObject(); + for (Map.Entry item0 : this.headers.entrySet()) { + generator.writeKey(item0.getKey()); + generator.write(item0.getValue()); + + } + generator.writeEnd(); } - if (this.inputType != null) { + if (ApiTypeHelper.isDefined(this.inputType)) { generator.writeKey("input_type"); - this.inputType.serialize(generator, mapper); + generator.writeStartObject(); + for (Map.Entry item0 : this.inputType.entrySet()) { + generator.writeKey(item0.getKey().jsonValue()); + generator.write(item0.getValue()); + + } + generator.writeEnd(); } - if (this.queryParameters != null) { + if (ApiTypeHelper.isDefined(this.queryParameters)) { generator.writeKey("query_parameters"); - this.queryParameters.serialize(generator, mapper); + generator.writeStartArray(); + for (List item0 : this.queryParameters) { + generator.writeStartArray(); + if (item0 != null) { + for (String item1 : item0) { + generator.write(item1); + + } + } + generator.writeEnd(); + + } + generator.writeEnd(); } generator.writeKey("request"); @@ -278,9 +297,17 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("response"); this.response.serialize(generator, mapper); - generator.writeKey("secret_parameters"); - this.secretParameters.serialize(generator, mapper); + if (ApiTypeHelper.isDefined(this.secretParameters)) { + generator.writeKey("secret_parameters"); + generator.writeStartObject(); + for (Map.Entry item0 : this.secretParameters.entrySet()) { + generator.writeKey(item0.getKey()); + generator.write(item0.getValue()); + + } + generator.writeEnd(); + } if (this.url != null) { generator.writeKey("url"); generator.write(this.url); @@ -307,19 +334,19 @@ public static class Builder extends WithJsonObjectBuilderBase private Integer batchSize; @Nullable - private JsonData headers; + private Map headers; @Nullable - private JsonData inputType; + private Map inputType; @Nullable - private JsonData queryParameters; + private List> queryParameters; private CustomRequestParams request; private CustomResponseParams response; - private JsonData secretParameters; + private Map secretParameters; @Nullable private String url; @@ -357,7 +384,7 @@ public final Builder batchSize(@Nullable Integer value) { * For example: * *

-		 * "headers":{
+		 * "headers": {
 		 *   "Authorization": "Bearer ${api_key}",
 		 *   "Content-Type": "application/json;charset=utf-8"
 		 * }
@@ -365,9 +392,33 @@ public final Builder batchSize(@Nullable Integer value) {
 		 * 
*

* API name: {@code headers} + *

+ * Adds all entries of map to headers. */ - public final Builder headers(@Nullable JsonData value) { - this.headers = value; + public final Builder headers(Map map) { + this.headers = _mapPutAll(this.headers, map); + return this; + } + + /** + * Specifies the HTTP header parameters – such as Authentication or + * Content-Type – that are required to access the custom service. + * For example: + * + *

+		 * "headers": {
+		 *   "Authorization": "Bearer ${api_key}",
+		 *   "Content-Type": "application/json;charset=utf-8"
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code headers} + *

+ * Adds an entry to headers. + */ + public final Builder headers(String key, String value) { + this.headers = _mapPut(this.headers, key, value); return this; } @@ -400,9 +451,74 @@ public final Builder headers(@Nullable JsonData value) { * *

* API name: {@code input_type} + *

+ * Adds all entries of map to inputType. */ - public final Builder inputType(@Nullable JsonData value) { - this.inputType = value; + public final Builder inputType(Map map) { + this.inputType = _mapPutAll(this.inputType, map); + return this; + } + + /** + * Specifies the input type translation values that are used to replace the + * ${input_type} template in the request body. For example: + * + *

+		 * "input_type": {
+		 *   "translation": {
+		 *     "ingest": "do_ingest",
+		 *     "search": "do_search"
+		 *   },
+		 *   "default": "a_default"
+		 * },
+		 * 
+		 * 
+ *

+ * If the subsequent inference requests come from a search context, the + * search key will be used and the template will be replaced with + * do_search. If it comes from the ingest context + * do_ingest is used. If it's a different context that is not + * specified, the default value will be used. If no default is specified an + * empty string is used. translation can be: + *

    + *
  • classification
  • + *
  • clustering
  • + *
  • ingest
  • + *
  • search
  • + *
+ *

+ * API name: {@code input_type} + *

+ * Adds an entry to inputType. + */ + public final Builder inputType(CustomServiceInputType key, String value) { + this.inputType = _mapPut(this.inputType, key, value); + return this; + } + + /** + * Specifies the query parameters as a list of tuples. The arrays inside the + * query_parameters must have two items, a key and a value. For + * example: + * + *

+		 * "query_parameters":[
+		 *   ["param_key", "some_value"],
+		 *   ["param_key", "another_value"],
+		 *   ["other_key", "other_value"]
+		 * ]
+		 * 
+		 * 
+ *

+ * If the base url is https://www.elastic.co it results in: + * https://www.elastic.co?param_key=some_value&param_key=another_value&other_key=other_value. + *

+ * API name: {@code query_parameters} + *

+ * Adds all elements of list to queryParameters. + */ + public final Builder queryParameters(List> list) { + this.queryParameters = _listAddAll(this.queryParameters, list); return this; } @@ -424,9 +540,11 @@ public final Builder inputType(@Nullable JsonData value) { * https://www.elastic.co?param_key=some_value&param_key=another_value&other_key=other_value. *

* API name: {@code query_parameters} + *

+ * Adds one or more values to queryParameters. */ - public final Builder queryParameters(@Nullable JsonData value) { - this.queryParameters = value; + public final Builder queryParameters(List value, List... values) { + this.queryParameters = _listAdd(this.queryParameters, value, values); return this; } @@ -481,9 +599,32 @@ public final Builder response(Function *

* API name: {@code secret_parameters} + *

+ * Adds all entries of map to secretParameters. + */ + public final Builder secretParameters(Map map) { + this.secretParameters = _mapPutAll(this.secretParameters, map); + return this; + } + + /** + * Required - Specifies secret parameters, like api_key or + * api_token, that are required to access the custom service. For + * example: + * + *

+		 * "secret_parameters":{
+		 *   "api_key":"<api_key>"
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code secret_parameters} + *

+ * Adds an entry to secretParameters. */ - public final Builder secretParameters(JsonData value) { - this.secretParameters = value; + public final Builder secretParameters(String key, String value) { + this.secretParameters = _mapPut(this.secretParameters, key, value); return this; } @@ -532,12 +673,18 @@ public Builder rebuild() { protected static void setupCustomServiceSettingsDeserializer(ObjectDeserializer op) { op.add(Builder::batchSize, JsonpDeserializer.integerDeserializer(), "batch_size"); - op.add(Builder::headers, JsonData._DESERIALIZER, "headers"); - op.add(Builder::inputType, JsonData._DESERIALIZER, "input_type"); - op.add(Builder::queryParameters, JsonData._DESERIALIZER, "query_parameters"); + op.add(Builder::headers, JsonpDeserializer.stringMapDeserializer(JsonpDeserializer.stringDeserializer()), + "headers"); + op.add(Builder::inputType, JsonpDeserializer.enumMapDeserializer(CustomServiceInputType._DESERIALIZER, + JsonpDeserializer.stringDeserializer()), "input_type"); + op.add(Builder::queryParameters, + JsonpDeserializer + .arrayDeserializer(JsonpDeserializer.arrayDeserializer(JsonpDeserializer.stringDeserializer())), + "query_parameters"); op.add(Builder::request, CustomRequestParams._DESERIALIZER, "request"); op.add(Builder::response, CustomResponseParams._DESERIALIZER, "response"); - op.add(Builder::secretParameters, JsonData._DESERIALIZER, "secret_parameters"); + op.add(Builder::secretParameters, + JsonpDeserializer.stringMapDeserializer(JsonpDeserializer.stringDeserializer()), "secret_parameters"); op.add(Builder::url, JsonpDeserializer.stringDeserializer(), "url"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomTaskSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomTaskSettings.java index f41a184ed2..f0ddcddf2f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomTaskSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/CustomTaskSettings.java @@ -19,7 +19,7 @@ package co.elastic.clients.elasticsearch.inference; -import co.elastic.clients.json.JsonData; +import co.elastic.clients.elasticsearch._types.FieldValue; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -27,9 +27,12 @@ import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; +import java.lang.String; +import java.util.Map; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -59,14 +62,13 @@ */ @JsonpDeserializable public class CustomTaskSettings implements JsonpSerializable { - @Nullable - private final JsonData parameters; + private final Map parameters; // --------------------------------------------------------------------------------------------- private CustomTaskSettings(Builder builder) { - this.parameters = builder.parameters; + this.parameters = ApiTypeHelper.unmodifiable(builder.parameters); } @@ -90,8 +92,7 @@ public static CustomTaskSettings of(Function * API name: {@code parameters} */ - @Nullable - public final JsonData parameters() { + public final Map parameters() { return this.parameters; } @@ -106,9 +107,15 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - if (this.parameters != null) { + if (ApiTypeHelper.isDefined(this.parameters)) { generator.writeKey("parameters"); - this.parameters.serialize(generator, mapper); + generator.writeStartObject(); + for (Map.Entry item0 : this.parameters.entrySet()) { + generator.writeKey(item0.getKey()); + item0.getValue().serialize(generator, mapper); + + } + generator.writeEnd(); } @@ -129,7 +136,7 @@ public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { @Nullable - private JsonData parameters; + private Map parameters; public Builder() { } @@ -152,12 +159,59 @@ private Builder(CustomTaskSettings instance) { *

*

* API name: {@code parameters} + *

+ * Adds all entries of map to parameters. */ - public final Builder parameters(@Nullable JsonData value) { - this.parameters = value; + public final Builder parameters(Map map) { + this.parameters = _mapPutAll(this.parameters, map); return this; } + /** + * Specifies parameters that are required to run the custom service. The + * parameters depend on the model your custom service uses. For example: + * + *

+		 * "task_settings":{
+		 *   "parameters":{
+		 *     "input_type":"query",
+		 *     "return_token":true
+		 *   }
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code parameters} + *

+ * Adds an entry to parameters. + */ + public final Builder parameters(String key, FieldValue value) { + this.parameters = _mapPut(this.parameters, key, value); + return this; + } + + /** + * Specifies parameters that are required to run the custom service. The + * parameters depend on the model your custom service uses. For example: + * + *

+		 * "task_settings":{
+		 *   "parameters":{
+		 *     "input_type":"query",
+		 *     "return_token":true
+		 *   }
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code parameters} + *

+ * Adds an entry to parameters using a builder lambda. + */ + public final Builder parameters(String key, Function> fn) { + return parameters(key, fn.apply(new FieldValue.Builder()).build()); + } + @Override protected Builder self() { return this; @@ -192,7 +246,7 @@ public Builder rebuild() { protected static void setupCustomTaskSettingsDeserializer(ObjectDeserializer op) { - op.add(Builder::parameters, JsonData._DESERIALIZER, "parameters"); + op.add(Builder::parameters, JsonpDeserializer.stringMapDeserializer(FieldValue._DESERIALIZER), "parameters"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java index 8b3d794543..e4689274a2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceAsyncClient.java @@ -87,7 +87,7 @@ public ElasticsearchInferenceAsyncClient withTransportOptions(@Nullable Transpor * see the page for that service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-unified-inference">Documentation * on elastic.co */ @@ -118,7 +118,7 @@ public CompletableFuture chatCompletionUnified(ChatCompletionUni * a function that initializes a builder to create the * {@link ChatCompletionUnifiedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-unified-inference">Documentation * on elastic.co */ @@ -149,7 +149,7 @@ public final CompletableFuture chatCompletionUnified( * grant this privilege). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -183,7 +183,7 @@ public CompletableFuture completion(CompletionRequest reques * a function that initializes a builder to create the * {@link CompletionRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -201,7 +201,7 @@ public final CompletableFuture completion( * inference_admin role grants this privilege). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-delete">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public CompletableFuture delete(DeleteInferenceRequest * a function that initializes a builder to create the * {@link DeleteInferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-delete">Documentation * on elastic.co */ @@ -237,7 +237,7 @@ public final CompletableFuture delete( * Perform dense embedding inference on the service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -255,7 +255,7 @@ public CompletableFuture embedding(EmbeddingRequest request) * a function that initializes a builder to create the * {@link EmbeddingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -274,7 +274,7 @@ public final CompletableFuture embedding( * grant this privilege). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-get">Documentation * on elastic.co */ @@ -296,7 +296,7 @@ public CompletableFuture get(GetInferenceRequest request) * a function that initializes a builder to create the * {@link GetInferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-get">Documentation * on elastic.co */ @@ -313,7 +313,7 @@ public final CompletableFuture get( * grant this privilege). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-get">Documentation * on elastic.co */ @@ -349,7 +349,7 @@ public CompletableFuture get() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -388,7 +388,7 @@ public CompletableFuture inference(InferenceRequest request) * a function that initializes a builder to create the * {@link InferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -461,7 +461,7 @@ public final CompletableFuture inference( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put">Documentation * on elastic.co */ @@ -537,7 +537,7 @@ public CompletableFuture put(PutRequest request) { * a function that initializes a builder to create the * {@link PutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put">Documentation * on elastic.co */ @@ -554,7 +554,7 @@ public final CompletableFuture put(Functionai21 service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-ai21">Documentation * on elastic.co */ @@ -575,7 +575,7 @@ public CompletableFuture putAi21(PutAi21Request request) { * a function that initializes a builder to create the * {@link PutAi21Request} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-ai21">Documentation * on elastic.co */ @@ -593,7 +593,7 @@ public final CompletableFuture putAi21( * alibabacloud-ai-search service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-alibabacloud">Documentation * on elastic.co */ @@ -614,7 +614,7 @@ public CompletableFuture putAlibabacloud(PutAlibabaclou * a function that initializes a builder to create the * {@link PutAlibabacloudRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-alibabacloud">Documentation * on elastic.co */ @@ -641,7 +641,7 @@ public final CompletableFuture putAlibabacloud( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonbedrock">Documentation * on elastic.co */ @@ -671,7 +671,7 @@ public CompletableFuture putAmazonbedrock(PutAmazonbed * a function that initializes a builder to create the * {@link PutAmazonbedrockRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonbedrock">Documentation * on elastic.co */ @@ -689,7 +689,7 @@ public final CompletableFuture putAmazonbedrock( * amazon_sagemaker service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonsagemaker">Documentation * on elastic.co */ @@ -710,7 +710,7 @@ public CompletableFuture putAmazonsagemaker(PutAmazo * a function that initializes a builder to create the * {@link PutAmazonsagemakerRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonsagemaker">Documentation * on elastic.co */ @@ -728,7 +728,7 @@ public final CompletableFuture putAmazonsagemaker( * anthropic service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-anthropic">Documentation * on elastic.co */ @@ -749,7 +749,7 @@ public CompletableFuture putAnthropic(PutAnthropicRequest * a function that initializes a builder to create the * {@link PutAnthropicRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-anthropic">Documentation * on elastic.co */ @@ -767,7 +767,7 @@ public final CompletableFuture putAnthropic( * azureaistudio service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureaistudio">Documentation * on elastic.co */ @@ -788,7 +788,7 @@ public CompletableFuture putAzureaistudio(PutAzureaist * a function that initializes a builder to create the * {@link PutAzureaistudioRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureaistudio">Documentation * on elastic.co */ @@ -821,7 +821,7 @@ public final CompletableFuture putAzureaistudio( * models documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureopenai">Documentation * on elastic.co */ @@ -857,7 +857,7 @@ public CompletableFuture putAzureopenai(PutAzureopenaiRe * a function that initializes a builder to create the * {@link PutAzureopenaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureopenai">Documentation * on elastic.co */ @@ -875,7 +875,7 @@ public final CompletableFuture putAzureopenai( * cohere service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-cohere">Documentation * on elastic.co */ @@ -896,7 +896,7 @@ public CompletableFuture putCohere(PutCohereRequest request) * a function that initializes a builder to create the * {@link PutCohereRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-cohere">Documentation * on elastic.co */ @@ -917,7 +917,7 @@ public final CompletableFuture putCohere( * "https://docs.contextual.ai/api-reference/rerank/rerank#body-model">https://docs.contextual.ai/api-reference/rerank/rerank#body-model. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-contextualai">Documentation * on elastic.co */ @@ -941,7 +941,7 @@ public CompletableFuture putContextualai(PutContextuala * a function that initializes a builder to create the * {@link PutContextualaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-contextualai">Documentation * on elastic.co */ @@ -1017,7 +1017,7 @@ public final CompletableFuture putContextualai( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-custom">Documentation * on elastic.co */ @@ -1096,7 +1096,7 @@ public CompletableFuture putCustom(PutCustomRequest request) * a function that initializes a builder to create the * {@link PutCustomRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-custom">Documentation * on elastic.co */ @@ -1114,7 +1114,7 @@ public final CompletableFuture putCustom( * deepseek service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-deepseek">Documentation * on elastic.co */ @@ -1135,7 +1135,7 @@ public CompletableFuture putDeepseek(PutDeepseekRequest req * a function that initializes a builder to create the * {@link PutDeepseekRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-deepseek">Documentation * on elastic.co */ @@ -1180,7 +1180,7 @@ public final CompletableFuture putDeepseek( * significant resources. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elasticsearch">Documentation * on elastic.co */ @@ -1228,7 +1228,7 @@ public CompletableFuture putElasticsearch(PutElasticse * a function that initializes a builder to create the * {@link PutElasticsearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elasticsearch">Documentation * on elastic.co */ @@ -1273,7 +1273,7 @@ public final CompletableFuture putElasticsearch( * significant resources. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elser">Documentation * on elastic.co */ @@ -1321,7 +1321,7 @@ public CompletableFuture putElser(PutElserRequest request) { * a function that initializes a builder to create the * {@link PutElserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elser">Documentation * on elastic.co */ @@ -1339,7 +1339,7 @@ public final CompletableFuture putElser( * fireworksai service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-fireworksai">Documentation * on elastic.co */ @@ -1360,7 +1360,7 @@ public CompletableFuture putFireworksai(PutFireworksaiRe * a function that initializes a builder to create the * {@link PutFireworksaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-fireworksai">Documentation * on elastic.co */ @@ -1378,7 +1378,7 @@ public final CompletableFuture putFireworksai( * googleaistudio service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googleaistudio">Documentation * on elastic.co */ @@ -1399,7 +1399,7 @@ public CompletableFuture putGoogleaistudio(PutGooglea * a function that initializes a builder to create the * {@link PutGoogleaistudioRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googleaistudio">Documentation * on elastic.co */ @@ -1417,7 +1417,7 @@ public final CompletableFuture putGoogleaistudio( * googlevertexai service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googlevertexai">Documentation * on elastic.co */ @@ -1438,7 +1438,7 @@ public CompletableFuture putGooglevertexai(PutGooglev * a function that initializes a builder to create the * {@link PutGooglevertexaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googlevertexai">Documentation * on elastic.co */ @@ -1456,7 +1456,7 @@ public final CompletableFuture putGooglevertexai( * groq service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-groq">Documentation * on elastic.co */ @@ -1477,7 +1477,7 @@ public CompletableFuture putGroq(PutGroqRequest request) { * a function that initializes a builder to create the * {@link PutGroqRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-groq">Documentation * on elastic.co */ @@ -1542,7 +1542,7 @@ public final CompletableFuture putGroq( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-hugging-face">Documentation * on elastic.co */ @@ -1610,7 +1610,7 @@ public CompletableFuture putHuggingFace(PutHuggingFaceRe * a function that initializes a builder to create the * {@link PutHuggingFaceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-hugging-face">Documentation * on elastic.co */ @@ -1634,7 +1634,7 @@ public final CompletableFuture putHuggingFace( * https://jina.ai/embeddings/. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-jinaai">Documentation * on elastic.co */ @@ -1661,7 +1661,7 @@ public CompletableFuture putJinaai(PutJinaaiRequest request) * a function that initializes a builder to create the * {@link PutJinaaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-jinaai">Documentation * on elastic.co */ @@ -1679,7 +1679,7 @@ public final CompletableFuture putJinaai( * llama service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-llama">Documentation * on elastic.co */ @@ -1700,7 +1700,7 @@ public CompletableFuture putLlama(PutLlamaRequest request) { * a function that initializes a builder to create the * {@link PutLlamaRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-llama">Documentation * on elastic.co */ @@ -1718,7 +1718,7 @@ public final CompletableFuture putLlama( * mistral service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-mistral">Documentation * on elastic.co */ @@ -1739,7 +1739,7 @@ public CompletableFuture putMistral(PutMistralRequest reques * a function that initializes a builder to create the * {@link PutMistralRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-mistral">Documentation * on elastic.co */ @@ -1757,7 +1757,7 @@ public final CompletableFuture putMistral( * nvidia service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-nvidia">Documentation * on elastic.co */ @@ -1778,7 +1778,7 @@ public CompletableFuture putNvidia(PutNvidiaRequest request) * a function that initializes a builder to create the * {@link PutNvidiaRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-nvidia">Documentation * on elastic.co */ @@ -1796,7 +1796,7 @@ public final CompletableFuture putNvidia( * openai service or openai compatible APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openai">Documentation * on elastic.co */ @@ -1817,7 +1817,7 @@ public CompletableFuture putOpenai(PutOpenaiRequest request) * a function that initializes a builder to create the * {@link PutOpenaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openai">Documentation * on elastic.co */ @@ -1835,7 +1835,7 @@ public final CompletableFuture putOpenai( * openshift_ai service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openshift-ai">Documentation * on elastic.co */ @@ -1856,7 +1856,7 @@ public CompletableFuture putOpenshiftAi(PutOpenshiftAiRe * a function that initializes a builder to create the * {@link PutOpenshiftAiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openshift-ai">Documentation * on elastic.co */ @@ -1877,7 +1877,7 @@ public final CompletableFuture putOpenshiftAi( * endpoint consumes significant resources. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-voyageai">Documentation * on elastic.co */ @@ -1901,7 +1901,7 @@ public CompletableFuture putVoyageai(PutVoyageaiRequest req * a function that initializes a builder to create the * {@link PutVoyageaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-voyageai">Documentation * on elastic.co */ @@ -1922,7 +1922,7 @@ public final CompletableFuture putVoyageai( * plug-in, the Cloud Databases API, or Terraform. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-watsonx">Documentation * on elastic.co */ @@ -1946,7 +1946,7 @@ public CompletableFuture putWatsonx(PutWatsonxRequest reques * a function that initializes a builder to create the * {@link PutWatsonxRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-watsonx">Documentation * on elastic.co */ @@ -1961,7 +1961,7 @@ public final CompletableFuture putWatsonx( * Perform reranking inference on the service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -1979,7 +1979,7 @@ public CompletableFuture rerank(RerankRequest request) { * a function that initializes a builder to create the * {@link RerankRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -1994,7 +1994,7 @@ public final CompletableFuture rerank( * Perform sparse embedding inference on the service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2012,7 +2012,7 @@ public CompletableFuture sparseEmbedding(SparseEmbeddin * a function that initializes a builder to create the * {@link SparseEmbeddingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2044,7 +2044,7 @@ public final CompletableFuture sparseEmbedding( * grant this privilege). You must use a client that supports streaming. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-stream-inference">Documentation * on elastic.co */ @@ -2079,7 +2079,7 @@ public CompletableFuture streamCompletion(StreamCompletionReques * a function that initializes a builder to create the * {@link StreamCompletionRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-stream-inference">Documentation * on elastic.co */ @@ -2094,7 +2094,7 @@ public final CompletableFuture streamCompletion( * Perform text embedding inference on the service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2112,7 +2112,7 @@ public CompletableFuture textEmbedding(TextEmbeddingReque * a function that initializes a builder to create the * {@link TextEmbeddingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2141,7 +2141,7 @@ public final CompletableFuture textEmbedding( * model APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-update">Documentation * on elastic.co */ @@ -2173,7 +2173,7 @@ public CompletableFuture update(UpdateInferenceRequest * a function that initializes a builder to create the * {@link UpdateInferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-update">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java index 1984563084..3a01dfe4c7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ElasticsearchInferenceClient.java @@ -85,7 +85,7 @@ public ElasticsearchInferenceClient withTransportOptions(@Nullable TransportOpti * see the page for that service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-unified-inference">Documentation * on elastic.co */ @@ -117,7 +117,7 @@ public BinaryResponse chatCompletionUnified(ChatCompletionUnifiedRequest request * a function that initializes a builder to create the * {@link ChatCompletionUnifiedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-unified-inference">Documentation * on elastic.co */ @@ -149,7 +149,7 @@ public final BinaryResponse chatCompletionUnified( * grant this privilege). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -183,7 +183,7 @@ public CompletionResponse completion(CompletionRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link CompletionRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -201,7 +201,7 @@ public final CompletionResponse completion(Functioninference_admin role grants this privilege). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-delete">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public DeleteInferenceResponse delete(DeleteInferenceRequest request) throws IOE * a function that initializes a builder to create the * {@link DeleteInferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-delete">Documentation * on elastic.co */ @@ -238,7 +238,7 @@ public final DeleteInferenceResponse delete( * Perform dense embedding inference on the service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -256,7 +256,7 @@ public EmbeddingResponse embedding(EmbeddingRequest request) throws IOException, * a function that initializes a builder to create the * {@link EmbeddingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -275,7 +275,7 @@ public final EmbeddingResponse embedding(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-get">Documentation * on elastic.co */ @@ -297,7 +297,7 @@ public GetInferenceResponse get(GetInferenceRequest request) throws IOException, * a function that initializes a builder to create the * {@link GetInferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-get">Documentation * on elastic.co */ @@ -314,7 +314,7 @@ public final GetInferenceResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-get">Documentation * on elastic.co */ @@ -350,7 +350,7 @@ public GetInferenceResponse get() throws IOException, ElasticsearchException { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -389,7 +389,7 @@ public InferenceResponse inference(InferenceRequest request) throws IOException, * a function that initializes a builder to create the * {@link InferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -462,7 +462,7 @@ public final InferenceResponse inference(Function * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put">Documentation * on elastic.co */ @@ -538,7 +538,7 @@ public PutResponse put(PutRequest request) throws IOException, ElasticsearchExce * a function that initializes a builder to create the * {@link PutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put">Documentation * on elastic.co */ @@ -556,7 +556,7 @@ public final PutResponse put(Functionai21 service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-ai21">Documentation * on elastic.co */ @@ -577,7 +577,7 @@ public PutAi21Response putAi21(PutAi21Request request) throws IOException, Elast * a function that initializes a builder to create the * {@link PutAi21Request} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-ai21">Documentation * on elastic.co */ @@ -595,7 +595,7 @@ public final PutAi21Response putAi21(Functionalibabacloud-ai-search service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-alibabacloud">Documentation * on elastic.co */ @@ -617,7 +617,7 @@ public PutAlibabacloudResponse putAlibabacloud(PutAlibabacloudRequest request) * a function that initializes a builder to create the * {@link PutAlibabacloudRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-alibabacloud">Documentation * on elastic.co */ @@ -645,7 +645,7 @@ public final PutAlibabacloudResponse putAlibabacloud( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonbedrock">Documentation * on elastic.co */ @@ -676,7 +676,7 @@ public PutAmazonbedrockResponse putAmazonbedrock(PutAmazonbedrockRequest request * a function that initializes a builder to create the * {@link PutAmazonbedrockRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonbedrock">Documentation * on elastic.co */ @@ -695,7 +695,7 @@ public final PutAmazonbedrockResponse putAmazonbedrock( * amazon_sagemaker service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonsagemaker">Documentation * on elastic.co */ @@ -717,7 +717,7 @@ public PutAmazonsagemakerResponse putAmazonsagemaker(PutAmazonsagemakerRequest r * a function that initializes a builder to create the * {@link PutAmazonsagemakerRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-amazonsagemaker">Documentation * on elastic.co */ @@ -736,7 +736,7 @@ public final PutAmazonsagemakerResponse putAmazonsagemaker( * anthropic service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-anthropic">Documentation * on elastic.co */ @@ -757,7 +757,7 @@ public PutAnthropicResponse putAnthropic(PutAnthropicRequest request) throws IOE * a function that initializes a builder to create the * {@link PutAnthropicRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-anthropic">Documentation * on elastic.co */ @@ -776,7 +776,7 @@ public final PutAnthropicResponse putAnthropic( * azureaistudio service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureaistudio">Documentation * on elastic.co */ @@ -798,7 +798,7 @@ public PutAzureaistudioResponse putAzureaistudio(PutAzureaistudioRequest request * a function that initializes a builder to create the * {@link PutAzureaistudioRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureaistudio">Documentation * on elastic.co */ @@ -832,7 +832,7 @@ public final PutAzureaistudioResponse putAzureaistudio( * models documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureopenai">Documentation * on elastic.co */ @@ -869,7 +869,7 @@ public PutAzureopenaiResponse putAzureopenai(PutAzureopenaiRequest request) * a function that initializes a builder to create the * {@link PutAzureopenaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-azureopenai">Documentation * on elastic.co */ @@ -888,7 +888,7 @@ public final PutAzureopenaiResponse putAzureopenai( * cohere service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-cohere">Documentation * on elastic.co */ @@ -909,7 +909,7 @@ public PutCohereResponse putCohere(PutCohereRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutCohereRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-cohere">Documentation * on elastic.co */ @@ -930,7 +930,7 @@ public final PutCohereResponse putCohere(Functionhttps://docs.contextual.ai/api-reference/rerank/rerank#body-model. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-contextualai">Documentation * on elastic.co */ @@ -955,7 +955,7 @@ public PutContextualaiResponse putContextualai(PutContextualaiRequest request) * a function that initializes a builder to create the * {@link PutContextualaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-contextualai">Documentation * on elastic.co */ @@ -1032,7 +1032,7 @@ public final PutContextualaiResponse putContextualai( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-custom">Documentation * on elastic.co */ @@ -1111,7 +1111,7 @@ public PutCustomResponse putCustom(PutCustomRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutCustomRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-custom">Documentation * on elastic.co */ @@ -1129,7 +1129,7 @@ public final PutCustomResponse putCustom(Functiondeepseek service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-deepseek">Documentation * on elastic.co */ @@ -1150,7 +1150,7 @@ public PutDeepseekResponse putDeepseek(PutDeepseekRequest request) throws IOExce * a function that initializes a builder to create the * {@link PutDeepseekRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-deepseek">Documentation * on elastic.co */ @@ -1196,7 +1196,7 @@ public final PutDeepseekResponse putDeepseek( * significant resources. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elasticsearch">Documentation * on elastic.co */ @@ -1245,7 +1245,7 @@ public PutElasticsearchResponse putElasticsearch(PutElasticsearchRequest request * a function that initializes a builder to create the * {@link PutElasticsearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elasticsearch">Documentation * on elastic.co */ @@ -1291,7 +1291,7 @@ public final PutElasticsearchResponse putElasticsearch( * significant resources. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elser">Documentation * on elastic.co */ @@ -1339,7 +1339,7 @@ public PutElserResponse putElser(PutElserRequest request) throws IOException, El * a function that initializes a builder to create the * {@link PutElserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-elser">Documentation * on elastic.co */ @@ -1357,7 +1357,7 @@ public final PutElserResponse putElser(Functionfireworksai service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-fireworksai">Documentation * on elastic.co */ @@ -1379,7 +1379,7 @@ public PutFireworksaiResponse putFireworksai(PutFireworksaiRequest request) * a function that initializes a builder to create the * {@link PutFireworksaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-fireworksai">Documentation * on elastic.co */ @@ -1398,7 +1398,7 @@ public final PutFireworksaiResponse putFireworksai( * googleaistudio service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googleaistudio">Documentation * on elastic.co */ @@ -1420,7 +1420,7 @@ public PutGoogleaistudioResponse putGoogleaistudio(PutGoogleaistudioRequest requ * a function that initializes a builder to create the * {@link PutGoogleaistudioRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googleaistudio">Documentation * on elastic.co */ @@ -1439,7 +1439,7 @@ public final PutGoogleaistudioResponse putGoogleaistudio( * googlevertexai service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googlevertexai">Documentation * on elastic.co */ @@ -1461,7 +1461,7 @@ public PutGooglevertexaiResponse putGooglevertexai(PutGooglevertexaiRequest requ * a function that initializes a builder to create the * {@link PutGooglevertexaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-googlevertexai">Documentation * on elastic.co */ @@ -1480,7 +1480,7 @@ public final PutGooglevertexaiResponse putGooglevertexai( * groq service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-groq">Documentation * on elastic.co */ @@ -1501,7 +1501,7 @@ public PutGroqResponse putGroq(PutGroqRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link PutGroqRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-groq">Documentation * on elastic.co */ @@ -1566,7 +1566,7 @@ public final PutGroqResponse putGroq(Function * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-hugging-face">Documentation * on elastic.co */ @@ -1635,7 +1635,7 @@ public PutHuggingFaceResponse putHuggingFace(PutHuggingFaceRequest request) * a function that initializes a builder to create the * {@link PutHuggingFaceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-hugging-face">Documentation * on elastic.co */ @@ -1660,7 +1660,7 @@ public final PutHuggingFaceResponse putHuggingFace( * https://jina.ai/embeddings/. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-jinaai">Documentation * on elastic.co */ @@ -1687,7 +1687,7 @@ public PutJinaaiResponse putJinaai(PutJinaaiRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutJinaaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-jinaai">Documentation * on elastic.co */ @@ -1705,7 +1705,7 @@ public final PutJinaaiResponse putJinaai(Functionllama service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-llama">Documentation * on elastic.co */ @@ -1726,7 +1726,7 @@ public PutLlamaResponse putLlama(PutLlamaRequest request) throws IOException, El * a function that initializes a builder to create the * {@link PutLlamaRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-llama">Documentation * on elastic.co */ @@ -1744,7 +1744,7 @@ public final PutLlamaResponse putLlama(Functionmistral service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-mistral">Documentation * on elastic.co */ @@ -1765,7 +1765,7 @@ public PutMistralResponse putMistral(PutMistralRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link PutMistralRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-mistral">Documentation * on elastic.co */ @@ -1783,7 +1783,7 @@ public final PutMistralResponse putMistral(Functionnvidia service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-nvidia">Documentation * on elastic.co */ @@ -1804,7 +1804,7 @@ public PutNvidiaResponse putNvidia(PutNvidiaRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutNvidiaRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-nvidia">Documentation * on elastic.co */ @@ -1822,7 +1822,7 @@ public final PutNvidiaResponse putNvidia(Functionopenai service or openai compatible APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openai">Documentation * on elastic.co */ @@ -1843,7 +1843,7 @@ public PutOpenaiResponse putOpenai(PutOpenaiRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutOpenaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openai">Documentation * on elastic.co */ @@ -1861,7 +1861,7 @@ public final PutOpenaiResponse putOpenai(Functionopenshift_ai service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openshift-ai">Documentation * on elastic.co */ @@ -1883,7 +1883,7 @@ public PutOpenshiftAiResponse putOpenshiftAi(PutOpenshiftAiRequest request) * a function that initializes a builder to create the * {@link PutOpenshiftAiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-openshift-ai">Documentation * on elastic.co */ @@ -1905,7 +1905,7 @@ public final PutOpenshiftAiResponse putOpenshiftAi( * endpoint consumes significant resources. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-voyageai">Documentation * on elastic.co */ @@ -1929,7 +1929,7 @@ public PutVoyageaiResponse putVoyageai(PutVoyageaiRequest request) throws IOExce * a function that initializes a builder to create the * {@link PutVoyageaiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-voyageai">Documentation * on elastic.co */ @@ -1951,7 +1951,7 @@ public final PutVoyageaiResponse putVoyageai( * plug-in, the Cloud Databases API, or Terraform. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-watsonx">Documentation * on elastic.co */ @@ -1975,7 +1975,7 @@ public PutWatsonxResponse putWatsonx(PutWatsonxRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link PutWatsonxRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-put-watsonx">Documentation * on elastic.co */ @@ -1990,7 +1990,7 @@ public final PutWatsonxResponse putWatsonx(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2008,7 +2008,7 @@ public RerankResponse rerank(RerankRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link RerankRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2023,7 +2023,7 @@ public final RerankResponse rerank(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2042,7 +2042,7 @@ public SparseEmbeddingResponse sparseEmbedding(SparseEmbeddingRequest request) * a function that initializes a builder to create the * {@link SparseEmbeddingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2075,7 +2075,7 @@ public final SparseEmbeddingResponse sparseEmbedding( * grant this privilege). You must use a client that supports streaming. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-stream-inference">Documentation * on elastic.co */ @@ -2110,7 +2110,7 @@ public BinaryResponse streamCompletion(StreamCompletionRequest request) throws I * a function that initializes a builder to create the * {@link StreamCompletionRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-stream-inference">Documentation * on elastic.co */ @@ -2126,7 +2126,7 @@ public final BinaryResponse streamCompletion( * Perform text embedding inference on the service. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2145,7 +2145,7 @@ public TextEmbeddingResponse textEmbedding(TextEmbeddingRequest request) * a function that initializes a builder to create the * {@link TextEmbeddingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-inference">Documentation * on elastic.co */ @@ -2175,7 +2175,7 @@ public final TextEmbeddingResponse textEmbedding( * model APIs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-update">Documentation * on elastic.co */ @@ -2207,7 +2207,7 @@ public UpdateInferenceResponse update(UpdateInferenceRequest request) throws IOE * a function that initializes a builder to create the * {@link UpdateInferenceRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-inference-update">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/EmbeddingContentObjectContents.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/EmbeddingContentObjectContents.java index 9bc1c66651..7920ca4a96 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/EmbeddingContentObjectContents.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/EmbeddingContentObjectContents.java @@ -93,9 +93,11 @@ public final EmbeddingContentType type() { } /** - * The format of the input. For the text type this defaults to - * text. For the image type, this defaults to - * base64. + * The format of the input. For the text type this must be + * text. For the image type, this must be + * base64. If not specified, this will default to text + * for the text type and base64 for the + * image type. *

* API name: {@code format} */ @@ -105,7 +107,8 @@ public final EmbeddingContentFormat format() { } /** - * Required - The value of the input to embed. + * Required - The value of the input to embed. For images, this must be a + * base64-encoded data URI, i.e. "data:content/type;base64,..." *

* API name: {@code value} */ @@ -175,9 +178,11 @@ public final Builder type(EmbeddingContentType value) { } /** - * The format of the input. For the text type this defaults to - * text. For the image type, this defaults to - * base64. + * The format of the input. For the text type this must be + * text. For the image type, this must be + * base64. If not specified, this will default to text + * for the text type and base64 for the + * image type. *

* API name: {@code format} */ @@ -187,7 +192,8 @@ public final Builder format(@Nullable EmbeddingContentFormat value) { } /** - * Required - The value of the input to embed. + * Required - The value of the input to embed. For images, this must be a + * base64-encoded data URI, i.e. "data:content/type;base64,..." *

* API name: {@code value} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/FireworksAITaskSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/FireworksAITaskSettings.java index c2adf24629..b4914cd7f3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/FireworksAITaskSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/FireworksAITaskSettings.java @@ -19,7 +19,6 @@ package co.elastic.clients.elasticsearch.inference; -import co.elastic.clients.json.JsonData; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -27,10 +26,12 @@ import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; import java.lang.String; +import java.util.Map; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -63,15 +64,14 @@ public class FireworksAITaskSettings implements JsonpSerializable { @Nullable private final String user; - @Nullable - private final JsonData headers; + private final Map headers; // --------------------------------------------------------------------------------------------- private FireworksAITaskSettings(Builder builder) { this.user = builder.user; - this.headers = builder.headers; + this.headers = ApiTypeHelper.unmodifiable(builder.headers); } @@ -96,7 +96,7 @@ public final String user() { * custom HTTP header parameters. For example: * *

-	 * "headers":{
+	 * "headers": {
 	 *   "Custom-Header": "Some-Value",
 	 *   "Another-Custom-Header": "Another-Value"
 	 * }
@@ -105,8 +105,7 @@ public final String user() {
 	 * 

* API name: {@code headers} */ - @Nullable - public final JsonData headers() { + public final Map headers() { return this.headers; } @@ -126,9 +125,15 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.write(this.user); } - if (this.headers != null) { + if (ApiTypeHelper.isDefined(this.headers)) { generator.writeKey("headers"); - this.headers.serialize(generator, mapper); + generator.writeStartObject(); + for (Map.Entry item0 : this.headers.entrySet()) { + generator.writeKey(item0.getKey()); + generator.write(item0.getValue()); + + } + generator.writeEnd(); } @@ -152,7 +157,7 @@ public static class Builder extends WithJsonObjectBuilderBase private String user; @Nullable - private JsonData headers; + private Map headers; public Builder() { } @@ -178,7 +183,7 @@ public final Builder user(@Nullable String value) { * custom HTTP header parameters. For example: * *

-		 * "headers":{
+		 * "headers": {
 		 *   "Custom-Header": "Some-Value",
 		 *   "Another-Custom-Header": "Another-Value"
 		 * }
@@ -186,9 +191,32 @@ public final Builder user(@Nullable String value) {
 		 * 
*

* API name: {@code headers} + *

+ * Adds all entries of map to headers. + */ + public final Builder headers(Map map) { + this.headers = _mapPutAll(this.headers, map); + return this; + } + + /** + * For a completion orchat_completion task. Specifies + * custom HTTP header parameters. For example: + * + *

+		 * "headers": {
+		 *   "Custom-Header": "Some-Value",
+		 *   "Another-Custom-Header": "Another-Value"
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code headers} + *

+ * Adds an entry to headers. */ - public final Builder headers(@Nullable JsonData value) { - this.headers = value; + public final Builder headers(String key, String value) { + this.headers = _mapPut(this.headers, key, value); return this; } @@ -228,7 +256,8 @@ protected static void setupFireworksAITaskSettingsDeserializer( ObjectDeserializer op) { op.add(Builder::user, JsonpDeserializer.stringDeserializer(), "user"); - op.add(Builder::headers, JsonData._DESERIALIZER, "headers"); + op.add(Builder::headers, JsonpDeserializer.stringMapDeserializer(JsonpDeserializer.stringDeserializer()), + "headers"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/Message.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/Message.java index d5fd39ee9a..261e29aaab 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/Message.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/Message.java @@ -126,7 +126,7 @@ public static Message of(Function> fn) { * "content": [ * { * "image_url": { - * "url": "data:image/jpg;base64,..." + * "url": "data:image/jpeg;base64,..." * }, * "type": "image_url" * } @@ -356,7 +356,7 @@ private Builder(Message instance) { * "content": [ * { * "image_url": { - * "url": "data:image/jpg;base64,..." + * "url": "data:image/jpeg;base64,..." * }, * "type": "image_url" * } @@ -422,7 +422,7 @@ public final Builder content(@Nullable MessageContent value) { * "content": [ * { * "image_url": { - * "url": "data:image/jpg;base64,..." + * "url": "data:image/jpeg;base64,..." * }, * "type": "image_url" * } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/OpenAITaskSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/OpenAITaskSettings.java index aefb8eb7f0..a0c6fbb810 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/OpenAITaskSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/OpenAITaskSettings.java @@ -19,7 +19,6 @@ package co.elastic.clients.elasticsearch.inference; -import co.elastic.clients.json.JsonData; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -27,10 +26,12 @@ import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; import java.lang.String; +import java.util.Map; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -63,15 +64,14 @@ public class OpenAITaskSettings implements JsonpSerializable { @Nullable private final String user; - @Nullable - private final JsonData headers; + private final Map headers; // --------------------------------------------------------------------------------------------- private OpenAITaskSettings(Builder builder) { this.user = builder.user; - this.headers = builder.headers; + this.headers = ApiTypeHelper.unmodifiable(builder.headers); } @@ -80,9 +80,8 @@ public static OpenAITaskSettings of(Functioncompletion, chat_completion, or - * text_embedding task, specify the user issuing the request. This - * information can be used for abuse detection. + * Specifies the user issuing the request. This information can be used for + * abuse detection. *

* API name: {@code user} */ @@ -95,7 +94,7 @@ public final String user() { * Specifies custom HTTP header parameters. For example: * *

-	 * "headers":{
+	 * "headers": {
 	 *   "Custom-Header": "Some-Value",
 	 *   "Another-Custom-Header": "Another-Value"
 	 * }
@@ -104,8 +103,7 @@ public final String user() {
 	 * 

* API name: {@code headers} */ - @Nullable - public final JsonData headers() { + public final Map headers() { return this.headers; } @@ -125,9 +123,15 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.write(this.user); } - if (this.headers != null) { + if (ApiTypeHelper.isDefined(this.headers)) { generator.writeKey("headers"); - this.headers.serialize(generator, mapper); + generator.writeStartObject(); + for (Map.Entry item0 : this.headers.entrySet()) { + generator.writeKey(item0.getKey()); + generator.write(item0.getValue()); + + } + generator.writeEnd(); } @@ -151,7 +155,7 @@ public static class Builder extends WithJsonObjectBuilderBase private String user; @Nullable - private JsonData headers; + private Map headers; public Builder() { } @@ -161,9 +165,8 @@ private Builder(OpenAITaskSettings instance) { } /** - * For a completion, chat_completion, or - * text_embedding task, specify the user issuing the request. This - * information can be used for abuse detection. + * Specifies the user issuing the request. This information can be used for + * abuse detection. *

* API name: {@code user} */ @@ -176,7 +179,27 @@ public final Builder user(@Nullable String value) { * Specifies custom HTTP header parameters. For example: * *

-		 * "headers":{
+		 * "headers": {
+		 *   "Custom-Header": "Some-Value",
+		 *   "Another-Custom-Header": "Another-Value"
+		 * }
+		 * 
+		 * 
+ *

+ * API name: {@code headers} + *

+ * Adds all entries of map to headers. + */ + public final Builder headers(Map map) { + this.headers = _mapPutAll(this.headers, map); + return this; + } + + /** + * Specifies custom HTTP header parameters. For example: + * + *

+		 * "headers": {
 		 *   "Custom-Header": "Some-Value",
 		 *   "Another-Custom-Header": "Another-Value"
 		 * }
@@ -184,9 +207,11 @@ public final Builder user(@Nullable String value) {
 		 * 
*

* API name: {@code headers} + *

+ * Adds an entry to headers. */ - public final Builder headers(@Nullable JsonData value) { - this.headers = value; + public final Builder headers(String key, String value) { + this.headers = _mapPut(this.headers, key, value); return this; } @@ -225,7 +250,8 @@ public Builder rebuild() { protected static void setupOpenAITaskSettingsDeserializer(ObjectDeserializer op) { op.add(Builder::user, JsonpDeserializer.stringDeserializer(), "user"); - op.add(Builder::headers, JsonData._DESERIALIZER, "headers"); + op.add(Builder::headers, JsonpDeserializer.stringMapDeserializer(JsonpDeserializer.stringDeserializer()), + "headers"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/RequestEmbedding.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/RequestEmbedding.java index 605094aecd..d3f6425f18 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/RequestEmbedding.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/RequestEmbedding.java @@ -108,7 +108,7 @@ public static RequestEmbedding of(Function @@ -129,7 +129,7 @@ public static RequestEmbedding of(Function @@ -282,7 +282,7 @@ private Builder(RequestEmbedding instance) { * "content": { * "type": "image", * "format": "base64", - * "value": "data:image/jpg;base64,..." + * "value": "data:image/jpeg;base64,..." * } * } * ] @@ -321,7 +321,7 @@ public final Builder input(EmbeddingInput value) { * "content": { * "type": "image", * "format": "base64", - * "value": "data:image/jpg;base64,..." + * "value": "data:image/jpeg;base64,..." * } * } * @@ -342,7 +342,7 @@ public final Builder input(EmbeddingInput value) { * "content": { * "type": "image", * "format": "base64", - * "value": "data:image/jpg;base64,..." + * "value": "data:image/jpeg;base64,..." * } * } * ] diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestAsyncClient.java index 23c5c49cb8..6610545215 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestAsyncClient.java @@ -73,7 +73,7 @@ public ElasticsearchIngestAsyncClient withTransportOptions(@Nullable TransportOp * Delete one or more IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-geoip-database">Documentation * on elastic.co */ @@ -93,7 +93,7 @@ public CompletableFuture deleteGeoipDatabase(Delete * a function that initializes a builder to create the * {@link DeleteGeoipDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-geoip-database">Documentation * on elastic.co */ @@ -108,7 +108,7 @@ public final CompletableFuture deleteGeoipDatabase( * Delete IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-ip-location-database">Documentation * on elastic.co */ @@ -127,7 +127,7 @@ public CompletableFuture deleteIpLocationDatab * a function that initializes a builder to create the * {@link DeleteIpLocationDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-ip-location-database">Documentation * on elastic.co */ @@ -144,7 +144,7 @@ public final CompletableFuture deleteIpLocatio * Delete one or more ingest pipelines. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-pipeline">Documentation * on elastic.co */ @@ -164,7 +164,7 @@ public CompletableFuture deletePipeline(DeletePipelineRe * a function that initializes a builder to create the * {@link DeletePipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-pipeline">Documentation * on elastic.co */ @@ -198,7 +198,7 @@ public CompletableFuture geoIpStats() { * Get information about one or more IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-geoip-database">Documentation * on elastic.co */ @@ -218,7 +218,7 @@ public CompletableFuture getGeoipDatabase(GetGeoipData * a function that initializes a builder to create the * {@link GetGeoipDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-geoip-database">Documentation * on elastic.co */ @@ -233,7 +233,7 @@ public final CompletableFuture getGeoipDatabase( * Get information about one or more IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-geoip-database">Documentation * on elastic.co */ @@ -248,7 +248,7 @@ public CompletableFuture getGeoipDatabase() { * Get IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-ip-location-database">Documentation * on elastic.co */ @@ -267,7 +267,7 @@ public CompletableFuture getIpLocationDatabase( * a function that initializes a builder to create the * {@link GetIpLocationDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-ip-location-database">Documentation * on elastic.co */ @@ -280,7 +280,7 @@ public final CompletableFuture getIpLocationDatab * Get IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-ip-location-database">Documentation * on elastic.co */ @@ -298,7 +298,7 @@ public CompletableFuture getIpLocationDatabase() * reference of the pipeline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-pipeline">Documentation * on elastic.co */ @@ -319,7 +319,7 @@ public CompletableFuture getPipeline(GetPipelineRequest req * a function that initializes a builder to create the * {@link GetPipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-pipeline">Documentation * on elastic.co */ @@ -335,7 +335,7 @@ public final CompletableFuture getPipeline( * reference of the pipeline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-pipeline">Documentation * on elastic.co */ @@ -371,7 +371,7 @@ public CompletableFuture processorGrok() { * Refer to the create or update IP geolocation database configuration API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-geoip-database">Documentation * on elastic.co */ @@ -391,7 +391,7 @@ public CompletableFuture putGeoipDatabase(PutGeoipData * a function that initializes a builder to create the * {@link PutGeoipDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-geoip-database">Documentation * on elastic.co */ @@ -406,7 +406,7 @@ public final CompletableFuture putGeoipDatabase( * Create or update an IP geolocation database configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-ip-location-database">Documentation * on elastic.co */ @@ -425,7 +425,7 @@ public CompletableFuture putIpLocationDatabase( * a function that initializes a builder to create the * {@link PutIpLocationDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-ip-location-database">Documentation * on elastic.co */ @@ -481,7 +481,7 @@ public final CompletableFuture putPipeline( * pipeline definition in the body of the request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-simulate">Documentation * on elastic.co */ @@ -503,7 +503,7 @@ public CompletableFuture simulate(SimulateRequest request) { * a function that initializes a builder to create the * {@link SimulateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-simulate">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java index 794cea31fb..f47a6c6059 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java @@ -73,7 +73,7 @@ public ElasticsearchIngestClient withTransportOptions(@Nullable TransportOptions * Delete one or more IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-geoip-database">Documentation * on elastic.co */ @@ -94,7 +94,7 @@ public DeleteGeoipDatabaseResponse deleteGeoipDatabase(DeleteGeoipDatabaseReques * a function that initializes a builder to create the * {@link DeleteGeoipDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-geoip-database">Documentation * on elastic.co */ @@ -110,7 +110,7 @@ public final DeleteGeoipDatabaseResponse deleteGeoipDatabase( * Delete IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-ip-location-database">Documentation * on elastic.co */ @@ -129,7 +129,7 @@ public DeleteIpLocationDatabaseResponse deleteIpLocationDatabase(DeleteIpLocatio * a function that initializes a builder to create the * {@link DeleteIpLocationDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-ip-location-database">Documentation * on elastic.co */ @@ -147,7 +147,7 @@ public final DeleteIpLocationDatabaseResponse deleteIpLocationDatabase( * Delete one or more ingest pipelines. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-pipeline">Documentation * on elastic.co */ @@ -168,7 +168,7 @@ public DeletePipelineResponse deletePipeline(DeletePipelineRequest request) * a function that initializes a builder to create the * {@link DeletePipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-delete-pipeline">Documentation * on elastic.co */ @@ -203,7 +203,7 @@ public GeoIpStatsResponse geoIpStats() throws IOException, ElasticsearchExceptio * Get information about one or more IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-geoip-database">Documentation * on elastic.co */ @@ -224,7 +224,7 @@ public GetGeoipDatabaseResponse getGeoipDatabase(GetGeoipDatabaseRequest request * a function that initializes a builder to create the * {@link GetGeoipDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-geoip-database">Documentation * on elastic.co */ @@ -240,7 +240,7 @@ public final GetGeoipDatabaseResponse getGeoipDatabase( * Get information about one or more IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-geoip-database">Documentation * on elastic.co */ @@ -255,7 +255,7 @@ public GetGeoipDatabaseResponse getGeoipDatabase() throws IOException, Elasticse * Get IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-ip-location-database">Documentation * on elastic.co */ @@ -274,7 +274,7 @@ public GetIpLocationDatabaseResponse getIpLocationDatabase(GetIpLocationDatabase * a function that initializes a builder to create the * {@link GetIpLocationDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-ip-location-database">Documentation * on elastic.co */ @@ -288,7 +288,7 @@ public final GetIpLocationDatabaseResponse getIpLocationDatabase( * Get IP geolocation database configurations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-ip-location-database">Documentation * on elastic.co */ @@ -306,7 +306,7 @@ public GetIpLocationDatabaseResponse getIpLocationDatabase() throws IOException, * reference of the pipeline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-pipeline">Documentation * on elastic.co */ @@ -327,7 +327,7 @@ public GetPipelineResponse getPipeline(GetPipelineRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetPipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-pipeline">Documentation * on elastic.co */ @@ -344,7 +344,7 @@ public final GetPipelineResponse getPipeline( * reference of the pipeline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-get-pipeline">Documentation * on elastic.co */ @@ -380,7 +380,7 @@ public ProcessorGrokResponse processorGrok() throws IOException, ElasticsearchEx * Refer to the create or update IP geolocation database configuration API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-geoip-database">Documentation * on elastic.co */ @@ -401,7 +401,7 @@ public PutGeoipDatabaseResponse putGeoipDatabase(PutGeoipDatabaseRequest request * a function that initializes a builder to create the * {@link PutGeoipDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-geoip-database">Documentation * on elastic.co */ @@ -417,7 +417,7 @@ public final PutGeoipDatabaseResponse putGeoipDatabase( * Create or update an IP geolocation database configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-ip-location-database">Documentation * on elastic.co */ @@ -436,7 +436,7 @@ public PutIpLocationDatabaseResponse putIpLocationDatabase(PutIpLocationDatabase * a function that initializes a builder to create the * {@link PutIpLocationDatabaseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-put-ip-location-database">Documentation * on elastic.co */ @@ -494,7 +494,7 @@ public final PutPipelineResponse putPipeline( * pipeline definition in the body of the request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-simulate">Documentation * on elastic.co */ @@ -516,7 +516,7 @@ public SimulateResponse simulate(SimulateRequest request) throws IOException, El * a function that initializes a builder to create the * {@link SimulateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ingest-simulate">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GrokProcessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GrokProcessor.java index a5610d87c1..e1c109f53d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GrokProcessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GrokProcessor.java @@ -74,6 +74,9 @@ public class GrokProcessor extends ProcessorBase implements ProcessorVariant { @Nullable private final Boolean traceMatch; + @Nullable + private final Boolean validateOnly; + // --------------------------------------------------------------------------------------------- private GrokProcessor(Builder builder) { @@ -85,6 +88,7 @@ private GrokProcessor(Builder builder) { this.patternDefinitions = ApiTypeHelper.unmodifiable(builder.patternDefinitions); this.patterns = ApiTypeHelper.unmodifiableRequired(builder.patterns, this, "patterns"); this.traceMatch = builder.traceMatch; + this.validateOnly = builder.validateOnly; } @@ -165,6 +169,17 @@ public final Boolean traceMatch() { return this.traceMatch; } + /** + * When true, the processor does matching but does not extract + * structured fields + *

+ * API name: {@code validate_only} + */ + @Nullable + public final Boolean validateOnly() { + return this.validateOnly; + } + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { super.serializeInternal(generator, mapper); @@ -207,6 +222,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.write(this.traceMatch); } + if (this.validateOnly != null) { + generator.writeKey("validate_only"); + generator.write(this.validateOnly); + + } } @@ -233,6 +253,9 @@ public static class Builder extends ProcessorBase.AbstractBuilder imple @Nullable private Boolean traceMatch; + @Nullable + private Boolean validateOnly; + public Builder() { } private Builder(GrokProcessor instance) { @@ -242,6 +265,7 @@ private Builder(GrokProcessor instance) { this.patternDefinitions = instance.patternDefinitions; this.patterns = instance.patterns; this.traceMatch = instance.traceMatch; + this.validateOnly = instance.validateOnly; } /** @@ -343,6 +367,17 @@ public final Builder traceMatch(@Nullable Boolean value) { return this; } + /** + * When true, the processor does matching but does not extract + * structured fields + *

+ * API name: {@code validate_only} + */ + public final Builder validateOnly(@Nullable Boolean value) { + this.validateOnly = value; + return this; + } + @Override protected Builder self() { return this; @@ -385,6 +420,7 @@ protected static void setupGrokProcessorDeserializer(ObjectDeserializerDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-delete">Documentation * on elastic.co */ @@ -101,7 +101,7 @@ public CompletableFuture delete(DeleteLicenseRequest requ * a function that initializes a builder to create the * {@link DeleteLicenseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-delete">Documentation * on elastic.co */ @@ -119,7 +119,7 @@ public final CompletableFuture delete( * this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-delete">Documentation * on elastic.co */ @@ -144,7 +144,7 @@ public CompletableFuture delete() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get">Documentation * on elastic.co */ @@ -172,7 +172,7 @@ public CompletableFuture get(GetLicenseRequest request) { * a function that initializes a builder to create the * {@link GetLicenseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get">Documentation * on elastic.co */ @@ -195,7 +195,7 @@ public final CompletableFuture get( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get">Documentation * on elastic.co */ @@ -210,7 +210,7 @@ public CompletableFuture get() { * Get the basic license status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get-basic-status">Documentation * on elastic.co */ public CompletableFuture getBasicStatus() { @@ -224,7 +224,7 @@ public CompletableFuture getBasicStatus() { * Get the trial status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get-trial-status">Documentation * on elastic.co */ public CompletableFuture getTrialStatus() { @@ -249,7 +249,7 @@ public CompletableFuture getTrialStatus() { * enabled, only operator users can use this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post">Documentation * on elastic.co */ @@ -278,7 +278,7 @@ public CompletableFuture post(PostRequest request) { * a function that initializes a builder to create the * {@link PostRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post">Documentation * on elastic.co */ @@ -301,7 +301,7 @@ public final CompletableFuture post(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post">Documentation * on elastic.co */ @@ -329,7 +329,7 @@ public CompletableFuture post() { * To check the status of your basic license, use the get basic license API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-basic">Documentation * on elastic.co */ @@ -360,7 +360,7 @@ public CompletableFuture postStartBasic(PostStartBasicRe * a function that initializes a builder to create the * {@link PostStartBasicRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-basic">Documentation * on elastic.co */ @@ -386,7 +386,7 @@ public final CompletableFuture postStartBasic( * To check the status of your basic license, use the get basic license API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-basic">Documentation * on elastic.co */ @@ -411,7 +411,7 @@ public CompletableFuture postStartBasic() { * To check the status of your trial, use the get trial status API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-trial">Documentation * on elastic.co */ @@ -439,7 +439,7 @@ public CompletableFuture postStartTrial(PostStartTrialRe * a function that initializes a builder to create the * {@link PostStartTrialRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-trial">Documentation * on elastic.co */ @@ -462,7 +462,7 @@ public final CompletableFuture postStartTrial( * To check the status of your trial, use the get trial status API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-trial">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/ElasticsearchLicenseClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/ElasticsearchLicenseClient.java index 937bbb427a..e583456125 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/ElasticsearchLicenseClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/ElasticsearchLicenseClient.java @@ -76,7 +76,7 @@ public ElasticsearchLicenseClient withTransportOptions(@Nullable TransportOption * this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-delete">Documentation * on elastic.co */ @@ -99,7 +99,7 @@ public DeleteLicenseResponse delete(DeleteLicenseRequest request) throws IOExcep * a function that initializes a builder to create the * {@link DeleteLicenseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-delete">Documentation * on elastic.co */ @@ -118,7 +118,7 @@ public final DeleteLicenseResponse delete( * this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-delete">Documentation * on elastic.co */ @@ -143,7 +143,7 @@ public DeleteLicenseResponse delete() throws IOException, ElasticsearchException * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get">Documentation * on elastic.co */ @@ -171,7 +171,7 @@ public GetLicenseResponse get(GetLicenseRequest request) throws IOException, Ela * a function that initializes a builder to create the * {@link GetLicenseRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get">Documentation * on elastic.co */ @@ -194,7 +194,7 @@ public final GetLicenseResponse get(Function * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get">Documentation * on elastic.co */ @@ -209,7 +209,7 @@ public GetLicenseResponse get() throws IOException, ElasticsearchException { * Get the basic license status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get-basic-status">Documentation * on elastic.co */ public GetBasicStatusResponse getBasicStatus() throws IOException, ElasticsearchException { @@ -223,7 +223,7 @@ public GetBasicStatusResponse getBasicStatus() throws IOException, Elasticsearch * Get the trial status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-get-trial-status">Documentation * on elastic.co */ public GetTrialStatusResponse getTrialStatus() throws IOException, ElasticsearchException { @@ -248,7 +248,7 @@ public GetTrialStatusResponse getTrialStatus() throws IOException, Elasticsearch * enabled, only operator users can use this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post">Documentation * on elastic.co */ @@ -277,7 +277,7 @@ public PostResponse post(PostRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link PostRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post">Documentation * on elastic.co */ @@ -301,7 +301,7 @@ public final PostResponse post(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post">Documentation * on elastic.co */ @@ -329,7 +329,7 @@ public PostResponse post() throws IOException, ElasticsearchException { * To check the status of your basic license, use the get basic license API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-basic">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public PostStartBasicResponse postStartBasic(PostStartBasicRequest request) * a function that initializes a builder to create the * {@link PostStartBasicRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-basic">Documentation * on elastic.co */ @@ -388,7 +388,7 @@ public final PostStartBasicResponse postStartBasic( * To check the status of your basic license, use the get basic license API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-basic">Documentation * on elastic.co */ @@ -413,7 +413,7 @@ public PostStartBasicResponse postStartBasic() throws IOException, Elasticsearch * To check the status of your trial, use the get trial status API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-trial">Documentation * on elastic.co */ @@ -442,7 +442,7 @@ public PostStartTrialResponse postStartTrial(PostStartTrialRequest request) * a function that initializes a builder to create the * {@link PostStartTrialRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-trial">Documentation * on elastic.co */ @@ -466,7 +466,7 @@ public final PostStartTrialResponse postStartTrial( * To check the status of your trial, use the get trial status API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-license-post-start-trial">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashAsyncClient.java index 470fd7444a..ca8c95ee3c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashAsyncClient.java @@ -78,7 +78,7 @@ public ElasticsearchLogstashAsyncClient withTransportOptions(@Nullable Transport * code. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-delete-pipeline">Documentation * on elastic.co */ @@ -100,7 +100,7 @@ public CompletableFuture deletePipeline(DeletePipelineRequest r * a function that initializes a builder to create the * {@link DeletePipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-delete-pipeline">Documentation * on elastic.co */ @@ -117,7 +117,7 @@ public final CompletableFuture deletePipeline( * Get pipelines that are used for Logstash Central Management. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-get-pipeline">Documentation * on elastic.co */ @@ -137,7 +137,7 @@ public CompletableFuture getPipeline(GetPipelineRequest req * a function that initializes a builder to create the * {@link GetPipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-get-pipeline">Documentation * on elastic.co */ @@ -152,7 +152,7 @@ public final CompletableFuture getPipeline( * Get pipelines that are used for Logstash Central Management. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-get-pipeline">Documentation * on elastic.co */ @@ -170,7 +170,7 @@ public CompletableFuture getPipeline() { * specified pipeline exists, it is replaced. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-put-pipeline">Documentation * on elastic.co */ @@ -191,7 +191,7 @@ public CompletableFuture putPipeline(PutPipelineRequest request * a function that initializes a builder to create the * {@link PutPipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-put-pipeline">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashClient.java index 41be201d41..c11ec9648d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/ElasticsearchLogstashClient.java @@ -76,7 +76,7 @@ public ElasticsearchLogstashClient withTransportOptions(@Nullable TransportOptio * code. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-delete-pipeline">Documentation * on elastic.co */ @@ -98,7 +98,7 @@ public BooleanResponse deletePipeline(DeletePipelineRequest request) throws IOEx * a function that initializes a builder to create the * {@link DeletePipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-delete-pipeline">Documentation * on elastic.co */ @@ -116,7 +116,7 @@ public final BooleanResponse deletePipeline( * Get pipelines that are used for Logstash Central Management. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-get-pipeline">Documentation * on elastic.co */ @@ -136,7 +136,7 @@ public GetPipelineResponse getPipeline(GetPipelineRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetPipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-get-pipeline">Documentation * on elastic.co */ @@ -152,7 +152,7 @@ public final GetPipelineResponse getPipeline( * Get pipelines that are used for Logstash Central Management. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-get-pipeline">Documentation * on elastic.co */ @@ -170,7 +170,7 @@ public GetPipelineResponse getPipeline() throws IOException, ElasticsearchExcept * specified pipeline exists, it is replaced. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-put-pipeline">Documentation * on elastic.co */ @@ -191,7 +191,7 @@ public BooleanResponse putPipeline(PutPipelineRequest request) throws IOExceptio * a function that initializes a builder to create the * {@link PutPipelineRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-logstash-put-pipeline">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationAsyncClient.java index dc16025fd4..06a1531c05 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationAsyncClient.java @@ -91,7 +91,7 @@ public ElasticsearchMigrationAsyncClient withTransportOptions(@Nullable Transpor * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-deprecations">Documentation * on elastic.co */ @@ -127,7 +127,7 @@ public CompletableFuture deprecations(DeprecationsRequest * a function that initializes a builder to create the * {@link DeprecationsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-deprecations">Documentation * on elastic.co */ @@ -158,7 +158,7 @@ public final CompletableFuture deprecations( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-deprecations">Documentation * on elastic.co */ @@ -180,7 +180,7 @@ public CompletableFuture deprecations() { * strongly recommended to use the Upgrade Assistant. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-get-feature-upgrade-status">Documentation * on elastic.co */ public CompletableFuture getFeatureUpgradeStatus() { @@ -204,7 +204,7 @@ public CompletableFuture getFeatureUpgradeStatu * strongly recommend you use the Upgrade Assistant. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-get-feature-upgrade-status">Documentation * on elastic.co */ public CompletableFuture postFeatureUpgrade() { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationClient.java index aa6a81a8ce..8e38aa19d5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/ElasticsearchMigrationClient.java @@ -89,7 +89,7 @@ public ElasticsearchMigrationClient withTransportOptions(@Nullable TransportOpti * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-deprecations">Documentation * on elastic.co */ @@ -125,7 +125,7 @@ public DeprecationsResponse deprecations(DeprecationsRequest request) throws IOE * a function that initializes a builder to create the * {@link DeprecationsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-deprecations">Documentation * on elastic.co */ @@ -157,7 +157,7 @@ public final DeprecationsResponse deprecations( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-deprecations">Documentation * on elastic.co */ @@ -179,7 +179,7 @@ public DeprecationsResponse deprecations() throws IOException, ElasticsearchExce * strongly recommended to use the Upgrade Assistant. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-get-feature-upgrade-status">Documentation * on elastic.co */ public GetFeatureUpgradeStatusResponse getFeatureUpgradeStatus() throws IOException, ElasticsearchException { @@ -203,7 +203,7 @@ public GetFeatureUpgradeStatusResponse getFeatureUpgradeStatus() throws IOExcept * strongly recommend you use the Upgrade Assistant. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-migration-get-feature-upgrade-status">Documentation * on elastic.co */ public PostFeatureUpgradeResponse postFeatureUpgrade() throws IOException, ElasticsearchException { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java index 853c65cb0c..d0c18c7c6a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java @@ -78,7 +78,7 @@ public ElasticsearchMlAsyncClient withTransportOptions(@Nullable TransportOption * deployment. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-clear-trained-model-deployment-cache">Documentation * on elastic.co */ @@ -103,7 +103,7 @@ public CompletableFuture clearTrainedM * a function that initializes a builder to create the * {@link ClearTrainedModelDeploymentCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-clear-trained-model-deployment-cache">Documentation * on elastic.co */ @@ -134,7 +134,7 @@ public final CompletableFuture clearTr * automatically closes its associated job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-close-job">Documentation * on elastic.co */ @@ -167,7 +167,7 @@ public CompletableFuture closeJob(CloseJobRequest request) { * a function that initializes a builder to create the * {@link CloseJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-close-job">Documentation * on elastic.co */ @@ -184,7 +184,7 @@ public final CompletableFuture closeJob( * Remove all scheduled events from a calendar, then delete it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar">Documentation * on elastic.co */ @@ -204,7 +204,7 @@ public CompletableFuture deleteCalendar(DeleteCalendarRe * a function that initializes a builder to create the * {@link DeleteCalendarRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar">Documentation * on elastic.co */ @@ -219,7 +219,7 @@ public final CompletableFuture deleteCalendar( * Delete events from a calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-event">Documentation * on elastic.co */ @@ -237,7 +237,7 @@ public CompletableFuture deleteCalendarEvent(Delete * a function that initializes a builder to create the * {@link DeleteCalendarEventRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-event">Documentation * on elastic.co */ @@ -252,7 +252,7 @@ public final CompletableFuture deleteCalendarEvent( * Delete anomaly jobs from a calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-job">Documentation * on elastic.co */ @@ -270,7 +270,7 @@ public CompletableFuture deleteCalendarJob(DeleteCale * a function that initializes a builder to create the * {@link DeleteCalendarJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-job">Documentation * on elastic.co */ @@ -285,7 +285,7 @@ public final CompletableFuture deleteCalendarJob( * Delete a data frame analytics job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-data-frame-analytics">Documentation * on elastic.co */ @@ -304,7 +304,7 @@ public CompletableFuture deleteDataFrameAnalyt * a function that initializes a builder to create the * {@link DeleteDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-data-frame-analytics">Documentation * on elastic.co */ @@ -319,7 +319,7 @@ public final CompletableFuture deleteDataFrame * Delete a datafeed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-datafeed">Documentation * on elastic.co */ @@ -337,7 +337,7 @@ public CompletableFuture deleteDatafeed(DeleteDatafeedRe * a function that initializes a builder to create the * {@link DeleteDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-datafeed">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public final CompletableFuture deleteDatafeed( * <job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-expired-data">Documentation * on elastic.co */ @@ -388,7 +388,7 @@ public CompletableFuture deleteExpiredData(DeleteExpi * a function that initializes a builder to create the * {@link DeleteExpiredDataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-expired-data">Documentation * on elastic.co */ @@ -410,7 +410,7 @@ public final CompletableFuture deleteExpiredData( * <job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-expired-data">Documentation * on elastic.co */ @@ -428,7 +428,7 @@ public CompletableFuture deleteExpiredData() { * filter. You must update or delete the job before you can delete the filter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-filter">Documentation * on elastic.co */ @@ -449,7 +449,7 @@ public CompletableFuture deleteFilter(DeleteFilterRequest * a function that initializes a builder to create the * {@link DeleteFilterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-filter">Documentation * on elastic.co */ @@ -469,7 +469,7 @@ public final CompletableFuture deleteFilter( * before they expire. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-forecast">Documentation * on elastic.co */ @@ -492,7 +492,7 @@ public CompletableFuture deleteForecast(DeleteForecastRe * a function that initializes a builder to create the * {@link DeleteForecastRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-forecast">Documentation * on elastic.co */ @@ -514,7 +514,7 @@ public final CompletableFuture deleteForecast( * job request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-job">Documentation * on elastic.co */ @@ -539,7 +539,7 @@ public CompletableFuture deleteJob(DeleteJobRequest request) * a function that initializes a builder to create the * {@link DeleteJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-job">Documentation * on elastic.co */ @@ -558,7 +558,7 @@ public final CompletableFuture deleteJob( * the model_snapshot_id in the results from the get jobs API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-model-snapshot">Documentation * on elastic.co */ @@ -580,7 +580,7 @@ public CompletableFuture deleteModelSnapshot(Delete * a function that initializes a builder to create the * {@link DeleteModelSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-model-snapshot">Documentation * on elastic.co */ @@ -598,7 +598,7 @@ public final CompletableFuture deleteModelSnapshot( * ingest pipeline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model">Documentation * on elastic.co */ @@ -619,7 +619,7 @@ public CompletableFuture deleteTrainedModel(DeleteTr * a function that initializes a builder to create the * {@link DeleteTrainedModelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model">Documentation * on elastic.co */ @@ -638,7 +638,7 @@ public final CompletableFuture deleteTrainedModel( * by the model_id, this API returns an error. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model-alias">Documentation * on elastic.co */ @@ -661,7 +661,7 @@ public CompletableFuture deleteTrainedModelAlia * a function that initializes a builder to create the * {@link DeleteTrainedModelAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model-alias">Documentation * on elastic.co */ @@ -680,7 +680,7 @@ public final CompletableFuture deleteTrainedMod * cardinality estimates for the fields it references. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-estimate-model-memory">Documentation * on elastic.co */ @@ -702,7 +702,7 @@ public CompletableFuture estimateModelMemory(Estima * a function that initializes a builder to create the * {@link EstimateModelMemoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-estimate-model-memory">Documentation * on elastic.co */ @@ -719,7 +719,7 @@ public final CompletableFuture estimateModelMemory( * cardinality estimates for the fields it references. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-estimate-model-memory">Documentation * on elastic.co */ @@ -739,7 +739,7 @@ public CompletableFuture estimateModelMemory() { * field and an analytics result field to be present. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-evaluate-data-frame">Documentation * on elastic.co */ @@ -762,7 +762,7 @@ public CompletableFuture evaluateDataFrame(EvaluateDa * a function that initializes a builder to create the * {@link EvaluateDataFrameRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-evaluate-data-frame">Documentation * on elastic.co */ @@ -788,7 +788,7 @@ public final CompletableFuture evaluateDataFrame( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-explain-data-frame-analytics">Documentation * on elastic.co */ @@ -818,7 +818,7 @@ public CompletableFuture explainDataFrameAnal * a function that initializes a builder to create the * {@link ExplainDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-explain-data-frame-analytics">Documentation * on elastic.co */ @@ -842,7 +842,7 @@ public final CompletableFuture explainDataFra * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-explain-data-frame-analytics">Documentation * on elastic.co */ @@ -866,7 +866,7 @@ public CompletableFuture explainDataFrameAnal * analyzing further data. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-flush-job">Documentation * on elastic.co */ @@ -893,7 +893,7 @@ public CompletableFuture flushJob(FlushJobRequest request) { * a function that initializes a builder to create the * {@link FlushJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-flush-job">Documentation * on elastic.co */ @@ -913,7 +913,7 @@ public final CompletableFuture flushJob( * behavior based on historical data. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-forecast">Documentation * on elastic.co */ @@ -936,7 +936,7 @@ public CompletableFuture forecast(ForecastRequest request) { * a function that initializes a builder to create the * {@link ForecastRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-forecast">Documentation * on elastic.co */ @@ -953,7 +953,7 @@ public final CompletableFuture forecast( * The API presents a chronological view of the records, grouped by bucket. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-buckets">Documentation * on elastic.co */ @@ -973,7 +973,7 @@ public CompletableFuture getBuckets(GetBucketsRequest reques * a function that initializes a builder to create the * {@link GetBucketsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-buckets">Documentation * on elastic.co */ @@ -988,7 +988,7 @@ public final CompletableFuture getBuckets( * Get info about events in calendars. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendar-events">Documentation * on elastic.co */ @@ -1006,7 +1006,7 @@ public CompletableFuture getCalendarEvents(GetCalenda * a function that initializes a builder to create the * {@link GetCalendarEventsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendar-events">Documentation * on elastic.co */ @@ -1021,7 +1021,7 @@ public final CompletableFuture getCalendarEvents( * Get calendar configuration info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendars">Documentation * on elastic.co */ @@ -1039,7 +1039,7 @@ public CompletableFuture getCalendars(GetCalendarsRequest * a function that initializes a builder to create the * {@link GetCalendarsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendars">Documentation * on elastic.co */ @@ -1052,7 +1052,7 @@ public final CompletableFuture getCalendars( * Get calendar configuration info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendars">Documentation * on elastic.co */ @@ -1067,7 +1067,7 @@ public CompletableFuture getCalendars() { * Get anomaly detection job results for categories. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-categories">Documentation * on elastic.co */ @@ -1085,7 +1085,7 @@ public CompletableFuture getCategories(GetCategoriesReque * a function that initializes a builder to create the * {@link GetCategoriesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-categories">Documentation * on elastic.co */ @@ -1104,7 +1104,7 @@ public final CompletableFuture getCategories( * wildcard expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics">Documentation * on elastic.co */ @@ -1127,7 +1127,7 @@ public CompletableFuture getDataFrameAnalytics( * a function that initializes a builder to create the * {@link GetDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics">Documentation * on elastic.co */ @@ -1144,7 +1144,7 @@ public final CompletableFuture getDataFrameAnalyt * wildcard expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics">Documentation * on elastic.co */ @@ -1159,7 +1159,7 @@ public CompletableFuture getDataFrameAnalytics() * Get data frame analytics job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics-stats">Documentation * on elastic.co */ @@ -1178,7 +1178,7 @@ public CompletableFuture getDataFrameAnalyti * a function that initializes a builder to create the * {@link GetDataFrameAnalyticsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics-stats">Documentation * on elastic.co */ @@ -1191,7 +1191,7 @@ public final CompletableFuture getDataFrameA * Get data frame analytics job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics-stats">Documentation * on elastic.co */ @@ -1214,7 +1214,7 @@ public CompletableFuture getDataFrameAnalyti * state. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeed-stats">Documentation * on elastic.co */ @@ -1240,7 +1240,7 @@ public CompletableFuture getDatafeedStats(GetDatafeedS * a function that initializes a builder to create the * {@link GetDatafeedStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeed-stats">Documentation * on elastic.co */ @@ -1261,7 +1261,7 @@ public final CompletableFuture getDatafeedStats( * state. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeed-stats">Documentation * on elastic.co */ @@ -1282,7 +1282,7 @@ public CompletableFuture getDatafeedStats() { * <feed_id>. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeeds">Documentation * on elastic.co */ @@ -1306,7 +1306,7 @@ public CompletableFuture getDatafeeds(GetDatafeedsRequest * a function that initializes a builder to create the * {@link GetDatafeedsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeeds">Documentation * on elastic.co */ @@ -1325,7 +1325,7 @@ public final CompletableFuture getDatafeeds( * <feed_id>. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeeds">Documentation * on elastic.co */ @@ -1342,7 +1342,7 @@ public CompletableFuture getDatafeeds() { * You can get a single filter or all filters. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-filters">Documentation * on elastic.co */ @@ -1362,7 +1362,7 @@ public CompletableFuture getFilters(GetFiltersRequest reques * a function that initializes a builder to create the * {@link GetFiltersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-filters">Documentation * on elastic.co */ @@ -1377,7 +1377,7 @@ public final CompletableFuture getFilters( * You can get a single filter or all filters. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-filters">Documentation * on elastic.co */ @@ -1396,7 +1396,7 @@ public CompletableFuture getFilters() { * influencer_field_name is specified in the job configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-influencers">Documentation * on elastic.co */ @@ -1418,7 +1418,7 @@ public CompletableFuture getInfluencers(GetInfluencersRe * a function that initializes a builder to create the * {@link GetInfluencersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-influencers">Documentation * on elastic.co */ @@ -1433,7 +1433,7 @@ public final CompletableFuture getInfluencers( * Get anomaly detection job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-job-stats">Documentation * on elastic.co */ @@ -1451,7 +1451,7 @@ public CompletableFuture getJobStats(GetJobStatsRequest req * a function that initializes a builder to create the * {@link GetJobStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-job-stats">Documentation * on elastic.co */ @@ -1464,7 +1464,7 @@ public final CompletableFuture getJobStats( * Get anomaly detection job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-job-stats">Documentation * on elastic.co */ @@ -1485,7 +1485,7 @@ public CompletableFuture getJobStats() { * <job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-jobs">Documentation * on elastic.co */ @@ -1509,7 +1509,7 @@ public CompletableFuture getJobs(GetJobsRequest request) { * a function that initializes a builder to create the * {@link GetJobsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-jobs">Documentation * on elastic.co */ @@ -1528,7 +1528,7 @@ public final CompletableFuture getJobs( * <job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-jobs">Documentation * on elastic.co */ @@ -1547,7 +1547,7 @@ public CompletableFuture getJobs() { * JVM. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-memory-stats">Documentation * on elastic.co */ @@ -1569,7 +1569,7 @@ public CompletableFuture getMemoryStats(GetMemoryStatsRe * a function that initializes a builder to create the * {@link GetMemoryStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-memory-stats">Documentation * on elastic.co */ @@ -1586,7 +1586,7 @@ public final CompletableFuture getMemoryStats( * JVM. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-memory-stats">Documentation * on elastic.co */ @@ -1601,7 +1601,7 @@ public CompletableFuture getMemoryStats() { * Get anomaly detection job model snapshot upgrade usage info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshot-upgrade-stats">Documentation * on elastic.co */ @@ -1620,7 +1620,7 @@ public CompletableFuture getModelSnapshotU * a function that initializes a builder to create the * {@link GetModelSnapshotUpgradeStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshot-upgrade-stats">Documentation * on elastic.co */ @@ -1635,7 +1635,7 @@ public final CompletableFuture getModelSna * Get model snapshots info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshots">Documentation * on elastic.co */ @@ -1653,7 +1653,7 @@ public CompletableFuture getModelSnapshots(GetModelSn * a function that initializes a builder to create the * {@link GetModelSnapshotsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshots">Documentation * on elastic.co */ @@ -1686,7 +1686,7 @@ public final CompletableFuture getModelSnapshots( * the overall buckets that have a span equal to the jobs' largest bucket span. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-overall-buckets">Documentation * on elastic.co */ @@ -1722,7 +1722,7 @@ public CompletableFuture getOverallBuckets(GetOverall * a function that initializes a builder to create the * {@link GetOverallBucketsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-overall-buckets">Documentation * on elastic.co */ @@ -1747,7 +1747,7 @@ public final CompletableFuture getOverallBuckets( * modeled and the number of detectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-records">Documentation * on elastic.co */ @@ -1775,7 +1775,7 @@ public CompletableFuture getRecords(GetRecordsRequest reques * a function that initializes a builder to create the * {@link GetRecordsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-records">Documentation * on elastic.co */ @@ -1790,7 +1790,7 @@ public final CompletableFuture getRecords( * Get trained model configuration info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models">Documentation * on elastic.co */ @@ -1808,7 +1808,7 @@ public CompletableFuture getTrainedModels(GetTrainedMo * a function that initializes a builder to create the * {@link GetTrainedModelsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models">Documentation * on elastic.co */ @@ -1821,7 +1821,7 @@ public final CompletableFuture getTrainedModels( * Get trained model configuration info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models">Documentation * on elastic.co */ @@ -1840,7 +1840,7 @@ public CompletableFuture getTrainedModels() { * expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models-stats">Documentation * on elastic.co */ @@ -1863,7 +1863,7 @@ public CompletableFuture getTrainedModelsStats( * a function that initializes a builder to create the * {@link GetTrainedModelsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models-stats">Documentation * on elastic.co */ @@ -1880,7 +1880,7 @@ public final CompletableFuture getTrainedModelsSt * expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models-stats">Documentation * on elastic.co */ @@ -1895,7 +1895,7 @@ public CompletableFuture getTrainedModelsStats() * Evaluate a trained model. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-infer-trained-model">Documentation * on elastic.co */ @@ -1913,7 +1913,7 @@ public CompletableFuture inferTrainedModel(InferTrain * a function that initializes a builder to create the * {@link InferTrainedModelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-infer-trained-model">Documentation * on elastic.co */ @@ -1935,7 +1935,7 @@ public final CompletableFuture inferTrainedModel( * learning jobs that could run in the current cluster configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-info">Documentation * on elastic.co */ public CompletableFuture info() { @@ -1956,7 +1956,7 @@ public CompletableFuture info() { * received. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-open-job">Documentation * on elastic.co */ @@ -1981,7 +1981,7 @@ public CompletableFuture openJob(OpenJobRequest request) { * a function that initializes a builder to create the * {@link OpenJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-open-job">Documentation * on elastic.co */ @@ -1996,7 +1996,7 @@ public final CompletableFuture openJob( * Add scheduled events to the calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-calendar-events">Documentation * on elastic.co */ @@ -2014,7 +2014,7 @@ public CompletableFuture postCalendarEvents(PostCale * a function that initializes a builder to create the * {@link PostCalendarEventsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-calendar-events">Documentation * on elastic.co */ @@ -2033,7 +2033,7 @@ public final CompletableFuture postCalendarEvents( * wildcards or a comma-separated list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-data">Documentation * on elastic.co */ @@ -2055,7 +2055,7 @@ public CompletableFuture postData(PostDataRequestDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-data">Documentation * on elastic.co */ @@ -2072,7 +2072,7 @@ public final CompletableFuture postData( * Preview the extracted features used by a data frame analytics config. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-data-frame-analytics">Documentation * on elastic.co */ @@ -2093,7 +2093,7 @@ public CompletableFuture previewDataFrameAnal * a function that initializes a builder to create the * {@link PreviewDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-data-frame-analytics">Documentation * on elastic.co */ @@ -2108,7 +2108,7 @@ public final CompletableFuture previewDataFra * Preview the extracted features used by a data frame analytics config. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-data-frame-analytics">Documentation * on elastic.co */ @@ -2134,7 +2134,7 @@ public CompletableFuture previewDataFrameAnal * authorization headers to supply the credentials. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2167,7 +2167,7 @@ public CompletableFuture> preview * a function that initializes a builder to create the * {@link PreviewDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2213,7 +2213,7 @@ public final CompletableFuture> previewDatafeed( * authorization headers to supply the credentials. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2246,7 +2246,7 @@ public CompletableFuture> preview * a function that initializes a builder to create the * {@link PreviewDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2261,7 +2261,7 @@ public final CompletableFuture> p * Create a calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar">Documentation * on elastic.co */ @@ -2279,7 +2279,7 @@ public CompletableFuture putCalendar(PutCalendarRequest req * a function that initializes a builder to create the * {@link PutCalendarRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar">Documentation * on elastic.co */ @@ -2294,7 +2294,7 @@ public final CompletableFuture putCalendar( * Add anomaly detection job to calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar-job">Documentation * on elastic.co */ @@ -2312,7 +2312,7 @@ public CompletableFuture putCalendarJob(PutCalendarJobRe * a function that initializes a builder to create the * {@link PutCalendarJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar-job">Documentation * on elastic.co */ @@ -2339,7 +2339,7 @@ public final CompletableFuture putCalendarJob( * undefined parameters. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-data-frame-analytics">Documentation * on elastic.co */ @@ -2370,7 +2370,7 @@ public CompletableFuture putDataFrameAnalytics( * a function that initializes a builder to create the * {@link PutDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-data-frame-analytics">Documentation * on elastic.co */ @@ -2401,7 +2401,7 @@ public final CompletableFuture putDataFrameAnalyt * write privileges on the .ml-config index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-datafeed">Documentation * on elastic.co */ @@ -2435,7 +2435,7 @@ public CompletableFuture putDatafeed(PutDatafeedRequest req * a function that initializes a builder to create the * {@link PutDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-datafeed">Documentation * on elastic.co */ @@ -2454,7 +2454,7 @@ public final CompletableFuture putDatafeed( * custom_rules property of detector configuration objects. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-filter">Documentation * on elastic.co */ @@ -2476,7 +2476,7 @@ public CompletableFuture putFilter(PutFilterRequest request) * a function that initializes a builder to create the * {@link PutFilterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-filter">Documentation * on elastic.co */ @@ -2496,7 +2496,7 @@ public final CompletableFuture putFilter( * {"match_all": {"boost": 1}}. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-job">Documentation * on elastic.co */ @@ -2519,7 +2519,7 @@ public CompletableFuture putJob(PutJobRequest request) { * a function that initializes a builder to create the * {@link PutJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-job">Documentation * on elastic.co */ @@ -2537,7 +2537,7 @@ public final CompletableFuture putJob( * analytics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model">Documentation * on elastic.co */ @@ -2558,7 +2558,7 @@ public CompletableFuture putTrainedModel(PutTrainedMode * a function that initializes a builder to create the * {@link PutTrainedModelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model">Documentation * on elastic.co */ @@ -2587,7 +2587,7 @@ public final CompletableFuture putTrainedModel( * for the model alias, the API returns a warning. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-alias">Documentation * on elastic.co */ @@ -2619,7 +2619,7 @@ public CompletableFuture putTrainedModelAlias(PutT * a function that initializes a builder to create the * {@link PutTrainedModelAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-alias">Documentation * on elastic.co */ @@ -2634,7 +2634,7 @@ public final CompletableFuture putTrainedModelAlia * Create part of a trained model definition. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-definition-part">Documentation * on elastic.co */ @@ -2653,7 +2653,7 @@ public CompletableFuture putTrainedModelD * a function that initializes a builder to create the * {@link PutTrainedModelDefinitionPartRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-definition-part">Documentation * on elastic.co */ @@ -2672,7 +2672,7 @@ public final CompletableFuture putTrained * inference_config.*.vocabulary of the trained model definition. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-vocabulary">Documentation * on elastic.co */ @@ -2695,7 +2695,7 @@ public CompletableFuture putTrainedModelVocab * a function that initializes a builder to create the * {@link PutTrainedModelVocabularyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-vocabulary">Documentation * on elastic.co */ @@ -2714,7 +2714,7 @@ public final CompletableFuture putTrainedMode * using wildcards or a comma separated list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-reset-job">Documentation * on elastic.co */ @@ -2736,7 +2736,7 @@ public CompletableFuture resetJob(ResetJobRequest request) { * a function that initializes a builder to create the * {@link ResetJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-reset-job">Documentation * on elastic.co */ @@ -2759,7 +2759,7 @@ public final CompletableFuture resetJob( * snapshot after Black Friday or a critical system failure. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-revert-model-snapshot">Documentation * on elastic.co */ @@ -2785,7 +2785,7 @@ public CompletableFuture revertModelSnapshot(Revert * a function that initializes a builder to create the * {@link RevertModelSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-revert-model-snapshot">Documentation * on elastic.co */ @@ -2812,7 +2812,7 @@ public final CompletableFuture revertModelSnapshot( * get machine learning info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-set-upgrade-mode">Documentation * on elastic.co */ @@ -2842,7 +2842,7 @@ public CompletableFuture setUpgradeMode(SetUpgradeModeRe * a function that initializes a builder to create the * {@link SetUpgradeModeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-set-upgrade-mode">Documentation * on elastic.co */ @@ -2867,7 +2867,7 @@ public final CompletableFuture setUpgradeMode( * get machine learning info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-set-upgrade-mode">Documentation * on elastic.co */ @@ -2894,7 +2894,7 @@ public CompletableFuture setUpgradeMode() { * with custom settings and mappings. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-data-frame-analytics">Documentation * on elastic.co */ @@ -2925,7 +2925,7 @@ public CompletableFuture startDataFrameAnalytic * a function that initializes a builder to create the * {@link StartDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-data-frame-analytics">Documentation * on elastic.co */ @@ -2956,7 +2956,7 @@ public final CompletableFuture startDataFrameAn * those credentials are used instead. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-datafeed">Documentation * on elastic.co */ @@ -2990,7 +2990,7 @@ public CompletableFuture startDatafeed(StartDatafeedReque * a function that initializes a builder to create the * {@link StartDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-datafeed">Documentation * on elastic.co */ @@ -3007,7 +3007,7 @@ public final CompletableFuture startDatafeed( * It allocates the model to every machine learning node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-trained-model-deployment">Documentation * on elastic.co */ @@ -3028,7 +3028,7 @@ public CompletableFuture startTrainedModelD * a function that initializes a builder to create the * {@link StartTrainedModelDeploymentRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-trained-model-deployment">Documentation * on elastic.co */ @@ -3046,7 +3046,7 @@ public final CompletableFuture startTrained * throughout its lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-data-frame-analytics">Documentation * on elastic.co */ @@ -3068,7 +3068,7 @@ public CompletableFuture stopDataFrameAnalytics( * a function that initializes a builder to create the * {@link StopDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-data-frame-analytics">Documentation * on elastic.co */ @@ -3086,7 +3086,7 @@ public final CompletableFuture stopDataFrameAnal * datafeed can be started and stopped multiple times throughout its lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-datafeed">Documentation * on elastic.co */ @@ -3107,7 +3107,7 @@ public CompletableFuture stopDatafeed(StopDatafeedRequest * a function that initializes a builder to create the * {@link StopDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-datafeed">Documentation * on elastic.co */ @@ -3122,7 +3122,7 @@ public final CompletableFuture stopDatafeed( * Stop a trained model deployment. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-trained-model-deployment">Documentation * on elastic.co */ @@ -3141,7 +3141,7 @@ public CompletableFuture stopTrainedModelDep * a function that initializes a builder to create the * {@link StopTrainedModelDeploymentRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-trained-model-deployment">Documentation * on elastic.co */ @@ -3156,7 +3156,7 @@ public final CompletableFuture stopTrainedMo * Update a data frame analytics job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-data-frame-analytics">Documentation * on elastic.co */ @@ -3175,7 +3175,7 @@ public CompletableFuture updateDataFrameAnalyt * a function that initializes a builder to create the * {@link UpdateDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-data-frame-analytics">Documentation * on elastic.co */ @@ -3196,7 +3196,7 @@ public final CompletableFuture updateDataFrame * those credentials are used instead. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-datafeed">Documentation * on elastic.co */ @@ -3220,7 +3220,7 @@ public CompletableFuture updateDatafeed(UpdateDatafeedRe * a function that initializes a builder to create the * {@link UpdateDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-datafeed">Documentation * on elastic.co */ @@ -3238,7 +3238,7 @@ public final CompletableFuture updateDatafeed( * list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-filter">Documentation * on elastic.co */ @@ -3259,7 +3259,7 @@ public CompletableFuture updateFilter(UpdateFilterRequest * a function that initializes a builder to create the * {@link UpdateFilterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-filter">Documentation * on elastic.co */ @@ -3276,7 +3276,7 @@ public final CompletableFuture updateFilter( * Updates certain properties of an anomaly detection job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-job">Documentation * on elastic.co */ @@ -3296,7 +3296,7 @@ public CompletableFuture updateJob(UpdateJobRequest request) * a function that initializes a builder to create the * {@link UpdateJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-job">Documentation * on elastic.co */ @@ -3313,7 +3313,7 @@ public final CompletableFuture updateJob( * Updates certain properties of a snapshot. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-model-snapshot">Documentation * on elastic.co */ @@ -3333,7 +3333,7 @@ public CompletableFuture updateModelSnapshot(Update * a function that initializes a builder to create the * {@link UpdateModelSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-model-snapshot">Documentation * on elastic.co */ @@ -3348,7 +3348,7 @@ public final CompletableFuture updateModelSnapshot( * Update a trained model deployment. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-trained-model-deployment">Documentation * on elastic.co */ @@ -3367,7 +3367,7 @@ public CompletableFuture updateTrainedMode * a function that initializes a builder to create the * {@link UpdateTrainedModelDeploymentRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-trained-model-deployment">Documentation * on elastic.co */ @@ -3391,7 +3391,7 @@ public final CompletableFuture updateTrain * detection job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-upgrade-job-snapshot">Documentation * on elastic.co */ @@ -3418,7 +3418,7 @@ public CompletableFuture upgradeJobSnapshot(UpgradeJ * a function that initializes a builder to create the * {@link UpgradeJobSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-upgrade-job-snapshot">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java index 88de69311e..b1f91473c2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java @@ -79,7 +79,7 @@ public ElasticsearchMlClient withTransportOptions(@Nullable TransportOptions tra * deployment. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-clear-trained-model-deployment-cache">Documentation * on elastic.co */ @@ -104,7 +104,7 @@ public ClearTrainedModelDeploymentCacheResponse clearTrainedModelDeploymentCache * a function that initializes a builder to create the * {@link ClearTrainedModelDeploymentCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-clear-trained-model-deployment-cache">Documentation * on elastic.co */ @@ -136,7 +136,7 @@ public final ClearTrainedModelDeploymentCacheResponse clearTrainedModelDeploymen * automatically closes its associated job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-close-job">Documentation * on elastic.co */ @@ -169,7 +169,7 @@ public CloseJobResponse closeJob(CloseJobRequest request) throws IOException, El * a function that initializes a builder to create the * {@link CloseJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-close-job">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public final CloseJobResponse closeJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar">Documentation * on elastic.co */ @@ -207,7 +207,7 @@ public DeleteCalendarResponse deleteCalendar(DeleteCalendarRequest request) * a function that initializes a builder to create the * {@link DeleteCalendarRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar">Documentation * on elastic.co */ @@ -223,7 +223,7 @@ public final DeleteCalendarResponse deleteCalendar( * Delete events from a calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-event">Documentation * on elastic.co */ @@ -242,7 +242,7 @@ public DeleteCalendarEventResponse deleteCalendarEvent(DeleteCalendarEventReques * a function that initializes a builder to create the * {@link DeleteCalendarEventRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-event">Documentation * on elastic.co */ @@ -258,7 +258,7 @@ public final DeleteCalendarEventResponse deleteCalendarEvent( * Delete anomaly jobs from a calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-job">Documentation * on elastic.co */ @@ -277,7 +277,7 @@ public DeleteCalendarJobResponse deleteCalendarJob(DeleteCalendarJobRequest requ * a function that initializes a builder to create the * {@link DeleteCalendarJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-calendar-job">Documentation * on elastic.co */ @@ -293,7 +293,7 @@ public final DeleteCalendarJobResponse deleteCalendarJob( * Delete a data frame analytics job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-data-frame-analytics">Documentation * on elastic.co */ @@ -312,7 +312,7 @@ public DeleteDataFrameAnalyticsResponse deleteDataFrameAnalytics(DeleteDataFrame * a function that initializes a builder to create the * {@link DeleteDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-data-frame-analytics">Documentation * on elastic.co */ @@ -328,7 +328,7 @@ public final DeleteDataFrameAnalyticsResponse deleteDataFrameAnalytics( * Delete a datafeed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-datafeed">Documentation * on elastic.co */ @@ -347,7 +347,7 @@ public DeleteDatafeedResponse deleteDatafeed(DeleteDatafeedRequest request) * a function that initializes a builder to create the * {@link DeleteDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-datafeed">Documentation * on elastic.co */ @@ -372,7 +372,7 @@ public final DeleteDatafeedResponse deleteDatafeed( * <job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-expired-data">Documentation * on elastic.co */ @@ -400,7 +400,7 @@ public DeleteExpiredDataResponse deleteExpiredData(DeleteExpiredDataRequest requ * a function that initializes a builder to create the * {@link DeleteExpiredDataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-expired-data">Documentation * on elastic.co */ @@ -423,7 +423,7 @@ public final DeleteExpiredDataResponse deleteExpiredData( * <job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-expired-data">Documentation * on elastic.co */ @@ -441,7 +441,7 @@ public DeleteExpiredDataResponse deleteExpiredData() throws IOException, Elastic * filter. You must update or delete the job before you can delete the filter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-filter">Documentation * on elastic.co */ @@ -462,7 +462,7 @@ public DeleteFilterResponse deleteFilter(DeleteFilterRequest request) throws IOE * a function that initializes a builder to create the * {@link DeleteFilterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-filter">Documentation * on elastic.co */ @@ -483,7 +483,7 @@ public final DeleteFilterResponse deleteFilter( * before they expire. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-forecast">Documentation * on elastic.co */ @@ -507,7 +507,7 @@ public DeleteForecastResponse deleteForecast(DeleteForecastRequest request) * a function that initializes a builder to create the * {@link DeleteForecastRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-forecast">Documentation * on elastic.co */ @@ -530,7 +530,7 @@ public final DeleteForecastResponse deleteForecast( * job request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-job">Documentation * on elastic.co */ @@ -555,7 +555,7 @@ public DeleteJobResponse deleteJob(DeleteJobRequest request) throws IOException, * a function that initializes a builder to create the * {@link DeleteJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-job">Documentation * on elastic.co */ @@ -574,7 +574,7 @@ public final DeleteJobResponse deleteJob(Functionmodel_snapshot_id in the results from the get jobs API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-model-snapshot">Documentation * on elastic.co */ @@ -597,7 +597,7 @@ public DeleteModelSnapshotResponse deleteModelSnapshot(DeleteModelSnapshotReques * a function that initializes a builder to create the * {@link DeleteModelSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-model-snapshot">Documentation * on elastic.co */ @@ -616,7 +616,7 @@ public final DeleteModelSnapshotResponse deleteModelSnapshot( * ingest pipeline. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model">Documentation * on elastic.co */ @@ -638,7 +638,7 @@ public DeleteTrainedModelResponse deleteTrainedModel(DeleteTrainedModelRequest r * a function that initializes a builder to create the * {@link DeleteTrainedModelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model">Documentation * on elastic.co */ @@ -658,7 +658,7 @@ public final DeleteTrainedModelResponse deleteTrainedModel( * by the model_id, this API returns an error. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model-alias">Documentation * on elastic.co */ @@ -681,7 +681,7 @@ public DeleteTrainedModelAliasResponse deleteTrainedModelAlias(DeleteTrainedMode * a function that initializes a builder to create the * {@link DeleteTrainedModelAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-delete-trained-model-alias">Documentation * on elastic.co */ @@ -701,7 +701,7 @@ public final DeleteTrainedModelAliasResponse deleteTrainedModelAlias( * cardinality estimates for the fields it references. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-estimate-model-memory">Documentation * on elastic.co */ @@ -724,7 +724,7 @@ public EstimateModelMemoryResponse estimateModelMemory(EstimateModelMemoryReques * a function that initializes a builder to create the * {@link EstimateModelMemoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-estimate-model-memory">Documentation * on elastic.co */ @@ -742,7 +742,7 @@ public final EstimateModelMemoryResponse estimateModelMemory( * cardinality estimates for the fields it references. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-estimate-model-memory">Documentation * on elastic.co */ @@ -762,7 +762,7 @@ public EstimateModelMemoryResponse estimateModelMemory() throws IOException, Ela * field and an analytics result field to be present. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-evaluate-data-frame">Documentation * on elastic.co */ @@ -786,7 +786,7 @@ public EvaluateDataFrameResponse evaluateDataFrame(EvaluateDataFrameRequest requ * a function that initializes a builder to create the * {@link EvaluateDataFrameRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-evaluate-data-frame">Documentation * on elastic.co */ @@ -813,7 +813,7 @@ public final EvaluateDataFrameResponse evaluateDataFrame( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-explain-data-frame-analytics">Documentation * on elastic.co */ @@ -843,7 +843,7 @@ public ExplainDataFrameAnalyticsResponse explainDataFrameAnalytics(ExplainDataFr * a function that initializes a builder to create the * {@link ExplainDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-explain-data-frame-analytics">Documentation * on elastic.co */ @@ -868,7 +868,7 @@ public final ExplainDataFrameAnalyticsResponse explainDataFrameAnalytics( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-explain-data-frame-analytics">Documentation * on elastic.co */ @@ -892,7 +892,7 @@ public ExplainDataFrameAnalyticsResponse explainDataFrameAnalytics() throws IOEx * analyzing further data. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-flush-job">Documentation * on elastic.co */ @@ -919,7 +919,7 @@ public FlushJobResponse flushJob(FlushJobRequest request) throws IOException, El * a function that initializes a builder to create the * {@link FlushJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-flush-job">Documentation * on elastic.co */ @@ -939,7 +939,7 @@ public final FlushJobResponse flushJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-forecast">Documentation * on elastic.co */ @@ -962,7 +962,7 @@ public ForecastResponse forecast(ForecastRequest request) throws IOException, El * a function that initializes a builder to create the * {@link ForecastRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-forecast">Documentation * on elastic.co */ @@ -979,7 +979,7 @@ public final ForecastResponse forecast(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-buckets">Documentation * on elastic.co */ @@ -999,7 +999,7 @@ public GetBucketsResponse getBuckets(GetBucketsRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link GetBucketsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-buckets">Documentation * on elastic.co */ @@ -1014,7 +1014,7 @@ public final GetBucketsResponse getBuckets(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendar-events">Documentation * on elastic.co */ @@ -1033,7 +1033,7 @@ public GetCalendarEventsResponse getCalendarEvents(GetCalendarEventsRequest requ * a function that initializes a builder to create the * {@link GetCalendarEventsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendar-events">Documentation * on elastic.co */ @@ -1049,7 +1049,7 @@ public final GetCalendarEventsResponse getCalendarEvents( * Get calendar configuration info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendars">Documentation * on elastic.co */ @@ -1067,7 +1067,7 @@ public GetCalendarsResponse getCalendars(GetCalendarsRequest request) throws IOE * a function that initializes a builder to create the * {@link GetCalendarsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendars">Documentation * on elastic.co */ @@ -1081,7 +1081,7 @@ public final GetCalendarsResponse getCalendars( * Get calendar configuration info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-calendars">Documentation * on elastic.co */ @@ -1096,7 +1096,7 @@ public GetCalendarsResponse getCalendars() throws IOException, ElasticsearchExce * Get anomaly detection job results for categories. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-categories">Documentation * on elastic.co */ @@ -1115,7 +1115,7 @@ public GetCategoriesResponse getCategories(GetCategoriesRequest request) * a function that initializes a builder to create the * {@link GetCategoriesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-categories">Documentation * on elastic.co */ @@ -1135,7 +1135,7 @@ public final GetCategoriesResponse getCategories( * wildcard expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics">Documentation * on elastic.co */ @@ -1158,7 +1158,7 @@ public GetDataFrameAnalyticsResponse getDataFrameAnalytics(GetDataFrameAnalytics * a function that initializes a builder to create the * {@link GetDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics">Documentation * on elastic.co */ @@ -1176,7 +1176,7 @@ public final GetDataFrameAnalyticsResponse getDataFrameAnalytics( * wildcard expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics">Documentation * on elastic.co */ @@ -1191,7 +1191,7 @@ public GetDataFrameAnalyticsResponse getDataFrameAnalytics() throws IOException, * Get data frame analytics job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics-stats">Documentation * on elastic.co */ @@ -1210,7 +1210,7 @@ public GetDataFrameAnalyticsStatsResponse getDataFrameAnalyticsStats(GetDataFram * a function that initializes a builder to create the * {@link GetDataFrameAnalyticsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics-stats">Documentation * on elastic.co */ @@ -1224,7 +1224,7 @@ public final GetDataFrameAnalyticsStatsResponse getDataFrameAnalyticsStats( * Get data frame analytics job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-data-frame-analytics-stats">Documentation * on elastic.co */ @@ -1247,7 +1247,7 @@ public GetDataFrameAnalyticsStatsResponse getDataFrameAnalyticsStats() throws IO * state. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeed-stats">Documentation * on elastic.co */ @@ -1274,7 +1274,7 @@ public GetDatafeedStatsResponse getDatafeedStats(GetDatafeedStatsRequest request * a function that initializes a builder to create the * {@link GetDatafeedStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeed-stats">Documentation * on elastic.co */ @@ -1296,7 +1296,7 @@ public final GetDatafeedStatsResponse getDatafeedStats( * state. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeed-stats">Documentation * on elastic.co */ @@ -1317,7 +1317,7 @@ public GetDatafeedStatsResponse getDatafeedStats() throws IOException, Elasticse * <feed_id>. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeeds">Documentation * on elastic.co */ @@ -1341,7 +1341,7 @@ public GetDatafeedsResponse getDatafeeds(GetDatafeedsRequest request) throws IOE * a function that initializes a builder to create the * {@link GetDatafeedsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeeds">Documentation * on elastic.co */ @@ -1361,7 +1361,7 @@ public final GetDatafeedsResponse getDatafeeds( * <feed_id>. This API returns a maximum of 10,000 datafeeds. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-datafeeds">Documentation * on elastic.co */ @@ -1378,7 +1378,7 @@ public GetDatafeedsResponse getDatafeeds() throws IOException, ElasticsearchExce * You can get a single filter or all filters. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-filters">Documentation * on elastic.co */ @@ -1398,7 +1398,7 @@ public GetFiltersResponse getFilters(GetFiltersRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link GetFiltersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-filters">Documentation * on elastic.co */ @@ -1413,7 +1413,7 @@ public final GetFiltersResponse getFilters(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-filters">Documentation * on elastic.co */ @@ -1432,7 +1432,7 @@ public GetFiltersResponse getFilters() throws IOException, ElasticsearchExceptio * influencer_field_name is specified in the job configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-influencers">Documentation * on elastic.co */ @@ -1455,7 +1455,7 @@ public GetInfluencersResponse getInfluencers(GetInfluencersRequest request) * a function that initializes a builder to create the * {@link GetInfluencersRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-influencers">Documentation * on elastic.co */ @@ -1471,7 +1471,7 @@ public final GetInfluencersResponse getInfluencers( * Get anomaly detection job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-job-stats">Documentation * on elastic.co */ @@ -1489,7 +1489,7 @@ public GetJobStatsResponse getJobStats(GetJobStatsRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetJobStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-job-stats">Documentation * on elastic.co */ @@ -1503,7 +1503,7 @@ public final GetJobStatsResponse getJobStats( * Get anomaly detection job stats. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-job-stats">Documentation * on elastic.co */ @@ -1524,7 +1524,7 @@ public GetJobStatsResponse getJobStats() throws IOException, ElasticsearchExcept * <job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-jobs">Documentation * on elastic.co */ @@ -1548,7 +1548,7 @@ public GetJobsResponse getJobs(GetJobsRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link GetJobsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-jobs">Documentation * on elastic.co */ @@ -1567,7 +1567,7 @@ public final GetJobsResponse getJobs(Function<job_id>, or by omitting the <job_id>. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-jobs">Documentation * on elastic.co */ @@ -1586,7 +1586,7 @@ public GetJobsResponse getJobs() throws IOException, ElasticsearchException { * JVM. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-memory-stats">Documentation * on elastic.co */ @@ -1609,7 +1609,7 @@ public GetMemoryStatsResponse getMemoryStats(GetMemoryStatsRequest request) * a function that initializes a builder to create the * {@link GetMemoryStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-memory-stats">Documentation * on elastic.co */ @@ -1627,7 +1627,7 @@ public final GetMemoryStatsResponse getMemoryStats( * JVM. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-memory-stats">Documentation * on elastic.co */ @@ -1642,7 +1642,7 @@ public GetMemoryStatsResponse getMemoryStats() throws IOException, Elasticsearch * Get anomaly detection job model snapshot upgrade usage info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshot-upgrade-stats">Documentation * on elastic.co */ @@ -1661,7 +1661,7 @@ public GetModelSnapshotUpgradeStatsResponse getModelSnapshotUpgradeStats( * a function that initializes a builder to create the * {@link GetModelSnapshotUpgradeStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshot-upgrade-stats">Documentation * on elastic.co */ @@ -1677,7 +1677,7 @@ public final GetModelSnapshotUpgradeStatsResponse getModelSnapshotUpgradeStats( * Get model snapshots info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshots">Documentation * on elastic.co */ @@ -1696,7 +1696,7 @@ public GetModelSnapshotsResponse getModelSnapshots(GetModelSnapshotsRequest requ * a function that initializes a builder to create the * {@link GetModelSnapshotsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-model-snapshots">Documentation * on elastic.co */ @@ -1730,7 +1730,7 @@ public final GetModelSnapshotsResponse getModelSnapshots( * the overall buckets that have a span equal to the jobs' largest bucket span. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-overall-buckets">Documentation * on elastic.co */ @@ -1767,7 +1767,7 @@ public GetOverallBucketsResponse getOverallBuckets(GetOverallBucketsRequest requ * a function that initializes a builder to create the * {@link GetOverallBucketsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-overall-buckets">Documentation * on elastic.co */ @@ -1793,7 +1793,7 @@ public final GetOverallBucketsResponse getOverallBuckets( * modeled and the number of detectors. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-records">Documentation * on elastic.co */ @@ -1821,7 +1821,7 @@ public GetRecordsResponse getRecords(GetRecordsRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link GetRecordsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-records">Documentation * on elastic.co */ @@ -1836,7 +1836,7 @@ public final GetRecordsResponse getRecords(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models">Documentation * on elastic.co */ @@ -1855,7 +1855,7 @@ public GetTrainedModelsResponse getTrainedModels(GetTrainedModelsRequest request * a function that initializes a builder to create the * {@link GetTrainedModelsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models">Documentation * on elastic.co */ @@ -1869,7 +1869,7 @@ public final GetTrainedModelsResponse getTrainedModels( * Get trained model configuration info. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models">Documentation * on elastic.co */ @@ -1888,7 +1888,7 @@ public GetTrainedModelsResponse getTrainedModels() throws IOException, Elasticse * expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models-stats">Documentation * on elastic.co */ @@ -1911,7 +1911,7 @@ public GetTrainedModelsStatsResponse getTrainedModelsStats(GetTrainedModelsStats * a function that initializes a builder to create the * {@link GetTrainedModelsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models-stats">Documentation * on elastic.co */ @@ -1929,7 +1929,7 @@ public final GetTrainedModelsStatsResponse getTrainedModelsStats( * expression. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-get-trained-models-stats">Documentation * on elastic.co */ @@ -1944,7 +1944,7 @@ public GetTrainedModelsStatsResponse getTrainedModelsStats() throws IOException, * Evaluate a trained model. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-infer-trained-model">Documentation * on elastic.co */ @@ -1963,7 +1963,7 @@ public InferTrainedModelResponse inferTrainedModel(InferTrainedModelRequest requ * a function that initializes a builder to create the * {@link InferTrainedModelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-infer-trained-model">Documentation * on elastic.co */ @@ -1986,7 +1986,7 @@ public final InferTrainedModelResponse inferTrainedModel( * learning jobs that could run in the current cluster configuration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-info">Documentation * on elastic.co */ public MlInfoResponse info() throws IOException, ElasticsearchException { @@ -2006,7 +2006,7 @@ public MlInfoResponse info() throws IOException, ElasticsearchException { * received. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-open-job">Documentation * on elastic.co */ @@ -2031,7 +2031,7 @@ public OpenJobResponse openJob(OpenJobRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link OpenJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-open-job">Documentation * on elastic.co */ @@ -2046,7 +2046,7 @@ public final OpenJobResponse openJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-calendar-events">Documentation * on elastic.co */ @@ -2065,7 +2065,7 @@ public PostCalendarEventsResponse postCalendarEvents(PostCalendarEventsRequest r * a function that initializes a builder to create the * {@link PostCalendarEventsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-calendar-events">Documentation * on elastic.co */ @@ -2085,7 +2085,7 @@ public final PostCalendarEventsResponse postCalendarEvents( * wildcards or a comma-separated list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-data">Documentation * on elastic.co */ @@ -2108,7 +2108,7 @@ public PostDataResponse postData(PostDataRequest request) * a function that initializes a builder to create the * {@link PostDataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-post-data">Documentation * on elastic.co */ @@ -2126,7 +2126,7 @@ public final PostDataResponse postData( * Preview the extracted features used by a data frame analytics config. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-data-frame-analytics">Documentation * on elastic.co */ @@ -2147,7 +2147,7 @@ public PreviewDataFrameAnalyticsResponse previewDataFrameAnalytics(PreviewDataFr * a function that initializes a builder to create the * {@link PreviewDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-data-frame-analytics">Documentation * on elastic.co */ @@ -2163,7 +2163,7 @@ public final PreviewDataFrameAnalyticsResponse previewDataFrameAnalytics( * Preview the extracted features used by a data frame analytics config. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-data-frame-analytics">Documentation * on elastic.co */ @@ -2189,7 +2189,7 @@ public PreviewDataFrameAnalyticsResponse previewDataFrameAnalytics() throws IOEx * authorization headers to supply the credentials. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2222,7 +2222,7 @@ public PreviewDatafeedResponse previewDatafeed(PreviewDat * a function that initializes a builder to create the * {@link PreviewDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2270,7 +2270,7 @@ public final PreviewDatafeedResponse previewDatafeed( * authorization headers to supply the credentials. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2303,7 +2303,7 @@ public PreviewDatafeedResponse previewDatafeed(PreviewDat * a function that initializes a builder to create the * {@link PreviewDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-preview-datafeed">Documentation * on elastic.co */ @@ -2319,7 +2319,7 @@ public final PreviewDatafeedResponse previewDatafeed( * Create a calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar">Documentation * on elastic.co */ @@ -2337,7 +2337,7 @@ public PutCalendarResponse putCalendar(PutCalendarRequest request) throws IOExce * a function that initializes a builder to create the * {@link PutCalendarRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar">Documentation * on elastic.co */ @@ -2353,7 +2353,7 @@ public final PutCalendarResponse putCalendar( * Add anomaly detection job to calendar. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar-job">Documentation * on elastic.co */ @@ -2372,7 +2372,7 @@ public PutCalendarJobResponse putCalendarJob(PutCalendarJobRequest request) * a function that initializes a builder to create the * {@link PutCalendarJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-calendar-job">Documentation * on elastic.co */ @@ -2400,7 +2400,7 @@ public final PutCalendarJobResponse putCalendarJob( * undefined parameters. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-data-frame-analytics">Documentation * on elastic.co */ @@ -2431,7 +2431,7 @@ public PutDataFrameAnalyticsResponse putDataFrameAnalytics(PutDataFrameAnalytics * a function that initializes a builder to create the * {@link PutDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-data-frame-analytics">Documentation * on elastic.co */ @@ -2463,7 +2463,7 @@ public final PutDataFrameAnalyticsResponse putDataFrameAnalytics( * write privileges on the .ml-config index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-datafeed">Documentation * on elastic.co */ @@ -2497,7 +2497,7 @@ public PutDatafeedResponse putDatafeed(PutDatafeedRequest request) throws IOExce * a function that initializes a builder to create the * {@link PutDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-datafeed">Documentation * on elastic.co */ @@ -2517,7 +2517,7 @@ public final PutDatafeedResponse putDatafeed( * custom_rules property of detector configuration objects. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-filter">Documentation * on elastic.co */ @@ -2539,7 +2539,7 @@ public PutFilterResponse putFilter(PutFilterRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutFilterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-filter">Documentation * on elastic.co */ @@ -2559,7 +2559,7 @@ public final PutFilterResponse putFilter(Function{"match_all": {"boost": 1}}. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-job">Documentation * on elastic.co */ @@ -2582,7 +2582,7 @@ public PutJobResponse putJob(PutJobRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link PutJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-job">Documentation * on elastic.co */ @@ -2600,7 +2600,7 @@ public final PutJobResponse putJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model">Documentation * on elastic.co */ @@ -2622,7 +2622,7 @@ public PutTrainedModelResponse putTrainedModel(PutTrainedModelRequest request) * a function that initializes a builder to create the * {@link PutTrainedModelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model">Documentation * on elastic.co */ @@ -2652,7 +2652,7 @@ public final PutTrainedModelResponse putTrainedModel( * for the model alias, the API returns a warning. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-alias">Documentation * on elastic.co */ @@ -2685,7 +2685,7 @@ public PutTrainedModelAliasResponse putTrainedModelAlias(PutTrainedModelAliasReq * a function that initializes a builder to create the * {@link PutTrainedModelAliasRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-alias">Documentation * on elastic.co */ @@ -2701,7 +2701,7 @@ public final PutTrainedModelAliasResponse putTrainedModelAlias( * Create part of a trained model definition. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-definition-part">Documentation * on elastic.co */ @@ -2720,7 +2720,7 @@ public PutTrainedModelDefinitionPartResponse putTrainedModelDefinitionPart( * a function that initializes a builder to create the * {@link PutTrainedModelDefinitionPartRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-definition-part">Documentation * on elastic.co */ @@ -2740,7 +2740,7 @@ public final PutTrainedModelDefinitionPartResponse putTrainedModelDefinitionPart * inference_config.*.vocabulary of the trained model definition. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-vocabulary">Documentation * on elastic.co */ @@ -2763,7 +2763,7 @@ public PutTrainedModelVocabularyResponse putTrainedModelVocabulary(PutTrainedMod * a function that initializes a builder to create the * {@link PutTrainedModelVocabularyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-put-trained-model-vocabulary">Documentation * on elastic.co */ @@ -2783,7 +2783,7 @@ public final PutTrainedModelVocabularyResponse putTrainedModelVocabulary( * using wildcards or a comma separated list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-reset-job">Documentation * on elastic.co */ @@ -2805,7 +2805,7 @@ public ResetJobResponse resetJob(ResetJobRequest request) throws IOException, El * a function that initializes a builder to create the * {@link ResetJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-reset-job">Documentation * on elastic.co */ @@ -2828,7 +2828,7 @@ public final ResetJobResponse resetJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-revert-model-snapshot">Documentation * on elastic.co */ @@ -2855,7 +2855,7 @@ public RevertModelSnapshotResponse revertModelSnapshot(RevertModelSnapshotReques * a function that initializes a builder to create the * {@link RevertModelSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-revert-model-snapshot">Documentation * on elastic.co */ @@ -2883,7 +2883,7 @@ public final RevertModelSnapshotResponse revertModelSnapshot( * get machine learning info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-set-upgrade-mode">Documentation * on elastic.co */ @@ -2914,7 +2914,7 @@ public SetUpgradeModeResponse setUpgradeMode(SetUpgradeModeRequest request) * a function that initializes a builder to create the * {@link SetUpgradeModeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-set-upgrade-mode">Documentation * on elastic.co */ @@ -2940,7 +2940,7 @@ public final SetUpgradeModeResponse setUpgradeMode( * get machine learning info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-set-upgrade-mode">Documentation * on elastic.co */ @@ -2967,7 +2967,7 @@ public SetUpgradeModeResponse setUpgradeMode() throws IOException, Elasticsearch * with custom settings and mappings. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-data-frame-analytics">Documentation * on elastic.co */ @@ -2998,7 +2998,7 @@ public StartDataFrameAnalyticsResponse startDataFrameAnalytics(StartDataFrameAna * a function that initializes a builder to create the * {@link StartDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-data-frame-analytics">Documentation * on elastic.co */ @@ -3030,7 +3030,7 @@ public final StartDataFrameAnalyticsResponse startDataFrameAnalytics( * those credentials are used instead. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-datafeed">Documentation * on elastic.co */ @@ -3065,7 +3065,7 @@ public StartDatafeedResponse startDatafeed(StartDatafeedRequest request) * a function that initializes a builder to create the * {@link StartDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-datafeed">Documentation * on elastic.co */ @@ -3083,7 +3083,7 @@ public final StartDatafeedResponse startDatafeed( * It allocates the model to every machine learning node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-trained-model-deployment">Documentation * on elastic.co */ @@ -3104,7 +3104,7 @@ public StartTrainedModelDeploymentResponse startTrainedModelDeployment(StartTrai * a function that initializes a builder to create the * {@link StartTrainedModelDeploymentRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-start-trained-model-deployment">Documentation * on elastic.co */ @@ -3123,7 +3123,7 @@ public final StartTrainedModelDeploymentResponse startTrainedModelDeployment( * throughout its lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-data-frame-analytics">Documentation * on elastic.co */ @@ -3145,7 +3145,7 @@ public StopDataFrameAnalyticsResponse stopDataFrameAnalytics(StopDataFrameAnalyt * a function that initializes a builder to create the * {@link StopDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-data-frame-analytics">Documentation * on elastic.co */ @@ -3164,7 +3164,7 @@ public final StopDataFrameAnalyticsResponse stopDataFrameAnalytics( * datafeed can be started and stopped multiple times throughout its lifecycle. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-datafeed">Documentation * on elastic.co */ @@ -3185,7 +3185,7 @@ public StopDatafeedResponse stopDatafeed(StopDatafeedRequest request) throws IOE * a function that initializes a builder to create the * {@link StopDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-datafeed">Documentation * on elastic.co */ @@ -3201,7 +3201,7 @@ public final StopDatafeedResponse stopDatafeed( * Stop a trained model deployment. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-trained-model-deployment">Documentation * on elastic.co */ @@ -3220,7 +3220,7 @@ public StopTrainedModelDeploymentResponse stopTrainedModelDeployment(StopTrained * a function that initializes a builder to create the * {@link StopTrainedModelDeploymentRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-stop-trained-model-deployment">Documentation * on elastic.co */ @@ -3236,7 +3236,7 @@ public final StopTrainedModelDeploymentResponse stopTrainedModelDeployment( * Update a data frame analytics job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-data-frame-analytics">Documentation * on elastic.co */ @@ -3255,7 +3255,7 @@ public UpdateDataFrameAnalyticsResponse updateDataFrameAnalytics(UpdateDataFrame * a function that initializes a builder to create the * {@link UpdateDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-data-frame-analytics">Documentation * on elastic.co */ @@ -3277,7 +3277,7 @@ public final UpdateDataFrameAnalyticsResponse updateDataFrameAnalytics( * those credentials are used instead. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-datafeed">Documentation * on elastic.co */ @@ -3302,7 +3302,7 @@ public UpdateDatafeedResponse updateDatafeed(UpdateDatafeedRequest request) * a function that initializes a builder to create the * {@link UpdateDatafeedRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-datafeed">Documentation * on elastic.co */ @@ -3321,7 +3321,7 @@ public final UpdateDatafeedResponse updateDatafeed( * list. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-filter">Documentation * on elastic.co */ @@ -3342,7 +3342,7 @@ public UpdateFilterResponse updateFilter(UpdateFilterRequest request) throws IOE * a function that initializes a builder to create the * {@link UpdateFilterRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-filter">Documentation * on elastic.co */ @@ -3360,7 +3360,7 @@ public final UpdateFilterResponse updateFilter( * Updates certain properties of an anomaly detection job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-job">Documentation * on elastic.co */ @@ -3380,7 +3380,7 @@ public UpdateJobResponse updateJob(UpdateJobRequest request) throws IOException, * a function that initializes a builder to create the * {@link UpdateJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-job">Documentation * on elastic.co */ @@ -3397,7 +3397,7 @@ public final UpdateJobResponse updateJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-model-snapshot">Documentation * on elastic.co */ @@ -3418,7 +3418,7 @@ public UpdateModelSnapshotResponse updateModelSnapshot(UpdateModelSnapshotReques * a function that initializes a builder to create the * {@link UpdateModelSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-model-snapshot">Documentation * on elastic.co */ @@ -3434,7 +3434,7 @@ public final UpdateModelSnapshotResponse updateModelSnapshot( * Update a trained model deployment. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-trained-model-deployment">Documentation * on elastic.co */ @@ -3453,7 +3453,7 @@ public UpdateTrainedModelDeploymentResponse updateTrainedModelDeployment( * a function that initializes a builder to create the * {@link UpdateTrainedModelDeploymentRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-update-trained-model-deployment">Documentation * on elastic.co */ @@ -3478,7 +3478,7 @@ public final UpdateTrainedModelDeploymentResponse updateTrainedModelDeployment( * detection job. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-upgrade-job-snapshot">Documentation * on elastic.co */ @@ -3506,7 +3506,7 @@ public UpgradeJobSnapshotResponse upgradeJobSnapshot(UpgradeJobSnapshotRequest r * a function that initializes a builder to create the * {@link UpgradeJobSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-ml-upgrade-job-snapshot">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedRequest.java index 8785ac50e8..59eff3c4bf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedRequest.java @@ -184,9 +184,13 @@ public final Map aggregations() { } /** - * If true, wildcard indices expressions that resolve into no concrete indices - * are ignored. This includes the _all string or when no indices - * are specified. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -285,7 +289,10 @@ public final Boolean ignoreThrottled() { } /** - * If true, unavailable indices (missing or closed) are ignored. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -662,9 +669,13 @@ public final Builder aggregations(String key, Function_all string or when no indices - * are specified. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -838,7 +849,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If true, unavailable indices (missing or closed) are ignored. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobRequest.java index b4fbe5ff50..cbd035c309 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobRequest.java @@ -181,9 +181,13 @@ public final Boolean allowLazyOpen() { } /** - * If true, wildcard indices expressions that resolve into no - * concrete indices are ignored. This includes the _all string or - * when no indices are specified. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -327,7 +331,10 @@ public final Boolean ignoreThrottled() { } /** - * If true, unavailable indices (missing or closed) are ignored. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -617,9 +624,13 @@ public final Builder allowLazyOpen(@Nullable Boolean value) { } /** - * If true, wildcard indices expressions that resolve into no - * concrete indices are ignored. This includes the _all string or - * when no indices are specified. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -860,7 +871,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If true, unavailable indices (missing or closed) are ignored. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedRequest.java index d38a64bdc4..1b54b67757 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedRequest.java @@ -171,9 +171,13 @@ public final Map aggregations() { } /** - * If true, wildcard indices expressions that resolve into no - * concrete indices are ignored. This includes the _all string or - * when no indices are specified. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -265,7 +269,10 @@ public final Boolean ignoreThrottled() { } /** - * If true, unavailable indices (missing or closed) are ignored. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -623,9 +630,13 @@ public final Builder aggregations(String key, Functiontrue, wildcard indices expressions that resolve into no - * concrete indices are ignored. This includes the _all string or - * when no indices are specified. + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -778,7 +789,10 @@ public final Builder ignoreThrottled(@Nullable Boolean value) { } /** - * If true, unavailable indices (missing or closed) are ignored. + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java index 9c8618589e..a0b54e0243 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java @@ -74,7 +74,7 @@ public ElasticsearchNodesAsyncClient withTransportOptions(@Nullable TransportOpt * Clear the archived repositories metering information in the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-clear-repositories-metering-archive">Documentation * on elastic.co */ @@ -95,7 +95,7 @@ public CompletableFuture clearReposito * a function that initializes a builder to create the * {@link ClearRepositoriesMeteringArchiveRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-clear-repositories-metering-archive">Documentation * on elastic.co */ @@ -117,7 +117,7 @@ public final CompletableFuture clearRe * that it will not be present after node restarts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-get-repositories-metering-info">Documentation * on elastic.co */ @@ -142,7 +142,7 @@ public CompletableFuture getRepositoriesMet * a function that initializes a builder to create the * {@link GetRepositoriesMeteringInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-get-repositories-metering-info">Documentation * on elastic.co */ @@ -160,7 +160,7 @@ public final CompletableFuture getRepositor * output is plain text with a breakdown of the top hot threads for each node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-hot-threads">Documentation * on elastic.co */ @@ -181,7 +181,7 @@ public CompletableFuture hotThreads(HotThreadsRequest request) { * a function that initializes a builder to create the * {@link HotThreadsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-hot-threads">Documentation * on elastic.co */ @@ -197,7 +197,7 @@ public final CompletableFuture hotThreads( * output is plain text with a breakdown of the top hot threads for each node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-hot-threads">Documentation * on elastic.co */ @@ -215,7 +215,7 @@ public CompletableFuture hotThreads() { * nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-info">Documentation * on elastic.co */ @@ -236,7 +236,7 @@ public CompletableFuture info(NodesInfoRequest request) { * a function that initializes a builder to create the * {@link NodesInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-info">Documentation * on elastic.co */ @@ -252,7 +252,7 @@ public final CompletableFuture info( * nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-info">Documentation * on elastic.co */ @@ -282,7 +282,7 @@ public CompletableFuture info() { * password. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-reload-secure-settings">Documentation * on elastic.co */ @@ -315,7 +315,7 @@ public CompletableFuture reloadSecureSettings(Relo * a function that initializes a builder to create the * {@link ReloadSecureSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-reload-secure-settings">Documentation * on elastic.co */ @@ -343,7 +343,7 @@ public final CompletableFuture reloadSecureSetting * password. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-reload-secure-settings">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public CompletableFuture reloadSecureSettings() { * You can limit the returned information by using metrics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-stats">Documentation * on elastic.co */ @@ -382,7 +382,7 @@ public CompletableFuture stats(NodesStatsRequest request) { * a function that initializes a builder to create the * {@link NodesStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-stats">Documentation * on elastic.co */ @@ -398,7 +398,7 @@ public final CompletableFuture stats( * You can limit the returned information by using metrics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-stats">Documentation * on elastic.co */ @@ -413,7 +413,7 @@ public CompletableFuture stats() { * Get feature usage information. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-usage">Documentation * on elastic.co */ @@ -431,7 +431,7 @@ public CompletableFuture usage(NodesUsageRequest request) { * a function that initializes a builder to create the * {@link NodesUsageRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-usage">Documentation * on elastic.co */ @@ -444,7 +444,7 @@ public final CompletableFuture usage( * Get feature usage information. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-usage">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java index b7a48989ee..1771ae1571 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java @@ -74,7 +74,7 @@ public ElasticsearchNodesClient withTransportOptions(@Nullable TransportOptions * Clear the archived repositories metering information in the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-clear-repositories-metering-archive">Documentation * on elastic.co */ @@ -95,7 +95,7 @@ public ClearRepositoriesMeteringArchiveResponse clearRepositoriesMeteringArchive * a function that initializes a builder to create the * {@link ClearRepositoriesMeteringArchiveRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-clear-repositories-metering-archive">Documentation * on elastic.co */ @@ -118,7 +118,7 @@ public final ClearRepositoriesMeteringArchiveResponse clearRepositoriesMeteringA * that it will not be present after node restarts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-get-repositories-metering-info">Documentation * on elastic.co */ @@ -143,7 +143,7 @@ public GetRepositoriesMeteringInfoResponse getRepositoriesMeteringInfo(GetReposi * a function that initializes a builder to create the * {@link GetRepositoriesMeteringInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-get-repositories-metering-info">Documentation * on elastic.co */ @@ -162,7 +162,7 @@ public final GetRepositoriesMeteringInfoResponse getRepositoriesMeteringInfo( * output is plain text with a breakdown of the top hot threads for each node. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-hot-threads">Documentation * on elastic.co */ @@ -183,7 +183,7 @@ public TextResponse hotThreads(HotThreadsRequest request) throws IOException, El * a function that initializes a builder to create the * {@link HotThreadsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-hot-threads">Documentation * on elastic.co */ @@ -199,7 +199,7 @@ public final TextResponse hotThreads(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-hot-threads">Documentation * on elastic.co */ @@ -217,7 +217,7 @@ public TextResponse hotThreads() throws IOException, ElasticsearchException { * nodes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-info">Documentation * on elastic.co */ @@ -238,7 +238,7 @@ public NodesInfoResponse info(NodesInfoRequest request) throws IOException, Elas * a function that initializes a builder to create the * {@link NodesInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-info">Documentation * on elastic.co */ @@ -254,7 +254,7 @@ public final NodesInfoResponse info(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-info">Documentation * on elastic.co */ @@ -284,7 +284,7 @@ public NodesInfoResponse info() throws IOException, ElasticsearchException { * password. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-reload-secure-settings">Documentation * on elastic.co */ @@ -318,7 +318,7 @@ public ReloadSecureSettingsResponse reloadSecureSettings(ReloadSecureSettingsReq * a function that initializes a builder to create the * {@link ReloadSecureSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-reload-secure-settings">Documentation * on elastic.co */ @@ -347,7 +347,7 @@ public final ReloadSecureSettingsResponse reloadSecureSettings( * password. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-reload-secure-settings">Documentation * on elastic.co */ @@ -365,7 +365,7 @@ public ReloadSecureSettingsResponse reloadSecureSettings() throws IOException, E * You can limit the returned information by using metrics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-stats">Documentation * on elastic.co */ @@ -386,7 +386,7 @@ public NodesStatsResponse stats(NodesStatsRequest request) throws IOException, E * a function that initializes a builder to create the * {@link NodesStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-stats">Documentation * on elastic.co */ @@ -402,7 +402,7 @@ public final NodesStatsResponse stats(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-stats">Documentation * on elastic.co */ @@ -417,7 +417,7 @@ public NodesStatsResponse stats() throws IOException, ElasticsearchException { * Get feature usage information. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-usage">Documentation * on elastic.co */ @@ -435,7 +435,7 @@ public NodesUsageResponse usage(NodesUsageRequest request) throws IOException, E * a function that initializes a builder to create the * {@link NodesUsageRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-usage">Documentation * on elastic.co */ @@ -448,7 +448,7 @@ public final NodesUsageResponse usage(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-nodes-usage">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesAsyncClient.java index c781ee8b0e..80ce1d32df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesAsyncClient.java @@ -77,7 +77,7 @@ public ElasticsearchQueryRulesAsyncClient withTransportOptions(@Nullable Transpo * query rule API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-rule">Documentation * on elastic.co */ @@ -99,7 +99,7 @@ public CompletableFuture deleteRule(DeleteRuleRequest reques * a function that initializes a builder to create the * {@link DeleteRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-rule">Documentation * on elastic.co */ @@ -117,7 +117,7 @@ public final CompletableFuture deleteRule( * that is not recoverable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-ruleset">Documentation * on elastic.co */ @@ -138,7 +138,7 @@ public CompletableFuture deleteRuleset(DeleteRulesetReque * a function that initializes a builder to create the * {@link DeleteRulesetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-ruleset">Documentation * on elastic.co */ @@ -155,7 +155,7 @@ public final CompletableFuture deleteRuleset( * Get details about a query rule within a query ruleset. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-rule">Documentation * on elastic.co */ @@ -175,7 +175,7 @@ public CompletableFuture getRule(GetRuleRequest request) { * a function that initializes a builder to create the * {@link GetRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-rule">Documentation * on elastic.co */ @@ -192,7 +192,7 @@ public final CompletableFuture getRule( * Get details about a query ruleset. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-ruleset">Documentation * on elastic.co */ @@ -212,7 +212,7 @@ public CompletableFuture getRuleset(GetRulesetRequest reques * a function that initializes a builder to create the * {@link GetRulesetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-ruleset">Documentation * on elastic.co */ @@ -229,7 +229,7 @@ public final CompletableFuture getRuleset( * Get summarized information about the query rulesets. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-list-rulesets">Documentation * on elastic.co */ @@ -249,7 +249,7 @@ public CompletableFuture listRulesets(ListRulesetsRequest * a function that initializes a builder to create the * {@link ListRulesetsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-list-rulesets">Documentation * on elastic.co */ @@ -264,7 +264,7 @@ public final CompletableFuture listRulesets( * Get summarized information about the query rulesets. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-list-rulesets">Documentation * on elastic.co */ @@ -288,7 +288,7 @@ public CompletableFuture listRulesets() { * documents are pinned in the order they are specified in the ruleset. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-rule">Documentation * on elastic.co */ @@ -315,7 +315,7 @@ public CompletableFuture putRule(PutRuleRequest request) { * a function that initializes a builder to create the * {@link PutRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-rule">Documentation * on elastic.co */ @@ -341,7 +341,7 @@ public final CompletableFuture putRule( * 100 documents are pinned in the order they are specified in the ruleset. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-ruleset">Documentation * on elastic.co */ @@ -370,7 +370,7 @@ public CompletableFuture putRuleset(PutRulesetRequest reques * a function that initializes a builder to create the * {@link PutRulesetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-ruleset">Documentation * on elastic.co */ @@ -388,7 +388,7 @@ public final CompletableFuture putRuleset( * would match that criteria. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-test">Documentation * on elastic.co */ @@ -409,7 +409,7 @@ public CompletableFuture test(TestRequest request) { * a function that initializes a builder to create the * {@link TestRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-test">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesClient.java index e7bbaef5db..2959de320a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/query_rules/ElasticsearchQueryRulesClient.java @@ -76,7 +76,7 @@ public ElasticsearchQueryRulesClient withTransportOptions(@Nullable TransportOpt * query rule API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-rule">Documentation * on elastic.co */ @@ -98,7 +98,7 @@ public DeleteRuleResponse deleteRule(DeleteRuleRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link DeleteRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-rule">Documentation * on elastic.co */ @@ -116,7 +116,7 @@ public final DeleteRuleResponse deleteRule(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-ruleset">Documentation * on elastic.co */ @@ -138,7 +138,7 @@ public DeleteRulesetResponse deleteRuleset(DeleteRulesetRequest request) * a function that initializes a builder to create the * {@link DeleteRulesetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-delete-ruleset">Documentation * on elastic.co */ @@ -156,7 +156,7 @@ public final DeleteRulesetResponse deleteRuleset( * Get details about a query rule within a query ruleset. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-rule">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public GetRuleResponse getRule(GetRuleRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link GetRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-rule">Documentation * on elastic.co */ @@ -193,7 +193,7 @@ public final GetRuleResponse getRule(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-ruleset">Documentation * on elastic.co */ @@ -213,7 +213,7 @@ public GetRulesetResponse getRuleset(GetRulesetRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link GetRulesetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-get-ruleset">Documentation * on elastic.co */ @@ -230,7 +230,7 @@ public final GetRulesetResponse getRuleset(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-list-rulesets">Documentation * on elastic.co */ @@ -250,7 +250,7 @@ public ListRulesetsResponse listRulesets(ListRulesetsRequest request) throws IOE * a function that initializes a builder to create the * {@link ListRulesetsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-list-rulesets">Documentation * on elastic.co */ @@ -266,7 +266,7 @@ public final ListRulesetsResponse listRulesets( * Get summarized information about the query rulesets. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-list-rulesets">Documentation * on elastic.co */ @@ -290,7 +290,7 @@ public ListRulesetsResponse listRulesets() throws IOException, ElasticsearchExce * documents are pinned in the order they are specified in the ruleset. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-rule">Documentation * on elastic.co */ @@ -317,7 +317,7 @@ public PutRuleResponse putRule(PutRuleRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link PutRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-rule">Documentation * on elastic.co */ @@ -343,7 +343,7 @@ public final PutRuleResponse putRule(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-ruleset">Documentation * on elastic.co */ @@ -372,7 +372,7 @@ public PutRulesetResponse putRuleset(PutRulesetRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link PutRulesetRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-put-ruleset">Documentation * on elastic.co */ @@ -390,7 +390,7 @@ public final PutRulesetResponse putRuleset(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-test">Documentation * on elastic.co */ @@ -411,7 +411,7 @@ public TestResponse test(TestRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link TestRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-query-rules-test">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupAsyncClient.java index daa7541fca..17d8311ed4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupAsyncClient.java @@ -101,7 +101,7 @@ public ElasticsearchRollupAsyncClient withTransportOptions(@Nullable TransportOp *

* * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-delete-job">Documentation * on elastic.co */ @@ -147,7 +147,7 @@ public CompletableFuture deleteJob(DeleteJobRequest request) * a function that initializes a builder to create the * {@link DeleteJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-delete-job">Documentation * on elastic.co */ @@ -169,7 +169,7 @@ public final CompletableFuture deleteJob( * historical rollup job, the rollup capabilities API may be more useful. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-jobs">Documentation * on elastic.co */ @@ -194,7 +194,7 @@ public CompletableFuture getJobs(GetJobsRequest request) { * a function that initializes a builder to create the * {@link GetJobsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-jobs">Documentation * on elastic.co */ @@ -214,7 +214,7 @@ public final CompletableFuture getJobs( * historical rollup job, the rollup capabilities API may be more useful. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-jobs">Documentation * on elastic.co */ @@ -244,7 +244,7 @@ public CompletableFuture getJobs() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-caps">Documentation * on elastic.co */ @@ -277,7 +277,7 @@ public CompletableFuture getRollupCaps(GetRollupCapsReque * a function that initializes a builder to create the * {@link GetRollupCapsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-caps">Documentation * on elastic.co */ @@ -305,7 +305,7 @@ public final CompletableFuture getRollupCaps( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-caps">Documentation * on elastic.co */ @@ -331,7 +331,7 @@ public CompletableFuture getRollupCaps() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-index-caps">Documentation * on elastic.co */ @@ -360,7 +360,7 @@ public CompletableFuture getRollupIndexCaps(GetRollu * a function that initializes a builder to create the * {@link GetRollupIndexCapsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-index-caps">Documentation * on elastic.co */ @@ -391,7 +391,7 @@ public final CompletableFuture getRollupIndexCaps( * start rollup jobs API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-put-job">Documentation * on elastic.co */ @@ -425,7 +425,7 @@ public CompletableFuture putJob(PutJobRequest request) { * a function that initializes a builder to create the * {@link PutJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-put-job">Documentation * on elastic.co */ @@ -458,7 +458,7 @@ public final CompletableFuture putJob( * External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -498,7 +498,7 @@ public CompletableFuture> rollupSear * a function that initializes a builder to create the * {@link RollupSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -551,7 +551,7 @@ public final CompletableFuture> rollupSearch( * External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -591,7 +591,7 @@ public CompletableFuture> rollupSear * a function that initializes a builder to create the * {@link RollupSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -609,7 +609,7 @@ public final CompletableFuture> roll * try to start a job that is already started, nothing happens. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-start-job">Documentation * on elastic.co */ @@ -630,7 +630,7 @@ public CompletableFuture startJob(StartJobRequest request) { * a function that initializes a builder to create the * {@link StartJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-start-job">Documentation * on elastic.co */ @@ -662,7 +662,7 @@ public final CompletableFuture startJob( * elapses without the job moving to STOPPED, a timeout exception occurs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-stop-job">Documentation * on elastic.co */ @@ -697,7 +697,7 @@ public CompletableFuture stopJob(StopJobRequest request) { * a function that initializes a builder to create the * {@link StopJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-stop-job">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupClient.java index 2e1f84e39b..0664be9e59 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/ElasticsearchRollupClient.java @@ -101,7 +101,7 @@ public ElasticsearchRollupClient withTransportOptions(@Nullable TransportOptions *
* * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-delete-job">Documentation * on elastic.co */ @@ -147,7 +147,7 @@ public DeleteJobResponse deleteJob(DeleteJobRequest request) throws IOException, * a function that initializes a builder to create the * {@link DeleteJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-delete-job">Documentation * on elastic.co */ @@ -169,7 +169,7 @@ public final DeleteJobResponse deleteJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-jobs">Documentation * on elastic.co */ @@ -194,7 +194,7 @@ public GetJobsResponse getJobs(GetJobsRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link GetJobsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-jobs">Documentation * on elastic.co */ @@ -214,7 +214,7 @@ public final GetJobsResponse getJobs(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-jobs">Documentation * on elastic.co */ @@ -244,7 +244,7 @@ public GetJobsResponse getJobs() throws IOException, ElasticsearchException { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-caps">Documentation * on elastic.co */ @@ -278,7 +278,7 @@ public GetRollupCapsResponse getRollupCaps(GetRollupCapsRequest request) * a function that initializes a builder to create the * {@link GetRollupCapsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-caps">Documentation * on elastic.co */ @@ -307,7 +307,7 @@ public final GetRollupCapsResponse getRollupCaps( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-caps">Documentation * on elastic.co */ @@ -333,7 +333,7 @@ public GetRollupCapsResponse getRollupCaps() throws IOException, ElasticsearchEx * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-index-caps">Documentation * on elastic.co */ @@ -363,7 +363,7 @@ public GetRollupIndexCapsResponse getRollupIndexCaps(GetRollupIndexCapsRequest r * a function that initializes a builder to create the * {@link GetRollupIndexCapsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-get-rollup-index-caps">Documentation * on elastic.co */ @@ -395,7 +395,7 @@ public final GetRollupIndexCapsResponse getRollupIndexCaps( * start rollup jobs API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-put-job">Documentation * on elastic.co */ @@ -429,7 +429,7 @@ public PutJobResponse putJob(PutJobRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link PutJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-put-job">Documentation * on elastic.co */ @@ -462,7 +462,7 @@ public final PutJobResponse putJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -502,7 +502,7 @@ public RollupSearchResponse rollupSearch(RollupSearchRequ * a function that initializes a builder to create the * {@link RollupSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -557,7 +557,7 @@ public final RollupSearchResponse rollupSearch( * External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -597,7 +597,7 @@ public RollupSearchResponse rollupSearch(RollupSearchRequ * a function that initializes a builder to create the * {@link RollupSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-rollup-search">Documentation * on elastic.co */ @@ -616,7 +616,7 @@ public final RollupSearchResponse rollupSearch( * try to start a job that is already started, nothing happens. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-start-job">Documentation * on elastic.co */ @@ -637,7 +637,7 @@ public StartJobResponse startJob(StartJobRequest request) throws IOException, El * a function that initializes a builder to create the * {@link StartJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-start-job">Documentation * on elastic.co */ @@ -669,7 +669,7 @@ public final StartJobResponse startJob(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-stop-job">Documentation * on elastic.co */ @@ -704,7 +704,7 @@ public StopJobResponse stopJob(StopJobRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link StopJobRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-rollup-stop-job">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationAsyncClient.java index 0a0470a2f4..ff7094be6d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationAsyncClient.java @@ -78,7 +78,7 @@ public ElasticsearchSearchApplicationAsyncClient withTransportOptions(@Nullable * search application are not removed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete">Documentation * on elastic.co */ @@ -99,7 +99,7 @@ public CompletableFuture delete(DeleteSearchApp * a function that initializes a builder to create the * {@link DeleteSearchApplicationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete">Documentation * on elastic.co */ @@ -116,7 +116,7 @@ public final CompletableFuture delete( * The associated data stream is also deleted. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete-behavioral-analytics">Documentation * on elastic.co */ @@ -137,7 +137,7 @@ public CompletableFuture deleteBehavioralAnal * a function that initializes a builder to create the * {@link DeleteBehavioralAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete-behavioral-analytics">Documentation * on elastic.co */ @@ -152,7 +152,7 @@ public final CompletableFuture deleteBehavior * Get search application details. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get">Documentation * on elastic.co */ @@ -170,7 +170,7 @@ public CompletableFuture get(GetSearchApplicationR * a function that initializes a builder to create the * {@link GetSearchApplicationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get">Documentation * on elastic.co */ @@ -185,7 +185,7 @@ public final CompletableFuture get( * Get behavioral analytics collections. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -204,7 +204,7 @@ public CompletableFuture getBehavioralAnalytics( * a function that initializes a builder to create the * {@link GetBehavioralAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -217,7 +217,7 @@ public final CompletableFuture getBehavioralAnal * Get behavioral analytics collections. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -234,7 +234,7 @@ public CompletableFuture getBehavioralAnalytics( * Get information about search applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -254,7 +254,7 @@ public CompletableFuture list(ListRequest request) { * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -268,7 +268,7 @@ public final CompletableFuture list(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -283,7 +283,7 @@ public CompletableFuture list() { * Create a behavioral analytics collection event. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-post-behavioral-analytics-event">Documentation * on elastic.co */ @@ -302,7 +302,7 @@ public CompletableFuture postBehavioralAna * a function that initializes a builder to create the * {@link PostBehavioralAnalyticsEventRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-post-behavioral-analytics-event">Documentation * on elastic.co */ @@ -317,7 +317,7 @@ public final CompletableFuture postBehavio * Create or update a search application. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put">Documentation * on elastic.co */ @@ -335,7 +335,7 @@ public CompletableFuture put(PutRequest request) { * a function that initializes a builder to create the * {@link PutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put">Documentation * on elastic.co */ @@ -349,7 +349,7 @@ public final CompletableFuture put(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put-behavioral-analytics">Documentation * on elastic.co */ @@ -368,7 +368,7 @@ public CompletableFuture putBehavioralAnalytics( * a function that initializes a builder to create the * {@link PutBehavioralAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put-behavioral-analytics">Documentation * on elastic.co */ @@ -393,7 +393,7 @@ public final CompletableFuture putBehavioralAnal * application. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-render-query">Documentation * on elastic.co */ @@ -421,7 +421,7 @@ public CompletableFuture renderQuery(RenderQueryRequest req * a function that initializes a builder to create the * {@link RenderQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-render-query">Documentation * on elastic.co */ @@ -441,7 +441,7 @@ public final CompletableFuture renderQuery( * values if applicable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ @@ -468,7 +468,7 @@ public CompletableFuture> * a function that initializes a builder to create the * {@link SearchApplicationSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ @@ -508,7 +508,7 @@ public final CompletableFuture> search( * values if applicable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ @@ -535,7 +535,7 @@ public CompletableFuture> * a function that initializes a builder to create the * {@link SearchApplicationSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationClient.java index a3386adfc1..00f8f8160f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/search_application/ElasticsearchSearchApplicationClient.java @@ -79,7 +79,7 @@ public ElasticsearchSearchApplicationClient withTransportOptions(@Nullable Trans * search application are not removed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete">Documentation * on elastic.co */ @@ -101,7 +101,7 @@ public DeleteSearchApplicationResponse delete(DeleteSearchApplicationRequest req * a function that initializes a builder to create the * {@link DeleteSearchApplicationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete">Documentation * on elastic.co */ @@ -119,7 +119,7 @@ public final DeleteSearchApplicationResponse delete( * The associated data stream is also deleted. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete-behavioral-analytics">Documentation * on elastic.co */ @@ -140,7 +140,7 @@ public DeleteBehavioralAnalyticsResponse deleteBehavioralAnalytics(DeleteBehavio * a function that initializes a builder to create the * {@link DeleteBehavioralAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-delete-behavioral-analytics">Documentation * on elastic.co */ @@ -156,7 +156,7 @@ public final DeleteBehavioralAnalyticsResponse deleteBehavioralAnalytics( * Get search application details. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get">Documentation * on elastic.co */ @@ -175,7 +175,7 @@ public GetSearchApplicationResponse get(GetSearchApplicationRequest request) * a function that initializes a builder to create the * {@link GetSearchApplicationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get">Documentation * on elastic.co */ @@ -191,7 +191,7 @@ public final GetSearchApplicationResponse get( * Get behavioral analytics collections. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -210,7 +210,7 @@ public GetBehavioralAnalyticsResponse getBehavioralAnalytics(GetBehavioralAnalyt * a function that initializes a builder to create the * {@link GetBehavioralAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -224,7 +224,7 @@ public final GetBehavioralAnalyticsResponse getBehavioralAnalytics( * Get behavioral analytics collections. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -241,7 +241,7 @@ public GetBehavioralAnalyticsResponse getBehavioralAnalytics() throws IOExceptio * Get information about search applications. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -261,7 +261,7 @@ public ListResponse list(ListRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -276,7 +276,7 @@ public final ListResponse list(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-get-behavioral-analytics">Documentation * on elastic.co */ @@ -291,7 +291,7 @@ public ListResponse list() throws IOException, ElasticsearchException { * Create a behavioral analytics collection event. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-post-behavioral-analytics-event">Documentation * on elastic.co */ @@ -310,7 +310,7 @@ public PostBehavioralAnalyticsEventResponse postBehavioralAnalyticsEvent( * a function that initializes a builder to create the * {@link PostBehavioralAnalyticsEventRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-post-behavioral-analytics-event">Documentation * on elastic.co */ @@ -326,7 +326,7 @@ public final PostBehavioralAnalyticsEventResponse postBehavioralAnalyticsEvent( * Create or update a search application. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put">Documentation * on elastic.co */ @@ -344,7 +344,7 @@ public PutResponse put(PutRequest request) throws IOException, ElasticsearchExce * a function that initializes a builder to create the * {@link PutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put">Documentation * on elastic.co */ @@ -359,7 +359,7 @@ public final PutResponse put(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put-behavioral-analytics">Documentation * on elastic.co */ @@ -378,7 +378,7 @@ public PutBehavioralAnalyticsResponse putBehavioralAnalytics(PutBehavioralAnalyt * a function that initializes a builder to create the * {@link PutBehavioralAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-put-behavioral-analytics">Documentation * on elastic.co */ @@ -404,7 +404,7 @@ public final PutBehavioralAnalyticsResponse putBehavioralAnalytics( * application. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-render-query">Documentation * on elastic.co */ @@ -432,7 +432,7 @@ public RenderQueryResponse renderQuery(RenderQueryRequest request) throws IOExce * a function that initializes a builder to create the * {@link RenderQueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-render-query">Documentation * on elastic.co */ @@ -453,7 +453,7 @@ public final RenderQueryResponse renderQuery( * values if applicable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ @@ -480,7 +480,7 @@ public SearchApplicationSearchResponse search(SearchAppli * a function that initializes a builder to create the * {@link SearchApplicationSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ @@ -522,7 +522,7 @@ public final SearchApplicationSearchResponse search( * values if applicable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ @@ -549,7 +549,7 @@ public SearchApplicationSearchResponse search(SearchAppli * a function that initializes a builder to create the * {@link SearchApplicationSearchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-search-application-search">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java index 7127f82f2c..6b987ba524 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheRequest.java @@ -96,9 +96,13 @@ public static ClearCacheRequest of(Function_all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -118,8 +122,10 @@ public final List expandWildcards() { } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ @@ -169,9 +175,13 @@ private Builder(ClearCacheRequest instance) { } /** - * Whether to ignore if a wildcard indices expression resolves into no concrete - * indices. (This includes _all string or when no indices have been - * specified) + * A setting that does two separate checks on the index expression. If + * false, the request returns an error (1) if any wildcard + * expression (including _all and *) resolves to zero + * matching indices or (2) if the complete set of resolved indices, aliases or + * data streams is empty after all expressions are evaluated. If + * true, index expressions that resolve to no indices are allowed + * and the request returns an empty result. *

* API name: {@code allow_no_indices} */ @@ -207,8 +217,10 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val } /** - * Whether specified concrete indices should be ignored when unavailable - * (missing or closed) + * If false, the request returns an error if it targets a concrete + * (non-wildcarded) index, alias, or data stream that is missing, closed, or + * otherwise unavailable. If true, unavailable concrete targets are + * silently ignored. *

* API name: {@code ignore_unavailable} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsAsyncClient.java index 85c65302e4..04a2fa62fa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsAsyncClient.java @@ -76,7 +76,7 @@ public ElasticsearchSearchableSnapshotsAsyncClient withTransportOptions( * Get statistics about the shared cache for partially mounted indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-cache-stats">Documentation * on elastic.co */ @@ -96,7 +96,7 @@ public CompletableFuture cacheStats(CacheStatsRequest reques * a function that initializes a builder to create the * {@link CacheStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-cache-stats">Documentation * on elastic.co */ @@ -111,7 +111,7 @@ public final CompletableFuture cacheStats( * Get statistics about the shared cache for partially mounted indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-cache-stats">Documentation * on elastic.co */ @@ -129,7 +129,7 @@ public CompletableFuture cacheStats() { * indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-clear-cache">Documentation * on elastic.co */ @@ -150,7 +150,7 @@ public CompletableFuture clearCache(ClearCacheRequest reques * a function that initializes a builder to create the * {@link ClearCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-clear-cache">Documentation * on elastic.co */ @@ -166,7 +166,7 @@ public final CompletableFuture clearCache( * indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-clear-cache">Documentation * on elastic.co */ @@ -185,7 +185,7 @@ public CompletableFuture clearCache() { * ILM-managed snapshots can interfere with ILM processes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-mount">Documentation * on elastic.co */ @@ -207,7 +207,7 @@ public CompletableFuture mount(MountRequest request) { * a function that initializes a builder to create the * {@link MountRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-mount">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public final CompletableFuture mount( * Get searchable snapshot statistics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-stats">Documentation * on elastic.co */ @@ -240,7 +240,7 @@ public CompletableFuture stats(SearchableSnaps * a function that initializes a builder to create the * {@link SearchableSnapshotsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-stats">Documentation * on elastic.co */ @@ -253,7 +253,7 @@ public final CompletableFuture stats( * Get searchable snapshot statistics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-stats">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsClient.java index df8b43b21a..47a6640595 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ElasticsearchSearchableSnapshotsClient.java @@ -76,7 +76,7 @@ public ElasticsearchSearchableSnapshotsClient withTransportOptions(@Nullable Tra * Get statistics about the shared cache for partially mounted indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-cache-stats">Documentation * on elastic.co */ @@ -96,7 +96,7 @@ public CacheStatsResponse cacheStats(CacheStatsRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link CacheStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-cache-stats">Documentation * on elastic.co */ @@ -111,7 +111,7 @@ public final CacheStatsResponse cacheStats(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-cache-stats">Documentation * on elastic.co */ @@ -129,7 +129,7 @@ public CacheStatsResponse cacheStats() throws IOException, ElasticsearchExceptio * indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-clear-cache">Documentation * on elastic.co */ @@ -150,7 +150,7 @@ public ClearCacheResponse clearCache(ClearCacheRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link ClearCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-clear-cache">Documentation * on elastic.co */ @@ -166,7 +166,7 @@ public final ClearCacheResponse clearCache(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-clear-cache">Documentation * on elastic.co */ @@ -185,7 +185,7 @@ public ClearCacheResponse clearCache() throws IOException, ElasticsearchExceptio * ILM-managed snapshots can interfere with ILM processes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-mount">Documentation * on elastic.co */ @@ -207,7 +207,7 @@ public MountResponse mount(MountRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link MountRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-mount">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public final MountResponse mount(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-stats">Documentation * on elastic.co */ @@ -241,7 +241,7 @@ public SearchableSnapshotsStatsResponse stats(SearchableSnapshotsStatsRequest re * a function that initializes a builder to create the * {@link SearchableSnapshotsStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-stats">Documentation * on elastic.co */ @@ -255,7 +255,7 @@ public final SearchableSnapshotsStatsResponse stats( * Get searchable snapshot statistics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-searchable-snapshots-stats">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyRequest.java new file mode 100644 index 0000000000..d2c8817db8 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyRequest.java @@ -0,0 +1,395 @@ +/* + * 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 co.elastic.clients.elasticsearch.security; + +import co.elastic.clients.elasticsearch._types.ErrorResponse; +import co.elastic.clients.elasticsearch._types.Refresh; +import co.elastic.clients.elasticsearch._types.RequestBase; +import co.elastic.clients.elasticsearch._types.Time; +import co.elastic.clients.json.JsonData; +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; +import co.elastic.clients.transport.endpoints.SimpleEndpoint; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.String; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: security.clone_api_key.Request + +/** + * Clone an API key. + *

+ * Create a copy of an existing API key with a new ID. The cloned key inherits + * the role descriptors of the source key. This is intended for applications + * (such as Kibana) that need to create API keys on behalf of a user using an + * existing API key credential, since derived API keys (API keys created by API + * keys) are not otherwise supported. + * + * @see API + * specification + */ +@JsonpDeserializable +public class CloneApiKeyRequest extends RequestBase implements JsonpSerializable { + private final String apiKey; + + @Nullable + private final Time expiration; + + private final Map metadata; + + @Nullable + private final String name; + + @Nullable + private final Refresh refresh; + + // --------------------------------------------------------------------------------------------- + + private CloneApiKeyRequest(Builder builder) { + + this.apiKey = ApiTypeHelper.requireNonNull(builder.apiKey, this, "apiKey"); + this.expiration = builder.expiration; + this.metadata = ApiTypeHelper.unmodifiable(builder.metadata); + this.name = builder.name; + this.refresh = builder.refresh; + + } + + public static CloneApiKeyRequest of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - The credentials of the API key to clone. This is the secret value + * returned when the key was originally created. + *

+ * API name: {@code api_key} + */ + public final String apiKey() { + return this.apiKey; + } + + /** + * The expiration time for the cloned API key. By default, API keys never + * expire. Set to null to explicitly create a key with no + * expiration. + *

+ * API name: {@code expiration} + */ + @Nullable + public final Time expiration() { + return this.expiration; + } + + /** + * Arbitrary metadata to associate with the cloned API key. It supports nested + * data structure. Within the metadata object, keys beginning with + * _ are reserved for system usage. + *

+ * API name: {@code metadata} + */ + public final Map metadata() { + return this.metadata; + } + + /** + * A name for the cloned API key. If not provided, the name of the source key is + * used. + *

+ * API name: {@code name} + */ + @Nullable + public final String name() { + return this.name; + } + + /** + * If true (the default) then refresh the affected shards to make + * this operation visible to search, if wait_for then wait for a + * refresh to make this operation visible to search, if false then + * do nothing with refreshes. + *

+ * API name: {@code refresh} + */ + @Nullable + public final Refresh refresh() { + return this.refresh; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + generator.writeKey("api_key"); + generator.write(this.apiKey); + + if (this.expiration != null) { + generator.writeKey("expiration"); + this.expiration.serialize(generator, mapper); + + } + if (ApiTypeHelper.isDefined(this.metadata)) { + generator.writeKey("metadata"); + generator.writeStartObject(); + for (Map.Entry item0 : this.metadata.entrySet()) { + generator.writeKey(item0.getKey()); + item0.getValue().serialize(generator, mapper); + + } + generator.writeEnd(); + + } + if (this.name != null) { + generator.writeKey("name"); + generator.write(this.name); + + } + + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link CloneApiKeyRequest}. + */ + + public static class Builder extends RequestBase.AbstractBuilder + implements + ObjectBuilder { + private String apiKey; + + @Nullable + private Time expiration; + + @Nullable + private Map metadata; + + @Nullable + private String name; + + @Nullable + private Refresh refresh; + + public Builder() { + } + private Builder(CloneApiKeyRequest instance) { + this.apiKey = instance.apiKey; + this.expiration = instance.expiration; + this.metadata = instance.metadata; + this.name = instance.name; + this.refresh = instance.refresh; + + } + /** + * Required - The credentials of the API key to clone. This is the secret value + * returned when the key was originally created. + *

+ * API name: {@code api_key} + */ + public final Builder apiKey(String value) { + this.apiKey = value; + return this; + } + + /** + * The expiration time for the cloned API key. By default, API keys never + * expire. Set to null to explicitly create a key with no + * expiration. + *

+ * API name: {@code expiration} + */ + public final Builder expiration(@Nullable Time value) { + this.expiration = value; + return this; + } + + /** + * The expiration time for the cloned API key. By default, API keys never + * expire. Set to null to explicitly create a key with no + * expiration. + *

+ * API name: {@code expiration} + */ + public final Builder expiration(Function> fn) { + return this.expiration(fn.apply(new Time.Builder()).build()); + } + + /** + * Arbitrary metadata to associate with the cloned API key. It supports nested + * data structure. Within the metadata object, keys beginning with + * _ are reserved for system usage. + *

+ * API name: {@code metadata} + *

+ * Adds all entries of map to metadata. + */ + public final Builder metadata(Map map) { + this.metadata = _mapPutAll(this.metadata, map); + return this; + } + + /** + * Arbitrary metadata to associate with the cloned API key. It supports nested + * data structure. Within the metadata object, keys beginning with + * _ are reserved for system usage. + *

+ * API name: {@code metadata} + *

+ * Adds an entry to metadata. + */ + public final Builder metadata(String key, JsonData value) { + this.metadata = _mapPut(this.metadata, key, value); + return this; + } + + /** + * A name for the cloned API key. If not provided, the name of the source key is + * used. + *

+ * API name: {@code name} + */ + public final Builder name(@Nullable String value) { + this.name = value; + return this; + } + + /** + * If true (the default) then refresh the affected shards to make + * this operation visible to search, if wait_for then wait for a + * refresh to make this operation visible to search, if false then + * do nothing with refreshes. + *

+ * API name: {@code refresh} + */ + public final Builder refresh(@Nullable Refresh value) { + this.refresh = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link CloneApiKeyRequest}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public CloneApiKeyRequest build() { + _checkSingleUse(); + + return new CloneApiKeyRequest(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link CloneApiKeyRequest} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, CloneApiKeyRequest::setupCloneApiKeyRequestDeserializer); + + protected static void setupCloneApiKeyRequestDeserializer(ObjectDeserializer op) { + + op.add(Builder::apiKey, JsonpDeserializer.stringDeserializer(), "api_key"); + op.add(Builder::expiration, Time._DESERIALIZER, "expiration"); + op.add(Builder::metadata, JsonpDeserializer.stringMapDeserializer(JsonData._DESERIALIZER), "metadata"); + op.add(Builder::name, JsonpDeserializer.stringDeserializer(), "name"); + + } + + // --------------------------------------------------------------------------------------------- + + /** + * Endpoint "{@code security.clone_api_key}". + */ + public static final Endpoint _ENDPOINT = new SimpleEndpoint<>( + "es/security.clone_api_key", + + // Request method + request -> { + return "POST"; + + }, + + // Request path + request -> { + return "/_security/api_key/clone"; + + }, + + // Path parameters + request -> { + return Collections.emptyMap(); + }, + + // Request parameters + request -> { + Map params = new HashMap<>(); + if (request.refresh != null) { + params.put("refresh", request.refresh.jsonValue()); + } + return params; + + }, SimpleEndpoint.emptyMap(), true, CloneApiKeyResponse._DESERIALIZER); +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyResponse.java new file mode 100644 index 0000000000..6d1ff1a918 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CloneApiKeyResponse.java @@ -0,0 +1,281 @@ +/* + * 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 co.elastic.clients.elasticsearch.security; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import co.elastic.clients.util.WithJsonObjectBuilderBase; +import jakarta.json.stream.JsonGenerator; +import java.lang.Long; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: security.clone_api_key.Response + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class CloneApiKeyResponse implements JsonpSerializable { + private final String apiKey; + + @Nullable + private final Long expiration; + + private final String id; + + private final String name; + + private final String encoded; + + // --------------------------------------------------------------------------------------------- + + private CloneApiKeyResponse(Builder builder) { + + this.apiKey = ApiTypeHelper.requireNonNull(builder.apiKey, this, "apiKey"); + this.expiration = builder.expiration; + this.id = ApiTypeHelper.requireNonNull(builder.id, this, "id"); + this.name = ApiTypeHelper.requireNonNull(builder.name, this, "name"); + this.encoded = ApiTypeHelper.requireNonNull(builder.encoded, this, "encoded"); + + } + + public static CloneApiKeyResponse of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * Required - The generated API key value for the cloned key. + *

+ * API name: {@code api_key} + */ + public final String apiKey() { + return this.apiKey; + } + + /** + * Expiration in milliseconds for the API key. + *

+ * API name: {@code expiration} + */ + @Nullable + public final Long expiration() { + return this.expiration; + } + + /** + * Required - The unique ID of the cloned API key. + *

+ * API name: {@code id} + */ + public final String id() { + return this.id; + } + + /** + * Required - The name of the cloned API key. + *

+ * API name: {@code name} + */ + public final String name() { + return this.name; + } + + /** + * Required - API key credentials which is the base64-encoding of the UTF-8 + * representation of id and api_key joined by a colon + * (:). + *

+ * API name: {@code encoded} + */ + public final String encoded() { + return this.encoded; + } + + /** + * Serialize this object to JSON. + */ + public void serialize(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(); + serializeInternal(generator, mapper); + generator.writeEnd(); + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + + generator.writeKey("api_key"); + generator.write(this.apiKey); + + if (this.expiration != null) { + generator.writeKey("expiration"); + generator.write(this.expiration); + + } + generator.writeKey("id"); + generator.write(this.id); + + generator.writeKey("name"); + generator.write(this.name); + + generator.writeKey("encoded"); + generator.write(this.encoded); + + } + + @Override + public String toString() { + return JsonpUtils.toString(this); + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link CloneApiKeyResponse}. + */ + + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + private String apiKey; + + @Nullable + private Long expiration; + + private String id; + + private String name; + + private String encoded; + + /** + * Required - The generated API key value for the cloned key. + *

+ * API name: {@code api_key} + */ + public final Builder apiKey(String value) { + this.apiKey = value; + return this; + } + + /** + * Expiration in milliseconds for the API key. + *

+ * API name: {@code expiration} + */ + public final Builder expiration(@Nullable Long value) { + this.expiration = value; + return this; + } + + /** + * Required - The unique ID of the cloned API key. + *

+ * API name: {@code id} + */ + public final Builder id(String value) { + this.id = value; + return this; + } + + /** + * Required - The name of the cloned API key. + *

+ * API name: {@code name} + */ + public final Builder name(String value) { + this.name = value; + return this; + } + + /** + * Required - API key credentials which is the base64-encoding of the UTF-8 + * representation of id and api_key joined by a colon + * (:). + *

+ * API name: {@code encoded} + */ + public final Builder encoded(String value) { + this.encoded = value; + return this; + } + + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link CloneApiKeyResponse}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public CloneApiKeyResponse build() { + _checkSingleUse(); + + return new CloneApiKeyResponse(this); + } + } + + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link CloneApiKeyResponse} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, CloneApiKeyResponse::setupCloneApiKeyResponseDeserializer); + + protected static void setupCloneApiKeyResponseDeserializer(ObjectDeserializer op) { + + op.add(Builder::apiKey, JsonpDeserializer.stringDeserializer(), "api_key"); + op.add(Builder::expiration, JsonpDeserializer.longDeserializer(), "expiration"); + op.add(Builder::id, JsonpDeserializer.stringDeserializer(), "id"); + op.add(Builder::name, JsonpDeserializer.stringDeserializer(), "name"); + op.add(Builder::encoded, JsonpDeserializer.stringDeserializer(), "encoded"); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApiKeyManagedBy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CredentialManagedBy.java similarity index 84% rename from java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApiKeyManagedBy.java rename to java-client/src/main/java/co/elastic/clients/elasticsearch/security/CredentialManagedBy.java index 480a8170cb..4002f2515f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApiKeyManagedBy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CredentialManagedBy.java @@ -40,11 +40,12 @@ /** * - * @see API + * @see API * specification */ @JsonpDeserializable -public enum ApiKeyManagedBy implements JsonEnum { +public enum CredentialManagedBy implements JsonEnum { Cloud("cloud"), Elasticsearch("elasticsearch"), @@ -53,7 +54,7 @@ public enum ApiKeyManagedBy implements JsonEnum { private final String jsonValue; - ApiKeyManagedBy(String jsonValue) { + CredentialManagedBy(String jsonValue) { this.jsonValue = jsonValue; } @@ -61,6 +62,6 @@ public String jsonValue() { return this.jsonValue; } - public static final JsonEnum.Deserializer _DESERIALIZER = new JsonEnum.Deserializer<>( - ApiKeyManagedBy.values()); + public static final JsonEnum.Deserializer _DESERIALIZER = new JsonEnum.Deserializer<>( + CredentialManagedBy.values()); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityAsyncClient.java index 31a7ff21a5..23d9d9e532 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityAsyncClient.java @@ -96,7 +96,7 @@ public ElasticsearchSecurityAsyncClient withTransportOptions(@Nullable Transport * labels or data fields. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-activate-user-profile">Documentation * on elastic.co */ @@ -136,7 +136,7 @@ public CompletableFuture activateUserProfile(Activa * a function that initializes a builder to create the * {@link ActivateUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-activate-user-profile">Documentation * on elastic.co */ @@ -160,7 +160,7 @@ public final CompletableFuture activateUserProfile( * returns a 401 status code. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-authenticate">Documentation * on elastic.co */ public CompletableFuture authenticate() { @@ -178,7 +178,7 @@ public CompletableFuture authenticate() { * cannot delete roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-delete-role">Documentation * on elastic.co */ @@ -200,7 +200,7 @@ public CompletableFuture bulkDeleteRole(BulkDeleteRoleRe * a function that initializes a builder to create the * {@link BulkDeleteRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-delete-role">Documentation * on elastic.co */ @@ -219,7 +219,7 @@ public final CompletableFuture bulkDeleteRole( * API cannot update roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-put-role">Documentation * on elastic.co */ @@ -241,7 +241,7 @@ public CompletableFuture bulkPutRole(BulkPutRoleRequest req * a function that initializes a builder to create the * {@link BulkPutRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-put-role">Documentation * on elastic.co */ @@ -283,7 +283,7 @@ public final CompletableFuture bulkPutRole( * and did not require an update, and error details for any failed update. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-update-api-keys">Documentation * on elastic.co */ @@ -328,7 +328,7 @@ public CompletableFuture bulkUpdateApiKeys(BulkUpdate * a function that initializes a builder to create the * {@link BulkUpdateApiKeysRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-update-api-keys">Documentation * on elastic.co */ @@ -345,7 +345,7 @@ public final CompletableFuture bulkUpdateApiKeys( * Change the passwords of users in the native realm and built-in users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-change-password">Documentation * on elastic.co */ @@ -365,7 +365,7 @@ public CompletableFuture changePassword(ChangePasswordRe * a function that initializes a builder to create the * {@link ChangePasswordRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-change-password">Documentation * on elastic.co */ @@ -380,7 +380,7 @@ public final CompletableFuture changePassword( * Change the passwords of users in the native realm and built-in users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-change-password">Documentation * on elastic.co */ @@ -398,7 +398,7 @@ public CompletableFuture changePassword() { * automatically cleared on state changes of the security index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-api-key-cache">Documentation * on elastic.co */ @@ -419,7 +419,7 @@ public CompletableFuture clearApiKeyCache(ClearApiKeyC * a function that initializes a builder to create the * {@link ClearApiKeyCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-api-key-cache">Documentation * on elastic.co */ @@ -438,7 +438,7 @@ public final CompletableFuture clearApiKeyCache( * updated. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-privileges">Documentation * on elastic.co */ @@ -461,7 +461,7 @@ public CompletableFuture clearCachedPrivileges( * a function that initializes a builder to create the * {@link ClearCachedPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-privileges">Documentation * on elastic.co */ @@ -485,7 +485,7 @@ public final CompletableFuture clearCachedPrivile * cache. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-realms">Documentation * on elastic.co */ @@ -512,7 +512,7 @@ public CompletableFuture clearCachedRealms(ClearCache * a function that initializes a builder to create the * {@link ClearCachedRealmsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-realms">Documentation * on elastic.co */ @@ -529,7 +529,7 @@ public final CompletableFuture clearCachedRealms( * Evict roles from the native role cache. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-roles">Documentation * on elastic.co */ @@ -549,7 +549,7 @@ public CompletableFuture clearCachedRoles(ClearCachedR * a function that initializes a builder to create the * {@link ClearCachedRolesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-roles">Documentation * on elastic.co */ @@ -575,7 +575,7 @@ public final CompletableFuture clearCachedRoles( * automatically on file changes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-service-tokens">Documentation * on elastic.co */ @@ -605,7 +605,7 @@ public CompletableFuture clearCachedServiceTok * a function that initializes a builder to create the * {@link ClearCachedServiceTokensRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-service-tokens">Documentation * on elastic.co */ @@ -614,6 +614,51 @@ public final CompletableFuture clearCachedServ return clearCachedServiceTokens(fn.apply(new ClearCachedServiceTokensRequest.Builder()).build()); } + // ----- Endpoint: security.clone_api_key + + /** + * Clone an API key. + *

+ * Create a copy of an existing API key with a new ID. The cloned key inherits + * the role descriptors of the source key. This is intended for applications + * (such as Kibana) that need to create API keys on behalf of a user using an + * existing API key credential, since derived API keys (API keys created by API + * keys) are not otherwise supported. + * + * @see Documentation + * on elastic.co + */ + + public CompletableFuture cloneApiKey(CloneApiKeyRequest request) { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) CloneApiKeyRequest._ENDPOINT; + + return this.transport.performRequestAsync(request, endpoint, this.transportOptions); + } + + /** + * Clone an API key. + *

+ * Create a copy of an existing API key with a new ID. The cloned key inherits + * the role descriptors of the source key. This is intended for applications + * (such as Kibana) that need to create API keys on behalf of a user using an + * existing API key credential, since derived API keys (API keys created by API + * keys) are not otherwise supported. + * + * @param fn + * a function that initializes a builder to create the + * {@link CloneApiKeyRequest} + * @see Documentation + * on elastic.co + */ + + public final CompletableFuture cloneApiKey( + Function> fn) { + return cloneApiKey(fn.apply(new CloneApiKeyRequest.Builder()).build()); + } + // ----- Endpoint: security.create_api_key /** @@ -637,7 +682,7 @@ public final CompletableFuture clearCachedServ * API key service setting documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-api-key">Documentation * on elastic.co */ @@ -672,7 +717,7 @@ public CompletableFuture createApiKey(CreateApiKeyRequest * a function that initializes a builder to create the * {@link CreateApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-api-key">Documentation * on elastic.co */ @@ -702,7 +747,7 @@ public final CompletableFuture createApiKey( * API key service setting documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-api-key">Documentation * on elastic.co */ @@ -743,7 +788,7 @@ public CompletableFuture createApiKey() { * bulk update REST API keys API will result in an error. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-cross-cluster-api-key">Documentation * on elastic.co */ @@ -788,7 +833,7 @@ public CompletableFuture createCrossClusterApi * a function that initializes a builder to create the * {@link CreateCrossClusterApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-cross-cluster-api-key">Documentation * on elastic.co */ @@ -809,7 +854,7 @@ public final CompletableFuture createCrossClus * they are no longer needed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-service-token">Documentation * on elastic.co */ @@ -833,7 +878,7 @@ public CompletableFuture createServiceToken(CreateSe * a function that initializes a builder to create the * {@link CreateServiceTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-service-token">Documentation * on elastic.co */ @@ -866,7 +911,7 @@ public final CompletableFuture createServiceToken( * this API translates that authentication into an Elasticsearch access token. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delegate-pki">Documentation * on elastic.co */ @@ -902,7 +947,7 @@ public CompletableFuture delegatePki(DelegatePkiRequest req * a function that initializes a builder to create the * {@link DelegatePkiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delegate-pki">Documentation * on elastic.co */ @@ -925,7 +970,7 @@ public final CompletableFuture delegatePki( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-privileges">Documentation * on elastic.co */ @@ -951,7 +996,7 @@ public CompletableFuture deletePrivileges(DeletePrivil * a function that initializes a builder to create the * {@link DeletePrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-privileges">Documentation * on elastic.co */ @@ -970,7 +1015,7 @@ public final CompletableFuture deletePrivileges( * The delete roles API cannot remove roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role">Documentation * on elastic.co */ @@ -992,7 +1037,7 @@ public CompletableFuture deleteRole(DeleteRoleRequest reques * a function that initializes a builder to create the * {@link DeleteRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role">Documentation * on elastic.co */ @@ -1012,7 +1057,7 @@ public final CompletableFuture deleteRole( * mappings that are defined in role mapping files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role-mapping">Documentation * on elastic.co */ @@ -1035,7 +1080,7 @@ public CompletableFuture deleteRoleMapping(DeleteRole * a function that initializes a builder to create the * {@link DeleteRoleMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role-mapping">Documentation * on elastic.co */ @@ -1052,7 +1097,7 @@ public final CompletableFuture deleteRoleMapping( * Delete service account tokens for a service in a specified namespace. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-service-token">Documentation * on elastic.co */ @@ -1072,7 +1117,7 @@ public CompletableFuture deleteServiceToken(DeleteSe * a function that initializes a builder to create the * {@link DeleteServiceTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-service-token">Documentation * on elastic.co */ @@ -1089,7 +1134,7 @@ public final CompletableFuture deleteServiceToken( * Delete users from the native realm. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-user">Documentation * on elastic.co */ @@ -1109,7 +1154,7 @@ public CompletableFuture deleteUser(DeleteUserRequest reques * a function that initializes a builder to create the * {@link DeleteUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-user">Documentation * on elastic.co */ @@ -1127,7 +1172,7 @@ public final CompletableFuture deleteUser( * are enabled. You can use this API to revoke a user's access to Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user">Documentation * on elastic.co */ @@ -1148,7 +1193,7 @@ public CompletableFuture disableUser(DisableUserRequest req * a function that initializes a builder to create the * {@link DisableUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user">Documentation * on elastic.co */ @@ -1176,7 +1221,7 @@ public final CompletableFuture disableUser( * user profile, use the enable user profile API . * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user-profile">Documentation * on elastic.co */ @@ -1207,7 +1252,7 @@ public CompletableFuture disableUserProfile(DisableU * a function that initializes a builder to create the * {@link DisableUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user-profile">Documentation * on elastic.co */ @@ -1225,7 +1270,7 @@ public final CompletableFuture disableUserProfile( * enabled. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user">Documentation * on elastic.co */ @@ -1246,7 +1291,7 @@ public CompletableFuture enableUser(EnableUserRequest reques * a function that initializes a builder to create the * {@link EnableUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user">Documentation * on elastic.co */ @@ -1273,7 +1318,7 @@ public final CompletableFuture enableUser( * enable user profile API to make the profile visible in these searches again. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user-profile">Documentation * on elastic.co */ @@ -1303,7 +1348,7 @@ public CompletableFuture enableUserProfile(EnableUser * a function that initializes a builder to create the * {@link EnableUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user-profile">Documentation * on elastic.co */ @@ -1325,7 +1370,7 @@ public final CompletableFuture enableUserProfile( * Elasticsearch cluster that already has security features enabled. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enroll-kibana">Documentation * on elastic.co */ public CompletableFuture enrollKibana() { @@ -1348,7 +1393,7 @@ public CompletableFuture enrollKibana() { * all nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enroll-node">Documentation * on elastic.co */ public CompletableFuture enrollNode() { @@ -1369,7 +1414,7 @@ public CompletableFuture enrollNode() { * ownership. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-api-key">Documentation * on elastic.co */ @@ -1394,7 +1439,7 @@ public CompletableFuture getApiKey(GetApiKeyRequest request) * a function that initializes a builder to create the * {@link GetApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-api-key">Documentation * on elastic.co */ @@ -1414,7 +1459,7 @@ public final CompletableFuture getApiKey( * ownership. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-api-key">Documentation * on elastic.co */ @@ -1432,7 +1477,7 @@ public CompletableFuture getApiKey() { * this version of Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-builtin-privileges">Documentation * on elastic.co */ public CompletableFuture getBuiltinPrivileges() { @@ -1454,7 +1499,7 @@ public CompletableFuture getBuiltinPrivileges() { * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-privileges">Documentation * on elastic.co */ @@ -1480,7 +1525,7 @@ public CompletableFuture getPrivileges(GetPrivilegesReque * a function that initializes a builder to create the * {@link GetPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-privileges">Documentation * on elastic.co */ @@ -1501,7 +1546,7 @@ public final CompletableFuture getPrivileges( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-privileges">Documentation * on elastic.co */ @@ -1520,7 +1565,7 @@ public CompletableFuture getPrivileges() { * The get roles API cannot retrieve roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role">Documentation * on elastic.co */ @@ -1542,7 +1587,7 @@ public CompletableFuture getRole(GetRoleRequest request) { * a function that initializes a builder to create the * {@link GetRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role">Documentation * on elastic.co */ @@ -1559,7 +1604,7 @@ public final CompletableFuture getRole( * The get roles API cannot retrieve roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role">Documentation * on elastic.co */ @@ -1579,7 +1624,7 @@ public CompletableFuture getRole() { * mappings that are defined in role mapping files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role-mapping">Documentation * on elastic.co */ @@ -1602,7 +1647,7 @@ public CompletableFuture getRoleMapping(GetRoleMappingRe * a function that initializes a builder to create the * {@link GetRoleMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role-mapping">Documentation * on elastic.co */ @@ -1620,7 +1665,7 @@ public final CompletableFuture getRoleMapping( * mappings that are defined in role mapping files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role-mapping">Documentation * on elastic.co */ @@ -1640,7 +1685,7 @@ public CompletableFuture getRoleMapping() { * is available. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-accounts">Documentation * on elastic.co */ @@ -1663,7 +1708,7 @@ public CompletableFuture getServiceAccounts(GetServi * a function that initializes a builder to create the * {@link GetServiceAccountsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-accounts">Documentation * on elastic.co */ @@ -1681,7 +1726,7 @@ public final CompletableFuture getServiceAccounts( * is available. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-accounts">Documentation * on elastic.co */ @@ -1709,7 +1754,7 @@ public CompletableFuture getServiceAccounts() { * towards the total number of service tokens. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-credentials">Documentation * on elastic.co */ @@ -1741,7 +1786,7 @@ public CompletableFuture getServiceCredentials( * a function that initializes a builder to create the * {@link GetServiceCredentialsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-credentials">Documentation * on elastic.co */ @@ -1764,7 +1809,7 @@ public final CompletableFuture getServiceCredenti * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-settings">Documentation * on elastic.co */ @@ -1790,7 +1835,7 @@ public CompletableFuture getSettings(GetSecuritySet * a function that initializes a builder to create the * {@link GetSecuritySettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-settings">Documentation * on elastic.co */ @@ -1811,7 +1856,7 @@ public final CompletableFuture getSettings( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-settings">Documentation * on elastic.co */ @@ -1828,7 +1873,7 @@ public CompletableFuture getSettings() { * Gather security usage statistics from all node(s) within the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-stats">Documentation * on elastic.co */ public CompletableFuture getStats() { @@ -1864,7 +1909,7 @@ public CompletableFuture getStats() { * API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-token">Documentation * on elastic.co */ @@ -1904,7 +1949,7 @@ public CompletableFuture getToken(GetTokenRequest request) { * a function that initializes a builder to create the * {@link GetTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-token">Documentation * on elastic.co */ @@ -1939,7 +1984,7 @@ public final CompletableFuture getToken( * API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-token">Documentation * on elastic.co */ @@ -1956,7 +2001,7 @@ public CompletableFuture getToken() { * Get information about users in the native realm and built-in users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user">Documentation * on elastic.co */ @@ -1976,7 +2021,7 @@ public CompletableFuture getUser(GetUserRequest request) { * a function that initializes a builder to create the * {@link GetUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user">Documentation * on elastic.co */ @@ -1991,7 +2036,7 @@ public final CompletableFuture getUser( * Get information about users in the native realm and built-in users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user">Documentation * on elastic.co */ @@ -2011,7 +2056,7 @@ public CompletableFuture getUser() { * specific list of privileges, use the has privileges API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-privileges">Documentation * on elastic.co */ public CompletableFuture getUserPrivileges() { @@ -2033,7 +2078,7 @@ public CompletableFuture getUserPrivileges() { * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-profile">Documentation * on elastic.co */ @@ -2059,7 +2104,7 @@ public CompletableFuture getUserProfile(GetUserProfileRe * a function that initializes a builder to create the * {@link GetUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-profile">Documentation * on elastic.co */ @@ -2102,7 +2147,7 @@ public final CompletableFuture getUserProfile( * when you create the API keys. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-grant-api-key">Documentation * on elastic.co */ @@ -2148,7 +2193,7 @@ public CompletableFuture grantApiKey(GrantApiKeyRequest req * a function that initializes a builder to create the * {@link GrantApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-grant-api-key">Documentation * on elastic.co */ @@ -2167,7 +2212,7 @@ public final CompletableFuture grantApiKey( * the privileges of other users, you must use the run as feature. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges">Documentation * on elastic.co */ @@ -2189,7 +2234,7 @@ public CompletableFuture hasPrivileges(HasPrivilegesReque * a function that initializes a builder to create the * {@link HasPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges">Documentation * on elastic.co */ @@ -2206,7 +2251,7 @@ public final CompletableFuture hasPrivileges( * the privileges of other users, you must use the run as feature. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges">Documentation * on elastic.co */ @@ -2230,7 +2275,7 @@ public CompletableFuture hasPrivileges() { * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges-user-profile">Documentation * on elastic.co */ @@ -2258,7 +2303,7 @@ public CompletableFuture hasPrivilegesUserProf * a function that initializes a builder to create the * {@link HasPrivilegesUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges-user-profile">Documentation * on elastic.co */ @@ -2295,7 +2340,7 @@ public final CompletableFuture hasPrivilegesUs * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-api-key">Documentation * on elastic.co */ @@ -2335,7 +2380,7 @@ public CompletableFuture invalidateApiKey(InvalidateAp * a function that initializes a builder to create the * {@link InvalidateApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-api-key">Documentation * on elastic.co */ @@ -2370,7 +2415,7 @@ public final CompletableFuture invalidateApiKey( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-api-key">Documentation * on elastic.co */ @@ -2400,7 +2445,7 @@ public CompletableFuture invalidateApiKey() { * be specified. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-token">Documentation * on elastic.co */ @@ -2433,7 +2478,7 @@ public CompletableFuture invalidateToken(InvalidateToke * a function that initializes a builder to create the * {@link InvalidateTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-token">Documentation * on elastic.co */ @@ -2461,7 +2506,7 @@ public final CompletableFuture invalidateToken( * be specified. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-token">Documentation * on elastic.co */ @@ -2485,7 +2530,7 @@ public CompletableFuture invalidateToken() { * other, custom web applications or other clients. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-authenticate">Documentation * on elastic.co */ @@ -2512,7 +2557,7 @@ public CompletableFuture oidcAuthenticate(OidcAuthenti * a function that initializes a builder to create the * {@link OidcAuthenticateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-authenticate">Documentation * on elastic.co */ @@ -2540,7 +2585,7 @@ public final CompletableFuture oidcAuthenticate( * other, custom web applications or other clients. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-logout">Documentation * on elastic.co */ @@ -2571,7 +2616,7 @@ public CompletableFuture oidcLogout(OidcLogoutRequest reques * a function that initializes a builder to create the * {@link OidcLogoutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-logout">Documentation * on elastic.co */ @@ -2598,7 +2643,7 @@ public final CompletableFuture oidcLogout( * other, custom web applications or other clients. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-prepare-authentication">Documentation * on elastic.co */ @@ -2629,7 +2674,7 @@ public CompletableFuture oidcPrepareAuthentic * a function that initializes a builder to create the * {@link OidcPrepareAuthenticationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-prepare-authentication">Documentation * on elastic.co */ @@ -2654,7 +2699,7 @@ public final CompletableFuture oidcPrepareAut * other, custom web applications or other clients. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-prepare-authentication">Documentation * on elastic.co */ @@ -2700,7 +2745,7 @@ public CompletableFuture oidcPrepareAuthentic * *, :. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-privileges">Documentation * on elastic.co */ @@ -2749,7 +2794,7 @@ public CompletableFuture putPrivileges(PutPrivilegesReque * a function that initializes a builder to create the * {@link PutPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-privileges">Documentation * on elastic.co */ @@ -2793,7 +2838,7 @@ public final CompletableFuture putPrivileges( * *, :. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-privileges">Documentation * on elastic.co */ @@ -2813,7 +2858,7 @@ public CompletableFuture putPrivileges() { * File-based role management is not available in Elastic Serverless. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role">Documentation * on elastic.co */ @@ -2836,7 +2881,7 @@ public CompletableFuture putRole(PutRoleRequest request) { * a function that initializes a builder to create the * {@link PutRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role">Documentation * on elastic.co */ @@ -2888,7 +2933,7 @@ public final CompletableFuture putRole( * a JSON string or an array of JSON strings for the role names. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role-mapping">Documentation * on elastic.co */ @@ -2943,7 +2988,7 @@ public CompletableFuture putRoleMapping(PutRoleMappingRe * a function that initializes a builder to create the * {@link PutRoleMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role-mapping">Documentation * on elastic.co */ @@ -2962,7 +3007,7 @@ public final CompletableFuture putRoleMapping( * password without updating any other fields, use the change password API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-user">Documentation * on elastic.co */ @@ -2984,7 +3029,7 @@ public CompletableFuture putUser(PutUserRequest request) { * a function that initializes a builder to create the * {@link PutUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-user">Documentation * on elastic.co */ @@ -3011,7 +3056,7 @@ public final CompletableFuture putUser( * keys: * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-api-keys">Documentation * on elastic.co */ @@ -3041,7 +3086,7 @@ public CompletableFuture queryApiKeys(QueryApiKeysRequest * a function that initializes a builder to create the * {@link QueryApiKeysRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-api-keys">Documentation * on elastic.co */ @@ -3066,7 +3111,7 @@ public final CompletableFuture queryApiKeys( * keys: * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-api-keys">Documentation * on elastic.co */ @@ -3087,7 +3132,7 @@ public CompletableFuture queryApiKeys() { * the results can be paginated and sorted. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-role">Documentation * on elastic.co */ @@ -3111,7 +3156,7 @@ public CompletableFuture queryRole(QueryRoleRequest request) * a function that initializes a builder to create the * {@link QueryRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-role">Documentation * on elastic.co */ @@ -3130,7 +3175,7 @@ public final CompletableFuture queryRole( * the results can be paginated and sorted. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-role">Documentation * on elastic.co */ @@ -3151,7 +3196,7 @@ public CompletableFuture queryRole() { * result. This API is only for native users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-user">Documentation * on elastic.co */ @@ -3175,7 +3220,7 @@ public CompletableFuture queryUser(QueryUserRequest request) * a function that initializes a builder to create the * {@link QueryUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-user">Documentation * on elastic.co */ @@ -3194,7 +3239,7 @@ public final CompletableFuture queryUser( * result. This API is only for native users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-user">Documentation * on elastic.co */ @@ -3232,7 +3277,7 @@ public CompletableFuture queryUser() { * refresh tokens, which can be used for authentication against Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-authenticate">Documentation * on elastic.co */ @@ -3273,7 +3318,7 @@ public CompletableFuture samlAuthenticate(SamlAuthenti * a function that initializes a builder to create the * {@link SamlAuthenticateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-authenticate">Documentation * on elastic.co */ @@ -3302,7 +3347,7 @@ public final CompletableFuture samlAuthenticate( * either of them. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-complete-logout">Documentation * on elastic.co */ @@ -3334,7 +3379,7 @@ public CompletableFuture samlCompleteLogout(SamlCompleteLogoutR * a function that initializes a builder to create the * {@link SamlCompleteLogoutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-complete-logout">Documentation * on elastic.co */ @@ -3363,7 +3408,7 @@ public final CompletableFuture samlCompleteLogout( * IdP. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-invalidate">Documentation * on elastic.co */ @@ -3395,7 +3440,7 @@ public CompletableFuture samlInvalidate(SamlInvalidateRe * a function that initializes a builder to create the * {@link SamlInvalidateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-invalidate">Documentation * on elastic.co */ @@ -3422,7 +3467,7 @@ public final CompletableFuture samlInvalidate( * request (starting an SP-initiated SAML Single Logout). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-logout">Documentation * on elastic.co */ @@ -3452,7 +3497,7 @@ public CompletableFuture samlLogout(SamlLogoutRequest reques * a function that initializes a builder to create the * {@link SamlLogoutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-logout">Documentation * on elastic.co */ @@ -3487,7 +3532,7 @@ public final CompletableFuture samlLogout( * as it needs to be used in a following step of the authentication process. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-prepare-authentication">Documentation * on elastic.co */ @@ -3526,7 +3571,7 @@ public CompletableFuture samlPrepareAuthentic * a function that initializes a builder to create the * {@link SamlPrepareAuthenticationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-prepare-authentication">Documentation * on elastic.co */ @@ -3559,7 +3604,7 @@ public final CompletableFuture samlPrepareAut * as it needs to be used in a following step of the authentication process. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-prepare-authentication">Documentation * on elastic.co */ @@ -3581,7 +3626,7 @@ public CompletableFuture samlPrepareAuthentic * realm in Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-service-provider-metadata">Documentation * on elastic.co */ @@ -3607,7 +3652,7 @@ public CompletableFuture samlServiceProvide * a function that initializes a builder to create the * {@link SamlServiceProviderMetadataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-service-provider-metadata">Documentation * on elastic.co */ @@ -3630,7 +3675,7 @@ public final CompletableFuture samlServiceP * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-suggest-user-profiles">Documentation * on elastic.co */ @@ -3656,7 +3701,7 @@ public CompletableFuture suggestUserProfiles(Sugges * a function that initializes a builder to create the * {@link SuggestUserProfilesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-suggest-user-profiles">Documentation * on elastic.co */ @@ -3677,7 +3722,7 @@ public final CompletableFuture suggestUserProfiles( * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-suggest-user-profiles">Documentation * on elastic.co */ @@ -3719,7 +3764,7 @@ public CompletableFuture suggestUserProfiles() { * created or last modified. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-api-key">Documentation * on elastic.co */ @@ -3764,7 +3809,7 @@ public CompletableFuture updateApiKey(UpdateApiKeyRequest * a function that initializes a builder to create the * {@link UpdateApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-api-key">Documentation * on elastic.co */ @@ -3805,7 +3850,7 @@ public final CompletableFuture updateApiKey( * cross cluter API key API examples page. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-cross-cluster-api-key">Documentation * on elastic.co */ @@ -3850,7 +3895,7 @@ public CompletableFuture updateCrossClusterApi * a function that initializes a builder to create the * {@link UpdateCrossClusterApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-cross-cluster-api-key">Documentation * on elastic.co */ @@ -3878,7 +3923,7 @@ public final CompletableFuture updateCrossClus * the settings for indices before they are in use. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-settings">Documentation * on elastic.co */ @@ -3909,7 +3954,7 @@ public CompletableFuture updateSettings(UpdateSettingsRe * a function that initializes a builder to create the * {@link UpdateSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-settings">Documentation * on elastic.co */ @@ -3935,7 +3980,7 @@ public final CompletableFuture updateSettings( * the settings for indices before they are in use. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-settings">Documentation * on elastic.co */ @@ -3975,7 +4020,7 @@ public CompletableFuture updateSettings() { * updating only the allowed namespaces. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-user-profile-data">Documentation * on elastic.co */ @@ -4019,7 +4064,7 @@ public CompletableFuture updateUserProfileData( * a function that initializes a builder to create the * {@link UpdateUserProfileDataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-user-profile-data">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityClient.java index 54861874d7..01a7db8844 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ElasticsearchSecurityClient.java @@ -94,7 +94,7 @@ public ElasticsearchSecurityClient withTransportOptions(@Nullable TransportOptio * labels or data fields. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-activate-user-profile">Documentation * on elastic.co */ @@ -135,7 +135,7 @@ public ActivateUserProfileResponse activateUserProfile(ActivateUserProfileReques * a function that initializes a builder to create the * {@link ActivateUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-activate-user-profile">Documentation * on elastic.co */ @@ -160,7 +160,7 @@ public final ActivateUserProfileResponse activateUserProfile( * returns a 401 status code. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-authenticate">Documentation * on elastic.co */ public AuthenticateResponse authenticate() throws IOException, ElasticsearchException { @@ -178,7 +178,7 @@ public AuthenticateResponse authenticate() throws IOException, ElasticsearchExce * cannot delete roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-delete-role">Documentation * on elastic.co */ @@ -201,7 +201,7 @@ public BulkDeleteRoleResponse bulkDeleteRole(BulkDeleteRoleRequest request) * a function that initializes a builder to create the * {@link BulkDeleteRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-delete-role">Documentation * on elastic.co */ @@ -221,7 +221,7 @@ public final BulkDeleteRoleResponse bulkDeleteRole( * API cannot update roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-put-role">Documentation * on elastic.co */ @@ -243,7 +243,7 @@ public BulkPutRoleResponse bulkPutRole(BulkPutRoleRequest request) throws IOExce * a function that initializes a builder to create the * {@link BulkPutRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-put-role">Documentation * on elastic.co */ @@ -286,7 +286,7 @@ public final BulkPutRoleResponse bulkPutRole( * and did not require an update, and error details for any failed update. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-update-api-keys">Documentation * on elastic.co */ @@ -332,7 +332,7 @@ public BulkUpdateApiKeysResponse bulkUpdateApiKeys(BulkUpdateApiKeysRequest requ * a function that initializes a builder to create the * {@link BulkUpdateApiKeysRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-bulk-update-api-keys">Documentation * on elastic.co */ @@ -350,7 +350,7 @@ public final BulkUpdateApiKeysResponse bulkUpdateApiKeys( * Change the passwords of users in the native realm and built-in users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-change-password">Documentation * on elastic.co */ @@ -371,7 +371,7 @@ public ChangePasswordResponse changePassword(ChangePasswordRequest request) * a function that initializes a builder to create the * {@link ChangePasswordRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-change-password">Documentation * on elastic.co */ @@ -387,7 +387,7 @@ public final ChangePasswordResponse changePassword( * Change the passwords of users in the native realm and built-in users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-change-password">Documentation * on elastic.co */ @@ -405,7 +405,7 @@ public ChangePasswordResponse changePassword() throws IOException, Elasticsearch * automatically cleared on state changes of the security index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-api-key-cache">Documentation * on elastic.co */ @@ -427,7 +427,7 @@ public ClearApiKeyCacheResponse clearApiKeyCache(ClearApiKeyCacheRequest request * a function that initializes a builder to create the * {@link ClearApiKeyCacheRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-api-key-cache">Documentation * on elastic.co */ @@ -447,7 +447,7 @@ public final ClearApiKeyCacheResponse clearApiKeyCache( * updated. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-privileges">Documentation * on elastic.co */ @@ -470,7 +470,7 @@ public ClearCachedPrivilegesResponse clearCachedPrivileges(ClearCachedPrivileges * a function that initializes a builder to create the * {@link ClearCachedPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-privileges">Documentation * on elastic.co */ @@ -495,7 +495,7 @@ public final ClearCachedPrivilegesResponse clearCachedPrivileges( * cache. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-realms">Documentation * on elastic.co */ @@ -523,7 +523,7 @@ public ClearCachedRealmsResponse clearCachedRealms(ClearCachedRealmsRequest requ * a function that initializes a builder to create the * {@link ClearCachedRealmsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-realms">Documentation * on elastic.co */ @@ -541,7 +541,7 @@ public final ClearCachedRealmsResponse clearCachedRealms( * Evict roles from the native role cache. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-roles">Documentation * on elastic.co */ @@ -562,7 +562,7 @@ public ClearCachedRolesResponse clearCachedRoles(ClearCachedRolesRequest request * a function that initializes a builder to create the * {@link ClearCachedRolesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-roles">Documentation * on elastic.co */ @@ -589,7 +589,7 @@ public final ClearCachedRolesResponse clearCachedRoles( * automatically on file changes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-service-tokens">Documentation * on elastic.co */ @@ -619,7 +619,7 @@ public ClearCachedServiceTokensResponse clearCachedServiceTokens(ClearCachedServ * a function that initializes a builder to create the * {@link ClearCachedServiceTokensRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-clear-cached-service-tokens">Documentation * on elastic.co */ @@ -629,6 +629,52 @@ public final ClearCachedServiceTokensResponse clearCachedServiceTokens( return clearCachedServiceTokens(fn.apply(new ClearCachedServiceTokensRequest.Builder()).build()); } + // ----- Endpoint: security.clone_api_key + + /** + * Clone an API key. + *

+ * Create a copy of an existing API key with a new ID. The cloned key inherits + * the role descriptors of the source key. This is intended for applications + * (such as Kibana) that need to create API keys on behalf of a user using an + * existing API key credential, since derived API keys (API keys created by API + * keys) are not otherwise supported. + * + * @see Documentation + * on elastic.co + */ + + public CloneApiKeyResponse cloneApiKey(CloneApiKeyRequest request) throws IOException, ElasticsearchException { + @SuppressWarnings("unchecked") + JsonEndpoint endpoint = (JsonEndpoint) CloneApiKeyRequest._ENDPOINT; + + return this.transport.performRequest(request, endpoint, this.transportOptions); + } + + /** + * Clone an API key. + *

+ * Create a copy of an existing API key with a new ID. The cloned key inherits + * the role descriptors of the source key. This is intended for applications + * (such as Kibana) that need to create API keys on behalf of a user using an + * existing API key credential, since derived API keys (API keys created by API + * keys) are not otherwise supported. + * + * @param fn + * a function that initializes a builder to create the + * {@link CloneApiKeyRequest} + * @see Documentation + * on elastic.co + */ + + public final CloneApiKeyResponse cloneApiKey( + Function> fn) + throws IOException, ElasticsearchException { + return cloneApiKey(fn.apply(new CloneApiKeyRequest.Builder()).build()); + } + // ----- Endpoint: security.create_api_key /** @@ -652,7 +698,7 @@ public final ClearCachedServiceTokensResponse clearCachedServiceTokens( * API key service setting documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-api-key">Documentation * on elastic.co */ @@ -687,7 +733,7 @@ public CreateApiKeyResponse createApiKey(CreateApiKeyRequest request) throws IOE * a function that initializes a builder to create the * {@link CreateApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-api-key">Documentation * on elastic.co */ @@ -718,7 +764,7 @@ public final CreateApiKeyResponse createApiKey( * API key service setting documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-api-key">Documentation * on elastic.co */ @@ -759,7 +805,7 @@ public CreateApiKeyResponse createApiKey() throws IOException, ElasticsearchExce * bulk update REST API keys API will result in an error. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-cross-cluster-api-key">Documentation * on elastic.co */ @@ -804,7 +850,7 @@ public CreateCrossClusterApiKeyResponse createCrossClusterApiKey(CreateCrossClus * a function that initializes a builder to create the * {@link CreateCrossClusterApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-cross-cluster-api-key">Documentation * on elastic.co */ @@ -826,7 +872,7 @@ public final CreateCrossClusterApiKeyResponse createCrossClusterApiKey( * they are no longer needed. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-service-token">Documentation * on elastic.co */ @@ -851,7 +897,7 @@ public CreateServiceTokenResponse createServiceToken(CreateServiceTokenRequest r * a function that initializes a builder to create the * {@link CreateServiceTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-create-service-token">Documentation * on elastic.co */ @@ -885,7 +931,7 @@ public final CreateServiceTokenResponse createServiceToken( * this API translates that authentication into an Elasticsearch access token. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delegate-pki">Documentation * on elastic.co */ @@ -921,7 +967,7 @@ public DelegatePkiResponse delegatePki(DelegatePkiRequest request) throws IOExce * a function that initializes a builder to create the * {@link DelegatePkiRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delegate-pki">Documentation * on elastic.co */ @@ -945,7 +991,7 @@ public final DelegatePkiResponse delegatePki( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-privileges">Documentation * on elastic.co */ @@ -972,7 +1018,7 @@ public DeletePrivilegesResponse deletePrivileges(DeletePrivilegesRequest request * a function that initializes a builder to create the * {@link DeletePrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-privileges">Documentation * on elastic.co */ @@ -992,7 +1038,7 @@ public final DeletePrivilegesResponse deletePrivileges( * The delete roles API cannot remove roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role">Documentation * on elastic.co */ @@ -1014,7 +1060,7 @@ public DeleteRoleResponse deleteRole(DeleteRoleRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link DeleteRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role">Documentation * on elastic.co */ @@ -1034,7 +1080,7 @@ public final DeleteRoleResponse deleteRole(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role-mapping">Documentation * on elastic.co */ @@ -1058,7 +1104,7 @@ public DeleteRoleMappingResponse deleteRoleMapping(DeleteRoleMappingRequest requ * a function that initializes a builder to create the * {@link DeleteRoleMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-role-mapping">Documentation * on elastic.co */ @@ -1076,7 +1122,7 @@ public final DeleteRoleMappingResponse deleteRoleMapping( * Delete service account tokens for a service in a specified namespace. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-service-token">Documentation * on elastic.co */ @@ -1097,7 +1143,7 @@ public DeleteServiceTokenResponse deleteServiceToken(DeleteServiceTokenRequest r * a function that initializes a builder to create the * {@link DeleteServiceTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-service-token">Documentation * on elastic.co */ @@ -1115,7 +1161,7 @@ public final DeleteServiceTokenResponse deleteServiceToken( * Delete users from the native realm. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-user">Documentation * on elastic.co */ @@ -1135,7 +1181,7 @@ public DeleteUserResponse deleteUser(DeleteUserRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link DeleteUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-delete-user">Documentation * on elastic.co */ @@ -1153,7 +1199,7 @@ public final DeleteUserResponse deleteUser(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user">Documentation * on elastic.co */ @@ -1174,7 +1220,7 @@ public DisableUserResponse disableUser(DisableUserRequest request) throws IOExce * a function that initializes a builder to create the * {@link DisableUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user">Documentation * on elastic.co */ @@ -1203,7 +1249,7 @@ public final DisableUserResponse disableUser( * user profile, use the enable user profile API . * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user-profile">Documentation * on elastic.co */ @@ -1235,7 +1281,7 @@ public DisableUserProfileResponse disableUserProfile(DisableUserProfileRequest r * a function that initializes a builder to create the * {@link DisableUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-disable-user-profile">Documentation * on elastic.co */ @@ -1254,7 +1300,7 @@ public final DisableUserProfileResponse disableUserProfile( * enabled. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user">Documentation * on elastic.co */ @@ -1275,7 +1321,7 @@ public EnableUserResponse enableUser(EnableUserRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link EnableUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user">Documentation * on elastic.co */ @@ -1302,7 +1348,7 @@ public final EnableUserResponse enableUser(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user-profile">Documentation * on elastic.co */ @@ -1333,7 +1379,7 @@ public EnableUserProfileResponse enableUserProfile(EnableUserProfileRequest requ * a function that initializes a builder to create the * {@link EnableUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enable-user-profile">Documentation * on elastic.co */ @@ -1356,7 +1402,7 @@ public final EnableUserProfileResponse enableUserProfile( * Elasticsearch cluster that already has security features enabled. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enroll-kibana">Documentation * on elastic.co */ public EnrollKibanaResponse enrollKibana() throws IOException, ElasticsearchException { @@ -1379,7 +1425,7 @@ public EnrollKibanaResponse enrollKibana() throws IOException, ElasticsearchExce * all nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-enroll-node">Documentation * on elastic.co */ public EnrollNodeResponse enrollNode() throws IOException, ElasticsearchException { @@ -1400,7 +1446,7 @@ public EnrollNodeResponse enrollNode() throws IOException, ElasticsearchExceptio * ownership. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-api-key">Documentation * on elastic.co */ @@ -1425,7 +1471,7 @@ public GetApiKeyResponse getApiKey(GetApiKeyRequest request) throws IOException, * a function that initializes a builder to create the * {@link GetApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-api-key">Documentation * on elastic.co */ @@ -1445,7 +1491,7 @@ public final GetApiKeyResponse getApiKey(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-api-key">Documentation * on elastic.co */ @@ -1463,7 +1509,7 @@ public GetApiKeyResponse getApiKey() throws IOException, ElasticsearchException * this version of Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-builtin-privileges">Documentation * on elastic.co */ public GetBuiltinPrivilegesResponse getBuiltinPrivileges() throws IOException, ElasticsearchException { @@ -1485,7 +1531,7 @@ public GetBuiltinPrivilegesResponse getBuiltinPrivileges() throws IOException, E * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-privileges">Documentation * on elastic.co */ @@ -1512,7 +1558,7 @@ public GetPrivilegesResponse getPrivileges(GetPrivilegesRequest request) * a function that initializes a builder to create the * {@link GetPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-privileges">Documentation * on elastic.co */ @@ -1534,7 +1580,7 @@ public final GetPrivilegesResponse getPrivileges( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-privileges">Documentation * on elastic.co */ @@ -1553,7 +1599,7 @@ public GetPrivilegesResponse getPrivileges() throws IOException, ElasticsearchEx * The get roles API cannot retrieve roles that are defined in roles files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role">Documentation * on elastic.co */ @@ -1575,7 +1621,7 @@ public GetRoleResponse getRole(GetRoleRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link GetRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role">Documentation * on elastic.co */ @@ -1592,7 +1638,7 @@ public final GetRoleResponse getRole(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role">Documentation * on elastic.co */ @@ -1612,7 +1658,7 @@ public GetRoleResponse getRole() throws IOException, ElasticsearchException { * mappings that are defined in role mapping files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role-mapping">Documentation * on elastic.co */ @@ -1636,7 +1682,7 @@ public GetRoleMappingResponse getRoleMapping(GetRoleMappingRequest request) * a function that initializes a builder to create the * {@link GetRoleMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role-mapping">Documentation * on elastic.co */ @@ -1655,7 +1701,7 @@ public final GetRoleMappingResponse getRoleMapping( * mappings that are defined in role mapping files. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-role-mapping">Documentation * on elastic.co */ @@ -1675,7 +1721,7 @@ public GetRoleMappingResponse getRoleMapping() throws IOException, Elasticsearch * is available. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-accounts">Documentation * on elastic.co */ @@ -1699,7 +1745,7 @@ public GetServiceAccountsResponse getServiceAccounts(GetServiceAccountsRequest r * a function that initializes a builder to create the * {@link GetServiceAccountsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-accounts">Documentation * on elastic.co */ @@ -1718,7 +1764,7 @@ public final GetServiceAccountsResponse getServiceAccounts( * is available. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-accounts">Documentation * on elastic.co */ @@ -1746,7 +1792,7 @@ public GetServiceAccountsResponse getServiceAccounts() throws IOException, Elast * towards the total number of service tokens. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-credentials">Documentation * on elastic.co */ @@ -1778,7 +1824,7 @@ public GetServiceCredentialsResponse getServiceCredentials(GetServiceCredentials * a function that initializes a builder to create the * {@link GetServiceCredentialsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-service-credentials">Documentation * on elastic.co */ @@ -1802,7 +1848,7 @@ public final GetServiceCredentialsResponse getServiceCredentials( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-settings">Documentation * on elastic.co */ @@ -1829,7 +1875,7 @@ public GetSecuritySettingsResponse getSettings(GetSecuritySettingsRequest reques * a function that initializes a builder to create the * {@link GetSecuritySettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-settings">Documentation * on elastic.co */ @@ -1851,7 +1897,7 @@ public final GetSecuritySettingsResponse getSettings( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-settings">Documentation * on elastic.co */ @@ -1868,7 +1914,7 @@ public GetSecuritySettingsResponse getSettings() throws IOException, Elasticsear * Gather security usage statistics from all node(s) within the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-stats">Documentation * on elastic.co */ public GetStatsResponse getStats() throws IOException, ElasticsearchException { @@ -1904,7 +1950,7 @@ public GetStatsResponse getStats() throws IOException, ElasticsearchException { * API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-token">Documentation * on elastic.co */ @@ -1944,7 +1990,7 @@ public GetTokenResponse getToken(GetTokenRequest request) throws IOException, El * a function that initializes a builder to create the * {@link GetTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-token">Documentation * on elastic.co */ @@ -1979,7 +2025,7 @@ public final GetTokenResponse getToken(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-token">Documentation * on elastic.co */ @@ -1996,7 +2042,7 @@ public GetTokenResponse getToken() throws IOException, ElasticsearchException { * Get information about users in the native realm and built-in users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user">Documentation * on elastic.co */ @@ -2016,7 +2062,7 @@ public GetUserResponse getUser(GetUserRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link GetUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user">Documentation * on elastic.co */ @@ -2031,7 +2077,7 @@ public final GetUserResponse getUser(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user">Documentation * on elastic.co */ @@ -2051,7 +2097,7 @@ public GetUserResponse getUser() throws IOException, ElasticsearchException { * specific list of privileges, use the has privileges API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-privileges">Documentation * on elastic.co */ public GetUserPrivilegesResponse getUserPrivileges() throws IOException, ElasticsearchException { @@ -2073,7 +2119,7 @@ public GetUserPrivilegesResponse getUserPrivileges() throws IOException, Elastic * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-profile">Documentation * on elastic.co */ @@ -2100,7 +2146,7 @@ public GetUserProfileResponse getUserProfile(GetUserProfileRequest request) * a function that initializes a builder to create the * {@link GetUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-get-user-profile">Documentation * on elastic.co */ @@ -2144,7 +2190,7 @@ public final GetUserProfileResponse getUserProfile( * when you create the API keys. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-grant-api-key">Documentation * on elastic.co */ @@ -2190,7 +2236,7 @@ public GrantApiKeyResponse grantApiKey(GrantApiKeyRequest request) throws IOExce * a function that initializes a builder to create the * {@link GrantApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-grant-api-key">Documentation * on elastic.co */ @@ -2210,7 +2256,7 @@ public final GrantApiKeyResponse grantApiKey( * the privileges of other users, you must use the run as feature. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges">Documentation * on elastic.co */ @@ -2233,7 +2279,7 @@ public HasPrivilegesResponse hasPrivileges(HasPrivilegesRequest request) * a function that initializes a builder to create the * {@link HasPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges">Documentation * on elastic.co */ @@ -2251,7 +2297,7 @@ public final HasPrivilegesResponse hasPrivileges( * the privileges of other users, you must use the run as feature. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges">Documentation * on elastic.co */ @@ -2275,7 +2321,7 @@ public HasPrivilegesResponse hasPrivileges() throws IOException, ElasticsearchEx * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges-user-profile">Documentation * on elastic.co */ @@ -2303,7 +2349,7 @@ public HasPrivilegesUserProfileResponse hasPrivilegesUserProfile(HasPrivilegesUs * a function that initializes a builder to create the * {@link HasPrivilegesUserProfileRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-has-privileges-user-profile">Documentation * on elastic.co */ @@ -2341,7 +2387,7 @@ public final HasPrivilegesUserProfileResponse hasPrivilegesUserProfile( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-api-key">Documentation * on elastic.co */ @@ -2382,7 +2428,7 @@ public InvalidateApiKeyResponse invalidateApiKey(InvalidateApiKeyRequest request * a function that initializes a builder to create the * {@link InvalidateApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-api-key">Documentation * on elastic.co */ @@ -2418,7 +2464,7 @@ public final InvalidateApiKeyResponse invalidateApiKey( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-api-key">Documentation * on elastic.co */ @@ -2448,7 +2494,7 @@ public InvalidateApiKeyResponse invalidateApiKey() throws IOException, Elasticse * be specified. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-token">Documentation * on elastic.co */ @@ -2482,7 +2528,7 @@ public InvalidateTokenResponse invalidateToken(InvalidateTokenRequest request) * a function that initializes a builder to create the * {@link InvalidateTokenRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-token">Documentation * on elastic.co */ @@ -2511,7 +2557,7 @@ public final InvalidateTokenResponse invalidateToken( * be specified. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-invalidate-token">Documentation * on elastic.co */ @@ -2535,7 +2581,7 @@ public InvalidateTokenResponse invalidateToken() throws IOException, Elasticsear * other, custom web applications or other clients. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-authenticate">Documentation * on elastic.co */ @@ -2563,7 +2609,7 @@ public OidcAuthenticateResponse oidcAuthenticate(OidcAuthenticateRequest request * a function that initializes a builder to create the * {@link OidcAuthenticateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-authenticate">Documentation * on elastic.co */ @@ -2592,7 +2638,7 @@ public final OidcAuthenticateResponse oidcAuthenticate( * other, custom web applications or other clients. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-logout">Documentation * on elastic.co */ @@ -2623,7 +2669,7 @@ public OidcLogoutResponse oidcLogout(OidcLogoutRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link OidcLogoutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-logout">Documentation * on elastic.co */ @@ -2650,7 +2696,7 @@ public final OidcLogoutResponse oidcLogout(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-prepare-authentication">Documentation * on elastic.co */ @@ -2681,7 +2727,7 @@ public OidcPrepareAuthenticationResponse oidcPrepareAuthentication(OidcPrepareAu * a function that initializes a builder to create the * {@link OidcPrepareAuthenticationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-prepare-authentication">Documentation * on elastic.co */ @@ -2707,7 +2753,7 @@ public final OidcPrepareAuthenticationResponse oidcPrepareAuthentication( * other, custom web applications or other clients. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-oidc-prepare-authentication">Documentation * on elastic.co */ @@ -2753,7 +2799,7 @@ public OidcPrepareAuthenticationResponse oidcPrepareAuthentication() throws IOEx * *, :. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-privileges">Documentation * on elastic.co */ @@ -2803,7 +2849,7 @@ public PutPrivilegesResponse putPrivileges(PutPrivilegesRequest request) * a function that initializes a builder to create the * {@link PutPrivilegesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-privileges">Documentation * on elastic.co */ @@ -2848,7 +2894,7 @@ public final PutPrivilegesResponse putPrivileges( * *, :. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-privileges">Documentation * on elastic.co */ @@ -2868,7 +2914,7 @@ public PutPrivilegesResponse putPrivileges() throws IOException, ElasticsearchEx * File-based role management is not available in Elastic Serverless. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role">Documentation * on elastic.co */ @@ -2891,7 +2937,7 @@ public PutRoleResponse putRole(PutRoleRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link PutRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role">Documentation * on elastic.co */ @@ -2943,7 +2989,7 @@ public final PutRoleResponse putRole(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role-mapping">Documentation * on elastic.co */ @@ -2999,7 +3045,7 @@ public PutRoleMappingResponse putRoleMapping(PutRoleMappingRequest request) * a function that initializes a builder to create the * {@link PutRoleMappingRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-role-mapping">Documentation * on elastic.co */ @@ -3019,7 +3065,7 @@ public final PutRoleMappingResponse putRoleMapping( * password without updating any other fields, use the change password API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-user">Documentation * on elastic.co */ @@ -3041,7 +3087,7 @@ public PutUserResponse putUser(PutUserRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link PutUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-put-user">Documentation * on elastic.co */ @@ -3068,7 +3114,7 @@ public final PutUserResponse putUser(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-api-keys">Documentation * on elastic.co */ @@ -3098,7 +3144,7 @@ public QueryApiKeysResponse queryApiKeys(QueryApiKeysRequest request) throws IOE * a function that initializes a builder to create the * {@link QueryApiKeysRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-api-keys">Documentation * on elastic.co */ @@ -3124,7 +3170,7 @@ public final QueryApiKeysResponse queryApiKeys( * keys: * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-api-keys">Documentation * on elastic.co */ @@ -3145,7 +3191,7 @@ public QueryApiKeysResponse queryApiKeys() throws IOException, ElasticsearchExce * the results can be paginated and sorted. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-role">Documentation * on elastic.co */ @@ -3169,7 +3215,7 @@ public QueryRoleResponse queryRole(QueryRoleRequest request) throws IOException, * a function that initializes a builder to create the * {@link QueryRoleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-role">Documentation * on elastic.co */ @@ -3188,7 +3234,7 @@ public final QueryRoleResponse queryRole(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-role">Documentation * on elastic.co */ @@ -3209,7 +3255,7 @@ public QueryRoleResponse queryRole() throws IOException, ElasticsearchException * result. This API is only for native users. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-user">Documentation * on elastic.co */ @@ -3233,7 +3279,7 @@ public QueryUserResponse queryUser(QueryUserRequest request) throws IOException, * a function that initializes a builder to create the * {@link QueryUserRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-user">Documentation * on elastic.co */ @@ -3252,7 +3298,7 @@ public final QueryUserResponse queryUser(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-query-user">Documentation * on elastic.co */ @@ -3290,7 +3336,7 @@ public QueryUserResponse queryUser() throws IOException, ElasticsearchException * refresh tokens, which can be used for authentication against Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-authenticate">Documentation * on elastic.co */ @@ -3332,7 +3378,7 @@ public SamlAuthenticateResponse samlAuthenticate(SamlAuthenticateRequest request * a function that initializes a builder to create the * {@link SamlAuthenticateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-authenticate">Documentation * on elastic.co */ @@ -3362,7 +3408,7 @@ public final SamlAuthenticateResponse samlAuthenticate( * either of them. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-complete-logout">Documentation * on elastic.co */ @@ -3395,7 +3441,7 @@ public BooleanResponse samlCompleteLogout(SamlCompleteLogoutRequest request) * a function that initializes a builder to create the * {@link SamlCompleteLogoutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-complete-logout">Documentation * on elastic.co */ @@ -3425,7 +3471,7 @@ public final BooleanResponse samlCompleteLogout( * IdP. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-invalidate">Documentation * on elastic.co */ @@ -3458,7 +3504,7 @@ public SamlInvalidateResponse samlInvalidate(SamlInvalidateRequest request) * a function that initializes a builder to create the * {@link SamlInvalidateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-invalidate">Documentation * on elastic.co */ @@ -3486,7 +3532,7 @@ public final SamlInvalidateResponse samlInvalidate( * request (starting an SP-initiated SAML Single Logout). * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-logout">Documentation * on elastic.co */ @@ -3516,7 +3562,7 @@ public SamlLogoutResponse samlLogout(SamlLogoutRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link SamlLogoutRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-logout">Documentation * on elastic.co */ @@ -3551,7 +3597,7 @@ public final SamlLogoutResponse samlLogout(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-prepare-authentication">Documentation * on elastic.co */ @@ -3590,7 +3636,7 @@ public SamlPrepareAuthenticationResponse samlPrepareAuthentication(SamlPrepareAu * a function that initializes a builder to create the * {@link SamlPrepareAuthenticationRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-prepare-authentication">Documentation * on elastic.co */ @@ -3624,7 +3670,7 @@ public final SamlPrepareAuthenticationResponse samlPrepareAuthentication( * as it needs to be used in a following step of the authentication process. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-prepare-authentication">Documentation * on elastic.co */ @@ -3646,7 +3692,7 @@ public SamlPrepareAuthenticationResponse samlPrepareAuthentication() throws IOEx * realm in Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-service-provider-metadata">Documentation * on elastic.co */ @@ -3672,7 +3718,7 @@ public SamlServiceProviderMetadataResponse samlServiceProviderMetadata(SamlServi * a function that initializes a builder to create the * {@link SamlServiceProviderMetadataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-saml-service-provider-metadata">Documentation * on elastic.co */ @@ -3696,7 +3742,7 @@ public final SamlServiceProviderMetadataResponse samlServiceProviderMetadata( * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-suggest-user-profiles">Documentation * on elastic.co */ @@ -3723,7 +3769,7 @@ public SuggestUserProfilesResponse suggestUserProfiles(SuggestUserProfilesReques * a function that initializes a builder to create the * {@link SuggestUserProfilesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-suggest-user-profiles">Documentation * on elastic.co */ @@ -3745,7 +3791,7 @@ public final SuggestUserProfilesResponse suggestUserProfiles( * releases without prior notice. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-suggest-user-profiles">Documentation * on elastic.co */ @@ -3787,7 +3833,7 @@ public SuggestUserProfilesResponse suggestUserProfiles() throws IOException, Ela * created or last modified. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-api-key">Documentation * on elastic.co */ @@ -3832,7 +3878,7 @@ public UpdateApiKeyResponse updateApiKey(UpdateApiKeyRequest request) throws IOE * a function that initializes a builder to create the * {@link UpdateApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-api-key">Documentation * on elastic.co */ @@ -3874,7 +3920,7 @@ public final UpdateApiKeyResponse updateApiKey( * cross cluter API key API examples page. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-cross-cluster-api-key">Documentation * on elastic.co */ @@ -3919,7 +3965,7 @@ public UpdateCrossClusterApiKeyResponse updateCrossClusterApiKey(UpdateCrossClus * a function that initializes a builder to create the * {@link UpdateCrossClusterApiKeyRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-cross-cluster-api-key">Documentation * on elastic.co */ @@ -3948,7 +3994,7 @@ public final UpdateCrossClusterApiKeyResponse updateCrossClusterApiKey( * the settings for indices before they are in use. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-settings">Documentation * on elastic.co */ @@ -3980,7 +4026,7 @@ public UpdateSettingsResponse updateSettings(UpdateSettingsRequest request) * a function that initializes a builder to create the * {@link UpdateSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-settings">Documentation * on elastic.co */ @@ -4007,7 +4053,7 @@ public final UpdateSettingsResponse updateSettings( * the settings for indices before they are in use. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-settings">Documentation * on elastic.co */ @@ -4047,7 +4093,7 @@ public UpdateSettingsResponse updateSettings() throws IOException, Elasticsearch * updating only the allowed namespaces. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-user-profile-data">Documentation * on elastic.co */ @@ -4091,7 +4137,7 @@ public UpdateUserProfileDataResponse updateUserProfileData(UpdateUserProfileData * a function that initializes a builder to create the * {@link UpdateUserProfileDataRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-security-update-user-profile-data">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/AuthenticateApiKey.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/AuthenticateApiKey.java index 6e9fee6834..61db70128e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/AuthenticateApiKey.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/AuthenticateApiKey.java @@ -19,7 +19,7 @@ package co.elastic.clients.elasticsearch.security.authenticate; -import co.elastic.clients.elasticsearch.security.ApiKeyManagedBy; +import co.elastic.clients.elasticsearch.security.CredentialManagedBy; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -67,7 +67,7 @@ public class AuthenticateApiKey implements JsonpSerializable { @Nullable private final String name; - private final ApiKeyManagedBy managedBy; + private final CredentialManagedBy managedBy; @Nullable private final Boolean internal; @@ -105,7 +105,7 @@ public final String name() { /** * Required - API name: {@code managed_by} */ - public final ApiKeyManagedBy managedBy() { + public final CredentialManagedBy managedBy() { return this.managedBy; } @@ -165,7 +165,7 @@ public static class Builder extends WithJsonObjectBuilderBase @Nullable private String name; - private ApiKeyManagedBy managedBy; + private CredentialManagedBy managedBy; @Nullable private Boolean internal; @@ -198,7 +198,7 @@ public final Builder name(@Nullable String value) { /** * Required - API name: {@code managed_by} */ - public final Builder managedBy(ApiKeyManagedBy value) { + public final Builder managedBy(CredentialManagedBy value) { this.managedBy = value; return this; } @@ -247,7 +247,7 @@ protected static void setupAuthenticateApiKeyDeserializer(ObjectDeserializer> fn) } /** - * Required - API name: {@code name} + * API name: {@code name} */ + @Nullable public final String name() { return this.name; } @@ -92,6 +98,14 @@ public final String type() { return this.type; } + /** + * API name: {@code managed_by} + */ + @Nullable + public final CredentialManagedBy managedBy() { + return this.managedBy; + } + /** * Serialize this object to JSON. */ @@ -103,14 +117,20 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - generator.writeKey("name"); - generator.write(this.name); + if (this.name != null) { + generator.writeKey("name"); + generator.write(this.name); + } if (this.type != null) { generator.writeKey("type"); generator.write(this.type); } + if (this.managedBy != null) { + generator.writeKey("managed_by"); + this.managedBy.serialize(generator, mapper); + } } @@ -126,22 +146,27 @@ public String toString() { */ public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { + @Nullable private String name; @Nullable private String type; + @Nullable + private CredentialManagedBy managedBy; + public Builder() { } private Builder(ServiceToken instance) { this.name = instance.name; this.type = instance.type; + this.managedBy = instance.managedBy; } /** - * Required - API name: {@code name} + * API name: {@code name} */ - public final Builder name(String value) { + public final Builder name(@Nullable String value) { this.name = value; return this; } @@ -154,6 +179,14 @@ public final Builder type(@Nullable String value) { return this; } + /** + * API name: {@code managed_by} + */ + public final Builder managedBy(@Nullable CredentialManagedBy value) { + this.managedBy = value; + return this; + } + @Override protected Builder self() { return this; @@ -190,6 +223,7 @@ protected static void setupServiceTokenDeserializer(ObjectDeserializerDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-delete-node">Documentation * on elastic.co */ @@ -115,7 +115,7 @@ public CompletableFuture deleteNode(DeleteNodeRequest reques * a function that initializes a builder to create the * {@link DeleteNodeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-delete-node">Documentation * on elastic.co */ @@ -141,7 +141,7 @@ public final CompletableFuture deleteNode( * this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-get-node">Documentation * on elastic.co */ @@ -170,7 +170,7 @@ public CompletableFuture getNode(GetNodeRequest request) { * a function that initializes a builder to create the * {@link GetNodeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-get-node">Documentation * on elastic.co */ @@ -194,7 +194,7 @@ public final CompletableFuture getNode( * this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-get-node">Documentation * on elastic.co */ @@ -231,7 +231,7 @@ public CompletableFuture getNode() { * node shutdown status to determine when it is safe to stop Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-put-node">Documentation * on elastic.co */ @@ -271,7 +271,7 @@ public CompletableFuture putNode(PutNodeRequest request) { * a function that initializes a builder to create the * {@link PutNodeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-put-node">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/ElasticsearchShutdownClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/ElasticsearchShutdownClient.java index 9c8a8f5fc8..7180c67fcc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/ElasticsearchShutdownClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/ElasticsearchShutdownClient.java @@ -83,7 +83,7 @@ public ElasticsearchShutdownClient withTransportOptions(@Nullable TransportOptio * this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-delete-node">Documentation * on elastic.co */ @@ -113,7 +113,7 @@ public DeleteNodeResponse deleteNode(DeleteNodeRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link DeleteNodeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-delete-node">Documentation * on elastic.co */ @@ -139,7 +139,7 @@ public final DeleteNodeResponse deleteNode(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-get-node">Documentation * on elastic.co */ @@ -168,7 +168,7 @@ public GetNodeResponse getNode(GetNodeRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link GetNodeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-get-node">Documentation * on elastic.co */ @@ -192,7 +192,7 @@ public final GetNodeResponse getNode(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-get-node">Documentation * on elastic.co */ @@ -229,7 +229,7 @@ public GetNodeResponse getNode() throws IOException, ElasticsearchException { * node shutdown status to determine when it is safe to stop Elasticsearch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-put-node">Documentation * on elastic.co */ @@ -269,7 +269,7 @@ public PutNodeResponse putNode(PutNodeRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link PutNodeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-shutdown-put-node">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateAsyncClient.java index c505b60464..8f24cacba9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateAsyncClient.java @@ -103,7 +103,7 @@ public ElasticsearchSimulateAsyncClient withTransportOptions(@Nullable Transport * within this request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-simulate-ingest">Documentation * on elastic.co */ @@ -151,7 +151,7 @@ public CompletableFuture ingest(IngestRequest request) { * a function that initializes a builder to create the * {@link IngestRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-simulate-ingest">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateClient.java index 29d8aec33d..74ef5d46e9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/simulate/ElasticsearchSimulateClient.java @@ -101,7 +101,7 @@ public ElasticsearchSimulateClient withTransportOptions(@Nullable TransportOptio * within this request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-simulate-ingest">Documentation * on elastic.co */ @@ -149,7 +149,7 @@ public IngestResponse ingest(IngestRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link IngestRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-simulate-ingest">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmAsyncClient.java index f72828f5be..4c94b0cd42 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmAsyncClient.java @@ -74,7 +74,7 @@ public ElasticsearchSlmAsyncClient withTransportOptions(@Nullable TransportOptio * or remove previously-taken snapshots. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-delete-lifecycle">Documentation * on elastic.co */ @@ -96,7 +96,7 @@ public CompletableFuture deleteLifecycle(DeleteLifecycl * a function that initializes a builder to create the * {@link DeleteLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-delete-lifecycle">Documentation * on elastic.co */ @@ -116,7 +116,7 @@ public final CompletableFuture deleteLifecycle( * policy before performing an upgrade or other maintenance. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-lifecycle">Documentation * on elastic.co */ @@ -139,7 +139,7 @@ public CompletableFuture executeLifecycle(ExecuteLifec * a function that initializes a builder to create the * {@link ExecuteLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-lifecycle">Documentation * on elastic.co */ @@ -158,7 +158,7 @@ public final CompletableFuture executeLifecycle( * The retention policy is normally applied according to its schedule. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-retention">Documentation * on elastic.co */ @@ -180,7 +180,7 @@ public CompletableFuture executeRetention(ExecuteReten * a function that initializes a builder to create the * {@link ExecuteRetentionRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-retention">Documentation * on elastic.co */ @@ -197,7 +197,7 @@ public final CompletableFuture executeRetention( * The retention policy is normally applied according to its schedule. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-retention">Documentation * on elastic.co */ @@ -215,7 +215,7 @@ public CompletableFuture executeRetention() { * snapshot attempts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-lifecycle">Documentation * on elastic.co */ @@ -236,7 +236,7 @@ public CompletableFuture getLifecycle(GetLifecycleRequest * a function that initializes a builder to create the * {@link GetLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-lifecycle">Documentation * on elastic.co */ @@ -252,7 +252,7 @@ public final CompletableFuture getLifecycle( * snapshot attempts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-lifecycle">Documentation * on elastic.co */ @@ -270,7 +270,7 @@ public CompletableFuture getLifecycle() { * lifecycle management. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-stats">Documentation * on elastic.co */ @@ -291,7 +291,7 @@ public CompletableFuture getStats(GetStatsRequest request) { * a function that initializes a builder to create the * {@link GetStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-stats">Documentation * on elastic.co */ @@ -307,7 +307,7 @@ public final CompletableFuture getStats( * lifecycle management. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-stats">Documentation * on elastic.co */ @@ -322,7 +322,7 @@ public CompletableFuture getStats() { * Get the snapshot lifecycle management status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-status">Documentation * on elastic.co */ @@ -340,7 +340,7 @@ public CompletableFuture getStatus(GetSlmStatusRequest req * a function that initializes a builder to create the * {@link GetSlmStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-status">Documentation * on elastic.co */ @@ -353,7 +353,7 @@ public final CompletableFuture getStatus( * Get the snapshot lifecycle management status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-status">Documentation * on elastic.co */ @@ -372,7 +372,7 @@ public CompletableFuture getStatus() { * policy is stored. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-put-lifecycle">Documentation * on elastic.co */ @@ -394,7 +394,7 @@ public CompletableFuture putLifecycle(PutLifecycleRequest * a function that initializes a builder to create the * {@link PutLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-put-lifecycle">Documentation * on elastic.co */ @@ -413,7 +413,7 @@ public final CompletableFuture putLifecycle( * the stop SLM API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-start">Documentation * on elastic.co */ @@ -435,7 +435,7 @@ public CompletableFuture start(StartSlmRequest request) { * a function that initializes a builder to create the * {@link StartSlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-start">Documentation * on elastic.co */ @@ -452,7 +452,7 @@ public final CompletableFuture start( * the stop SLM API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-start">Documentation * on elastic.co */ @@ -479,7 +479,7 @@ public CompletableFuture start() { * see if SLM is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-stop">Documentation * on elastic.co */ @@ -509,7 +509,7 @@ public CompletableFuture stop(StopSlmRequest request) { * a function that initializes a builder to create the * {@link StopSlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-stop">Documentation * on elastic.co */ @@ -534,7 +534,7 @@ public final CompletableFuture stop( * see if SLM is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-stop">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmClient.java index b8e4ec159d..4e1470c567 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ElasticsearchSlmClient.java @@ -75,7 +75,7 @@ public ElasticsearchSlmClient withTransportOptions(@Nullable TransportOptions tr * or remove previously-taken snapshots. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-delete-lifecycle">Documentation * on elastic.co */ @@ -98,7 +98,7 @@ public DeleteLifecycleResponse deleteLifecycle(DeleteLifecycleRequest request) * a function that initializes a builder to create the * {@link DeleteLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-delete-lifecycle">Documentation * on elastic.co */ @@ -119,7 +119,7 @@ public final DeleteLifecycleResponse deleteLifecycle( * policy before performing an upgrade or other maintenance. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-lifecycle">Documentation * on elastic.co */ @@ -143,7 +143,7 @@ public ExecuteLifecycleResponse executeLifecycle(ExecuteLifecycleRequest request * a function that initializes a builder to create the * {@link ExecuteLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-lifecycle">Documentation * on elastic.co */ @@ -163,7 +163,7 @@ public final ExecuteLifecycleResponse executeLifecycle( * The retention policy is normally applied according to its schedule. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-retention">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public ExecuteRetentionResponse executeRetention(ExecuteRetentionRequest request * a function that initializes a builder to create the * {@link ExecuteRetentionRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-retention">Documentation * on elastic.co */ @@ -204,7 +204,7 @@ public final ExecuteRetentionResponse executeRetention( * The retention policy is normally applied according to its schedule. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-execute-retention">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public ExecuteRetentionResponse executeRetention() throws IOException, Elasticse * snapshot attempts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-lifecycle">Documentation * on elastic.co */ @@ -243,7 +243,7 @@ public GetLifecycleResponse getLifecycle(GetLifecycleRequest request) throws IOE * a function that initializes a builder to create the * {@link GetLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-lifecycle">Documentation * on elastic.co */ @@ -260,7 +260,7 @@ public final GetLifecycleResponse getLifecycle( * snapshot attempts. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-lifecycle">Documentation * on elastic.co */ @@ -278,7 +278,7 @@ public GetLifecycleResponse getLifecycle() throws IOException, ElasticsearchExce * lifecycle management. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-stats">Documentation * on elastic.co */ @@ -299,7 +299,7 @@ public GetStatsResponse getStats(GetStatsRequest request) throws IOException, El * a function that initializes a builder to create the * {@link GetStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-stats">Documentation * on elastic.co */ @@ -315,7 +315,7 @@ public final GetStatsResponse getStats(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-stats">Documentation * on elastic.co */ @@ -330,7 +330,7 @@ public GetStatsResponse getStats() throws IOException, ElasticsearchException { * Get the snapshot lifecycle management status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-status">Documentation * on elastic.co */ @@ -348,7 +348,7 @@ public GetSlmStatusResponse getStatus(GetSlmStatusRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetSlmStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-status">Documentation * on elastic.co */ @@ -362,7 +362,7 @@ public final GetSlmStatusResponse getStatus( * Get the snapshot lifecycle management status. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-get-status">Documentation * on elastic.co */ @@ -381,7 +381,7 @@ public GetSlmStatusResponse getStatus() throws IOException, ElasticsearchExcepti * policy is stored. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-put-lifecycle">Documentation * on elastic.co */ @@ -403,7 +403,7 @@ public PutLifecycleResponse putLifecycle(PutLifecycleRequest request) throws IOE * a function that initializes a builder to create the * {@link PutLifecycleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-put-lifecycle">Documentation * on elastic.co */ @@ -423,7 +423,7 @@ public final PutLifecycleResponse putLifecycle( * the stop SLM API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-start">Documentation * on elastic.co */ @@ -445,7 +445,7 @@ public StartSlmResponse start(StartSlmRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link StartSlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-start">Documentation * on elastic.co */ @@ -462,7 +462,7 @@ public final StartSlmResponse start(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-start">Documentation * on elastic.co */ @@ -489,7 +489,7 @@ public StartSlmResponse start() throws IOException, ElasticsearchException { * see if SLM is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-stop">Documentation * on elastic.co */ @@ -519,7 +519,7 @@ public StopSlmResponse stop(StopSlmRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link StopSlmRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-stop">Documentation * on elastic.co */ @@ -544,7 +544,7 @@ public final StopSlmResponse stop(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-slm-stop">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java index 111c30df07..7d5505b3c1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java @@ -76,7 +76,7 @@ public ElasticsearchSnapshotAsyncClient withTransportOptions(@Nullable Transport * stale data not referenced by existing snapshots. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-cleanup-repository">Documentation * on elastic.co */ @@ -97,7 +97,7 @@ public CompletableFuture cleanupRepository(CleanupRep * a function that initializes a builder to create the * {@link CleanupRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-cleanup-repository">Documentation * on elastic.co */ @@ -114,7 +114,7 @@ public final CompletableFuture cleanupRepository( * Clone part of all of a snapshot into another snapshot in the same repository. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-clone">Documentation * on elastic.co */ @@ -134,7 +134,7 @@ public CompletableFuture clone(CloneSnapshotRequest reque * a function that initializes a builder to create the * {@link CloneSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-clone">Documentation * on elastic.co */ @@ -151,7 +151,7 @@ public final CompletableFuture clone( * Take a snapshot of a cluster or of data streams and indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create">Documentation * on elastic.co */ @@ -171,7 +171,7 @@ public CompletableFuture create(CreateSnapshotRequest re * a function that initializes a builder to create the * {@link CreateSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create">Documentation * on elastic.co */ @@ -198,7 +198,7 @@ public final CompletableFuture create( * parameter is used. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create-repository">Documentation * on elastic.co */ @@ -228,7 +228,7 @@ public CompletableFuture createRepository(CreateReposi * a function that initializes a builder to create the * {@link CreateRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create-repository">Documentation * on elastic.co */ @@ -243,7 +243,7 @@ public final CompletableFuture createRepository( * Delete snapshots. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete">Documentation * on elastic.co */ @@ -261,7 +261,7 @@ public CompletableFuture delete(DeleteSnapshotRequest re * a function that initializes a builder to create the * {@link DeleteSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete">Documentation * on elastic.co */ @@ -280,7 +280,7 @@ public final CompletableFuture delete( * themselves are left untouched and in place. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete-repository">Documentation * on elastic.co */ @@ -302,7 +302,7 @@ public CompletableFuture deleteRepository(DeleteReposi * a function that initializes a builder to create the * {@link DeleteRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete-repository">Documentation * on elastic.co */ @@ -324,7 +324,7 @@ public final CompletableFuture deleteRepository( * concurrently created may be seen during an iteration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get">Documentation * on elastic.co */ @@ -349,7 +349,7 @@ public CompletableFuture get(GetSnapshotRequest request) { * a function that initializes a builder to create the * {@link GetSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get">Documentation * on elastic.co */ @@ -364,7 +364,7 @@ public final CompletableFuture get( * Get snapshot repository information. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get-repository">Documentation * on elastic.co */ @@ -382,7 +382,7 @@ public CompletableFuture getRepository(GetRepositoryReque * a function that initializes a builder to create the * {@link GetRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get-repository">Documentation * on elastic.co */ @@ -395,7 +395,7 @@ public final CompletableFuture getRepository( * Get snapshot repository information. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get-repository">Documentation * on elastic.co */ @@ -587,7 +587,7 @@ public CompletableFuture getRepository() { * also verify the behavior on small blobs with sizes other than 8 bytes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-analyze">Documentation * on elastic.co */ @@ -782,7 +782,7 @@ public CompletableFuture repositoryAnalyze(Repository * a function that initializes a builder to create the * {@link RepositoryAnalyzeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-analyze">Documentation * on elastic.co */ @@ -861,7 +861,7 @@ public final CompletableFuture repositoryAnalyze( * stable and may be different in newer versions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-verify-integrity">Documentation * on elastic.co */ @@ -944,7 +944,7 @@ public CompletableFuture repositoryVerifyInte * a function that initializes a builder to create the * {@link RepositoryVerifyIntegrityRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-verify-integrity">Documentation * on elastic.co */ @@ -985,7 +985,7 @@ public final CompletableFuture repositoryVeri * restore the Enterprise Search encryption key before you restore the snapshot. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-restore">Documentation * on elastic.co */ @@ -1029,7 +1029,7 @@ public CompletableFuture restore(RestoreRequest request) { * a function that initializes a builder to create the * {@link RestoreRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-restore">Documentation * on elastic.co */ @@ -1078,7 +1078,7 @@ public final CompletableFuture restore( * and, when using cloud storage, incur high processing costs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-status">Documentation * on elastic.co */ @@ -1130,7 +1130,7 @@ public CompletableFuture status(SnapshotStatusRequest re * a function that initializes a builder to create the * {@link SnapshotStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-status">Documentation * on elastic.co */ @@ -1177,7 +1177,7 @@ public final CompletableFuture status( * and, when using cloud storage, incur high processing costs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-status">Documentation * on elastic.co */ @@ -1194,7 +1194,7 @@ public CompletableFuture status() { * Check for common misconfigurations in a snapshot repository. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-verify-repository">Documentation * on elastic.co */ @@ -1214,7 +1214,7 @@ public CompletableFuture verifyRepository(VerifyReposi * a function that initializes a builder to create the * {@link VerifyRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-verify-repository">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java index ffe8d81de0..460eca1144 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java @@ -74,7 +74,7 @@ public ElasticsearchSnapshotClient withTransportOptions(@Nullable TransportOptio * stale data not referenced by existing snapshots. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-cleanup-repository">Documentation * on elastic.co */ @@ -96,7 +96,7 @@ public CleanupRepositoryResponse cleanupRepository(CleanupRepositoryRequest requ * a function that initializes a builder to create the * {@link CleanupRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-cleanup-repository">Documentation * on elastic.co */ @@ -114,7 +114,7 @@ public final CleanupRepositoryResponse cleanupRepository( * Clone part of all of a snapshot into another snapshot in the same repository. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-clone">Documentation * on elastic.co */ @@ -134,7 +134,7 @@ public CloneSnapshotResponse clone(CloneSnapshotRequest request) throws IOExcept * a function that initializes a builder to create the * {@link CloneSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-clone">Documentation * on elastic.co */ @@ -152,7 +152,7 @@ public final CloneSnapshotResponse clone( * Take a snapshot of a cluster or of data streams and indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create">Documentation * on elastic.co */ @@ -172,7 +172,7 @@ public CreateSnapshotResponse create(CreateSnapshotRequest request) throws IOExc * a function that initializes a builder to create the * {@link CreateSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create">Documentation * on elastic.co */ @@ -200,7 +200,7 @@ public final CreateSnapshotResponse create( * parameter is used. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create-repository">Documentation * on elastic.co */ @@ -231,7 +231,7 @@ public CreateRepositoryResponse createRepository(CreateRepositoryRequest request * a function that initializes a builder to create the * {@link CreateRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-create-repository">Documentation * on elastic.co */ @@ -247,7 +247,7 @@ public final CreateRepositoryResponse createRepository( * Delete snapshots. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete">Documentation * on elastic.co */ @@ -265,7 +265,7 @@ public DeleteSnapshotResponse delete(DeleteSnapshotRequest request) throws IOExc * a function that initializes a builder to create the * {@link DeleteSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete">Documentation * on elastic.co */ @@ -285,7 +285,7 @@ public final DeleteSnapshotResponse delete( * themselves are left untouched and in place. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete-repository">Documentation * on elastic.co */ @@ -308,7 +308,7 @@ public DeleteRepositoryResponse deleteRepository(DeleteRepositoryRequest request * a function that initializes a builder to create the * {@link DeleteRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-delete-repository">Documentation * on elastic.co */ @@ -331,7 +331,7 @@ public final DeleteRepositoryResponse deleteRepository( * concurrently created may be seen during an iteration. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get">Documentation * on elastic.co */ @@ -356,7 +356,7 @@ public GetSnapshotResponse get(GetSnapshotRequest request) throws IOException, E * a function that initializes a builder to create the * {@link GetSnapshotRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get">Documentation * on elastic.co */ @@ -371,7 +371,7 @@ public final GetSnapshotResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get-repository">Documentation * on elastic.co */ @@ -390,7 +390,7 @@ public GetRepositoryResponse getRepository(GetRepositoryRequest request) * a function that initializes a builder to create the * {@link GetRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get-repository">Documentation * on elastic.co */ @@ -404,7 +404,7 @@ public final GetRepositoryResponse getRepository( * Get snapshot repository information. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-get-repository">Documentation * on elastic.co */ @@ -596,7 +596,7 @@ public GetRepositoryResponse getRepository() throws IOException, ElasticsearchEx * also verify the behavior on small blobs with sizes other than 8 bytes. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-analyze">Documentation * on elastic.co */ @@ -792,7 +792,7 @@ public RepositoryAnalyzeResponse repositoryAnalyze(RepositoryAnalyzeRequest requ * a function that initializes a builder to create the * {@link RepositoryAnalyzeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-analyze">Documentation * on elastic.co */ @@ -872,7 +872,7 @@ public final RepositoryAnalyzeResponse repositoryAnalyze( * stable and may be different in newer versions. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-verify-integrity">Documentation * on elastic.co */ @@ -955,7 +955,7 @@ public RepositoryVerifyIntegrityResponse repositoryVerifyIntegrity(RepositoryVer * a function that initializes a builder to create the * {@link RepositoryVerifyIntegrityRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-repository-verify-integrity">Documentation * on elastic.co */ @@ -997,7 +997,7 @@ public final RepositoryVerifyIntegrityResponse repositoryVerifyIntegrity( * restore the Enterprise Search encryption key before you restore the snapshot. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-restore">Documentation * on elastic.co */ @@ -1041,7 +1041,7 @@ public RestoreResponse restore(RestoreRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link RestoreRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-restore">Documentation * on elastic.co */ @@ -1090,7 +1090,7 @@ public final RestoreResponse restore(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-status">Documentation * on elastic.co */ @@ -1142,7 +1142,7 @@ public SnapshotStatusResponse status(SnapshotStatusRequest request) throws IOExc * a function that initializes a builder to create the * {@link SnapshotStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-status">Documentation * on elastic.co */ @@ -1190,7 +1190,7 @@ public final SnapshotStatusResponse status( * and, when using cloud storage, incur high processing costs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-status">Documentation * on elastic.co */ @@ -1207,7 +1207,7 @@ public SnapshotStatusResponse status() throws IOException, ElasticsearchExceptio * Check for common misconfigurations in a snapshot repository. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-verify-repository">Documentation * on elastic.co */ @@ -1228,7 +1228,7 @@ public VerifyRepositoryResponse verifyRepository(VerifyRepositoryRequest request * a function that initializes a builder to create the * {@link VerifyRepositoryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-snapshot-verify-repository">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlAsyncClient.java index 13cd4e659f..bdf4156978 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlAsyncClient.java @@ -70,7 +70,7 @@ public ElasticsearchSqlAsyncClient withTransportOptions(@Nullable TransportOptio * Clear an SQL search cursor. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-clear-cursor">Documentation * on elastic.co */ @@ -88,7 +88,7 @@ public CompletableFuture clearCursor(ClearCursorRequest req * a function that initializes a builder to create the * {@link ClearCursorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-clear-cursor">Documentation * on elastic.co */ @@ -113,7 +113,7 @@ public final CompletableFuture clearCursor( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-delete-async">Documentation * on elastic.co */ @@ -141,7 +141,7 @@ public CompletableFuture deleteAsync(DeleteAsyncRequest req * a function that initializes a builder to create the * {@link DeleteAsyncRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-delete-async">Documentation * on elastic.co */ @@ -162,7 +162,7 @@ public final CompletableFuture deleteAsync( * submitted the SQL search can retrieve the search using this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public CompletableFuture getAsync(GetAsyncRequest request) { * a function that initializes a builder to create the * {@link GetAsyncRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async">Documentation * on elastic.co */ @@ -204,7 +204,7 @@ public final CompletableFuture getAsync( * search. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async-status">Documentation * on elastic.co */ @@ -225,7 +225,7 @@ public CompletableFuture getAsyncStatus(GetAsyncStatusRe * a function that initializes a builder to create the * {@link GetAsyncStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async-status">Documentation * on elastic.co */ @@ -242,7 +242,7 @@ public final CompletableFuture getAsyncStatus( * Run an SQL request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-query">Documentation * on elastic.co */ @@ -262,7 +262,7 @@ public CompletableFuture query(QueryRequest request) { * a function that initializes a builder to create the * {@link QueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-query">Documentation * on elastic.co */ @@ -277,7 +277,7 @@ public final CompletableFuture query( * Run an SQL request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-query">Documentation * on elastic.co */ @@ -296,7 +296,7 @@ public CompletableFuture query() { * cursor. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-translate">Documentation * on elastic.co */ @@ -318,7 +318,7 @@ public CompletableFuture translate(TranslateRequest request) * a function that initializes a builder to create the * {@link TranslateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-translate">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlClient.java index 40b0bad759..11332b3e65 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ElasticsearchSqlClient.java @@ -71,7 +71,7 @@ public ElasticsearchSqlClient withTransportOptions(@Nullable TransportOptions tr * Clear an SQL search cursor. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-clear-cursor">Documentation * on elastic.co */ @@ -89,7 +89,7 @@ public ClearCursorResponse clearCursor(ClearCursorRequest request) throws IOExce * a function that initializes a builder to create the * {@link ClearCursorRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-clear-cursor">Documentation * on elastic.co */ @@ -115,7 +115,7 @@ public final ClearCursorResponse clearCursor( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-delete-async">Documentation * on elastic.co */ @@ -143,7 +143,7 @@ public DeleteAsyncResponse deleteAsync(DeleteAsyncRequest request) throws IOExce * a function that initializes a builder to create the * {@link DeleteAsyncRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-delete-async">Documentation * on elastic.co */ @@ -165,7 +165,7 @@ public final DeleteAsyncResponse deleteAsync( * submitted the SQL search can retrieve the search using this API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async">Documentation * on elastic.co */ @@ -189,7 +189,7 @@ public GetAsyncResponse getAsync(GetAsyncRequest request) throws IOException, El * a function that initializes a builder to create the * {@link GetAsyncRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async">Documentation * on elastic.co */ @@ -207,7 +207,7 @@ public final GetAsyncResponse getAsync(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async-status">Documentation * on elastic.co */ @@ -229,7 +229,7 @@ public GetAsyncStatusResponse getAsyncStatus(GetAsyncStatusRequest request) * a function that initializes a builder to create the * {@link GetAsyncStatusRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-get-async-status">Documentation * on elastic.co */ @@ -247,7 +247,7 @@ public final GetAsyncStatusResponse getAsyncStatus( * Run an SQL request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-query">Documentation * on elastic.co */ @@ -267,7 +267,7 @@ public QueryResponse query(QueryRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link QueryRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-query">Documentation * on elastic.co */ @@ -282,7 +282,7 @@ public final QueryResponse query(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-query">Documentation * on elastic.co */ @@ -301,7 +301,7 @@ public QueryResponse query() throws IOException, ElasticsearchException { * cursor. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-translate">Documentation * on elastic.co */ @@ -323,7 +323,7 @@ public TranslateResponse translate(TranslateRequest request) throws IOException, * a function that initializes a builder to create the * {@link TranslateRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-sql-translate">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslAsyncClient.java index cfee471e6d..5eff11d9fa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslAsyncClient.java @@ -97,7 +97,7 @@ public ElasticsearchSslAsyncClient withTransportOptions(@Nullable TransportOptio * certificates might not be in active use within the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ssl-certificates">Documentation * on elastic.co */ public CompletableFuture certificates() { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslClient.java index d4dd8f82cd..431cb63604 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/ElasticsearchSslClient.java @@ -98,7 +98,7 @@ public ElasticsearchSslClient withTransportOptions(@Nullable TransportOptions tr * certificates might not be in active use within the cluster. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ssl-certificates">Documentation * on elastic.co */ public CertificatesResponse certificates() throws IOException, ElasticsearchException { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsAsyncClient.java index 0a937ff7db..0b8f191b34 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsAsyncClient.java @@ -94,7 +94,7 @@ public ElasticsearchSynonymsAsyncClient withTransportOptions(@Nullable Transport * delete it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym">Documentation * on elastic.co */ @@ -133,7 +133,7 @@ public CompletableFuture deleteSynonym(DeleteSynonymReque * a function that initializes a builder to create the * {@link DeleteSynonymRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym">Documentation * on elastic.co */ @@ -150,7 +150,7 @@ public final CompletableFuture deleteSynonym( * Delete a synonym rule from a synonym set. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym-rule">Documentation * on elastic.co */ @@ -170,7 +170,7 @@ public CompletableFuture deleteSynonymRule(DeleteSyno * a function that initializes a builder to create the * {@link DeleteSynonymRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym-rule">Documentation * on elastic.co */ @@ -185,7 +185,7 @@ public final CompletableFuture deleteSynonymRule( * Get a synonym set. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -203,7 +203,7 @@ public CompletableFuture getSynonym(GetSynonymRequest reques * a function that initializes a builder to create the * {@link GetSynonymRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -220,7 +220,7 @@ public final CompletableFuture getSynonym( * Get a synonym rule from a synonym set. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym-rule">Documentation * on elastic.co */ @@ -240,7 +240,7 @@ public CompletableFuture getSynonymRule(GetSynonymRuleRe * a function that initializes a builder to create the * {@link GetSynonymRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym-rule">Documentation * on elastic.co */ @@ -257,7 +257,7 @@ public final CompletableFuture getSynonymRule( * Get a summary of all defined synonym sets. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -277,7 +277,7 @@ public CompletableFuture getSynonymsSets(GetSynonymsSet * a function that initializes a builder to create the * {@link GetSynonymsSetsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -292,7 +292,7 @@ public final CompletableFuture getSynonymsSets( * Get a summary of all defined synonym sets. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -317,7 +317,7 @@ public CompletableFuture getSynonymsSets() { * the External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym">Documentation * on elastic.co */ @@ -345,7 +345,7 @@ public CompletableFuture putSynonym(PutSynonymRequest reques * a function that initializes a builder to create the * {@link PutSynonymRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym">Documentation * on elastic.co */ @@ -367,7 +367,7 @@ public final CompletableFuture putSynonym( * reloaded automatically to reflect the new rule. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym-rule">Documentation * on elastic.co */ @@ -392,7 +392,7 @@ public CompletableFuture putSynonymRule(PutSynonymRuleRe * a function that initializes a builder to create the * {@link PutSynonymRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym-rule">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsClient.java index e26a4985c4..c547b8b33c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/synonyms/ElasticsearchSynonymsClient.java @@ -92,7 +92,7 @@ public ElasticsearchSynonymsClient withTransportOptions(@Nullable TransportOptio * delete it. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym">Documentation * on elastic.co */ @@ -132,7 +132,7 @@ public DeleteSynonymResponse deleteSynonym(DeleteSynonymRequest request) * a function that initializes a builder to create the * {@link DeleteSynonymRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym">Documentation * on elastic.co */ @@ -150,7 +150,7 @@ public final DeleteSynonymResponse deleteSynonym( * Delete a synonym rule from a synonym set. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym-rule">Documentation * on elastic.co */ @@ -171,7 +171,7 @@ public DeleteSynonymRuleResponse deleteSynonymRule(DeleteSynonymRuleRequest requ * a function that initializes a builder to create the * {@link DeleteSynonymRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-delete-synonym-rule">Documentation * on elastic.co */ @@ -187,7 +187,7 @@ public final DeleteSynonymRuleResponse deleteSynonymRule( * Get a synonym set. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -205,7 +205,7 @@ public GetSynonymResponse getSynonym(GetSynonymRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link GetSynonymRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public final GetSynonymResponse getSynonym(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym-rule">Documentation * on elastic.co */ @@ -243,7 +243,7 @@ public GetSynonymRuleResponse getSynonymRule(GetSynonymRuleRequest request) * a function that initializes a builder to create the * {@link GetSynonymRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym-rule">Documentation * on elastic.co */ @@ -261,7 +261,7 @@ public final GetSynonymRuleResponse getSynonymRule( * Get a summary of all defined synonym sets. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -282,7 +282,7 @@ public GetSynonymsSetsResponse getSynonymsSets(GetSynonymsSetsRequest request) * a function that initializes a builder to create the * {@link GetSynonymsSetsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -298,7 +298,7 @@ public final GetSynonymsSetsResponse getSynonymsSets( * Get a summary of all defined synonym sets. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-get-synonym">Documentation * on elastic.co */ @@ -323,7 +323,7 @@ public GetSynonymsSetsResponse getSynonymsSets() throws IOException, Elasticsear * the External documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym">Documentation * on elastic.co */ @@ -351,7 +351,7 @@ public PutSynonymResponse putSynonym(PutSynonymRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link PutSynonymRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym">Documentation * on elastic.co */ @@ -373,7 +373,7 @@ public final PutSynonymResponse putSynonym(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym-rule">Documentation * on elastic.co */ @@ -399,7 +399,7 @@ public PutSynonymRuleResponse putSynonymRule(PutSynonymRuleRequest request) * a function that initializes a builder to create the * {@link PutSynonymRuleRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-synonyms-put-synonym-rule">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java index 620209c699..a204b073df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java @@ -88,7 +88,7 @@ public ElasticsearchTasksAsyncClient withTransportOptions(@Nullable TransportOpt * of completing the cancelled task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -123,7 +123,7 @@ public CompletableFuture cancel(CancelRequest request) { * a function that initializes a builder to create the * {@link CancelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -153,7 +153,7 @@ public final CompletableFuture cancel( * of completing the cancelled task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public CompletableFuture cancel() { * are no resources that match the request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -202,7 +202,7 @@ public CompletableFuture get(GetTasksRequest request) { * a function that initializes a builder to create the * {@link GetTasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -284,7 +284,7 @@ public final CompletableFuture get( * the child task of the task that was initiated by the REST request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -369,7 +369,7 @@ public CompletableFuture list(ListRequest request) { * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -448,7 +448,7 @@ public final CompletableFuture list(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java index 7398254854..22ec5b813c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java @@ -88,7 +88,7 @@ public ElasticsearchTasksClient withTransportOptions(@Nullable TransportOptions * of completing the cancelled task. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -123,7 +123,7 @@ public CancelResponse cancel(CancelRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link CancelRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -153,7 +153,7 @@ public final CancelResponse cancel(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -176,7 +176,7 @@ public CancelResponse cancel() throws IOException, ElasticsearchException { * are no resources that match the request. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -202,7 +202,7 @@ public GetTasksResponse get(GetTasksRequest request) throws IOException, Elastic * a function that initializes a builder to create the * {@link GetTasksRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -284,7 +284,7 @@ public final GetTasksResponse get(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -369,7 +369,7 @@ public ListResponse list(ListRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ @@ -449,7 +449,7 @@ public final ListResponse list(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-tasks">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureAsyncClient.java index 7122d1a4f9..6111988db9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureAsyncClient.java @@ -100,7 +100,7 @@ public ElasticsearchTextStructureAsyncClient withTransportOptions(@Nullable Tran * response. It helps determine why the returned structure was chosen. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-text_structure">Documentation * on elastic.co */ @@ -145,7 +145,7 @@ public CompletableFuture findFieldStructure(FindFiel * a function that initializes a builder to create the * {@link FindFieldStructureRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-text_structure">Documentation * on elastic.co */ @@ -188,7 +188,7 @@ public final CompletableFuture findFieldStructure( * response. It helps determine why the returned structure was chosen. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-find-message-structure">Documentation * on elastic.co */ @@ -234,7 +234,7 @@ public CompletableFuture findMessageStructure(Find * a function that initializes a builder to create the * {@link FindMessageStructureRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-find-message-structure">Documentation * on elastic.co */ @@ -253,7 +253,7 @@ public final CompletableFuture findMessageStructur * matched substrings. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-test-grok-pattern">Documentation * on elastic.co */ @@ -275,7 +275,7 @@ public CompletableFuture testGrokPattern(TestGrokPatter * a function that initializes a builder to create the * {@link TestGrokPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-test-grok-pattern">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureClient.java index b259692f06..782c1630d2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/text_structure/ElasticsearchTextStructureClient.java @@ -101,7 +101,7 @@ public ElasticsearchTextStructureClient withTransportOptions(@Nullable Transport * response. It helps determine why the returned structure was chosen. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-text_structure">Documentation * on elastic.co */ @@ -147,7 +147,7 @@ public FindFieldStructureResponse findFieldStructure(FindFieldStructureRequest r * a function that initializes a builder to create the * {@link FindFieldStructureRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-text_structure">Documentation * on elastic.co */ @@ -191,7 +191,7 @@ public final FindFieldStructureResponse findFieldStructure( * response. It helps determine why the returned structure was chosen. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-find-message-structure">Documentation * on elastic.co */ @@ -238,7 +238,7 @@ public FindMessageStructureResponse findMessageStructure(FindMessageStructureReq * a function that initializes a builder to create the * {@link FindMessageStructureRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-find-message-structure">Documentation * on elastic.co */ @@ -258,7 +258,7 @@ public final FindMessageStructureResponse findMessageStructure( * matched substrings. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-test-grok-pattern">Documentation * on elastic.co */ @@ -281,7 +281,7 @@ public TestGrokPatternResponse testGrokPattern(TestGrokPatternRequest request) * a function that initializes a builder to create the * {@link TestGrokPatternRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-text-structure-test-grok-pattern">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java index 753846c84c..e921301fbe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformAsyncClient.java @@ -75,7 +75,7 @@ public ElasticsearchTransformAsyncClient withTransportOptions(@Nullable Transpor * Delete a transform. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-delete-transform">Documentation * on elastic.co */ @@ -93,7 +93,7 @@ public CompletableFuture deleteTransform(DeleteTransfor * a function that initializes a builder to create the * {@link DeleteTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-delete-transform">Documentation * on elastic.co */ @@ -110,7 +110,7 @@ public final CompletableFuture deleteTransform( * Get per-node information about transform usage. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-node-stats">Documentation * on elastic.co */ public CompletableFuture getNodeStats() { @@ -126,7 +126,7 @@ public CompletableFuture getNodeStats() { * Get configuration information for transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform">Documentation * on elastic.co */ @@ -146,7 +146,7 @@ public CompletableFuture getTransform(GetTransformRequest * a function that initializes a builder to create the * {@link GetTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform">Documentation * on elastic.co */ @@ -161,7 +161,7 @@ public final CompletableFuture getTransform( * Get configuration information for transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform">Documentation * on elastic.co */ @@ -178,7 +178,7 @@ public CompletableFuture getTransform() { * Get usage information for transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform-stats">Documentation * on elastic.co */ @@ -198,7 +198,7 @@ public CompletableFuture getTransformStats(GetTransfo * a function that initializes a builder to create the * {@link GetTransformStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform-stats">Documentation * on elastic.co */ @@ -221,7 +221,7 @@ public final CompletableFuture getTransformStats( * field types of the source index and the transform aggregations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -251,7 +251,7 @@ public CompletableFuture> prev * a function that initializes a builder to create the * {@link PreviewTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -294,7 +294,7 @@ public final CompletableFuture> previewTransform( * field types of the source index and the transform aggregations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -324,7 +324,7 @@ public CompletableFuture> prev * a function that initializes a builder to create the * {@link PreviewTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -370,7 +370,7 @@ public final CompletableFuture * privileges on .data-frame-internal* indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-put-transform">Documentation * on elastic.co */ @@ -419,7 +419,7 @@ public CompletableFuture putTransform(PutTransformRequest * a function that initializes a builder to create the * {@link PutTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-put-transform">Documentation * on elastic.co */ @@ -438,7 +438,7 @@ public final CompletableFuture putTransform( * the transform, it is deleted. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-reset-transform">Documentation * on elastic.co */ @@ -460,7 +460,7 @@ public CompletableFuture resetTransform(ResetTransformRe * a function that initializes a builder to create the * {@link ResetTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-reset-transform">Documentation * on elastic.co */ @@ -481,7 +481,7 @@ public final CompletableFuture resetTransform( * meantime. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-schedule-now-transform">Documentation * on elastic.co */ @@ -505,7 +505,7 @@ public CompletableFuture scheduleNowTransform(Sche * a function that initializes a builder to create the * {@link ScheduleNowTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-schedule-now-transform">Documentation * on elastic.co */ @@ -532,7 +532,7 @@ public final CompletableFuture scheduleNowTransfor * transform info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-set-upgrade-mode">Documentation * on elastic.co */ @@ -562,7 +562,7 @@ public CompletableFuture setUpgradeMode(SetUpgradeModeRe * a function that initializes a builder to create the * {@link SetUpgradeModeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-set-upgrade-mode">Documentation * on elastic.co */ @@ -587,7 +587,7 @@ public final CompletableFuture setUpgradeMode( * transform info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-set-upgrade-mode">Documentation * on elastic.co */ @@ -624,7 +624,7 @@ public CompletableFuture setUpgradeMode() { * unauthorized operations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-start-transform">Documentation * on elastic.co */ @@ -664,7 +664,7 @@ public CompletableFuture startTransform(StartTransformRe * a function that initializes a builder to create the * {@link StartTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-start-transform">Documentation * on elastic.co */ @@ -681,7 +681,7 @@ public final CompletableFuture startTransform( * Stops one or more transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-stop-transform">Documentation * on elastic.co */ @@ -701,7 +701,7 @@ public CompletableFuture stopTransform(StopTransformReque * a function that initializes a builder to create the * {@link StopTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-stop-transform">Documentation * on elastic.co */ @@ -727,7 +727,7 @@ public final CompletableFuture stopTransform( * at the time of update and runs with those privileges. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-update-transform">Documentation * on elastic.co */ @@ -756,7 +756,7 @@ public CompletableFuture updateTransform(UpdateTransfor * a function that initializes a builder to create the * {@link UpdateTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-update-transform">Documentation * on elastic.co */ @@ -790,7 +790,7 @@ public final CompletableFuture updateTransform( * cluster backup prior to the upgrade. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-upgrade-transforms">Documentation * on elastic.co */ @@ -827,7 +827,7 @@ public CompletableFuture upgradeTransforms(UpgradeTra * a function that initializes a builder to create the * {@link UpgradeTransformsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-upgrade-transforms">Documentation * on elastic.co */ @@ -859,7 +859,7 @@ public final CompletableFuture upgradeTransforms( * cluster backup prior to the upgrade. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-upgrade-transforms">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java index 3fd6211f61..ebbc6de9a2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/ElasticsearchTransformClient.java @@ -73,7 +73,7 @@ public ElasticsearchTransformClient withTransportOptions(@Nullable TransportOpti * Delete a transform. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-delete-transform">Documentation * on elastic.co */ @@ -92,7 +92,7 @@ public DeleteTransformResponse deleteTransform(DeleteTransformRequest request) * a function that initializes a builder to create the * {@link DeleteTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-delete-transform">Documentation * on elastic.co */ @@ -110,7 +110,7 @@ public final DeleteTransformResponse deleteTransform( * Get per-node information about transform usage. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-node-stats">Documentation * on elastic.co */ public GetNodeStatsResponse getNodeStats() throws IOException, ElasticsearchException { @@ -126,7 +126,7 @@ public GetNodeStatsResponse getNodeStats() throws IOException, ElasticsearchExce * Get configuration information for transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform">Documentation * on elastic.co */ @@ -146,7 +146,7 @@ public GetTransformResponse getTransform(GetTransformRequest request) throws IOE * a function that initializes a builder to create the * {@link GetTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform">Documentation * on elastic.co */ @@ -162,7 +162,7 @@ public final GetTransformResponse getTransform( * Get configuration information for transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform">Documentation * on elastic.co */ @@ -179,7 +179,7 @@ public GetTransformResponse getTransform() throws IOException, ElasticsearchExce * Get usage information for transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform-stats">Documentation * on elastic.co */ @@ -200,7 +200,7 @@ public GetTransformStatsResponse getTransformStats(GetTransformStatsRequest requ * a function that initializes a builder to create the * {@link GetTransformStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-get-transform-stats">Documentation * on elastic.co */ @@ -224,7 +224,7 @@ public final GetTransformStatsResponse getTransformStats( * field types of the source index and the transform aggregations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -254,7 +254,7 @@ public PreviewTransformResponse previewTransform(Previe * a function that initializes a builder to create the * {@link PreviewTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -299,7 +299,7 @@ public final PreviewTransformResponse previewTransform( * field types of the source index and the transform aggregations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -329,7 +329,7 @@ public PreviewTransformResponse previewTransform(Previe * a function that initializes a builder to create the * {@link PreviewTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-preview-transform">Documentation * on elastic.co */ @@ -376,7 +376,7 @@ public final PreviewTransformResponse previewTransform( * privileges on .data-frame-internal* indices. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-put-transform">Documentation * on elastic.co */ @@ -425,7 +425,7 @@ public PutTransformResponse putTransform(PutTransformRequest request) throws IOE * a function that initializes a builder to create the * {@link PutTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-put-transform">Documentation * on elastic.co */ @@ -445,7 +445,7 @@ public final PutTransformResponse putTransform( * the transform, it is deleted. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-reset-transform">Documentation * on elastic.co */ @@ -468,7 +468,7 @@ public ResetTransformResponse resetTransform(ResetTransformRequest request) * a function that initializes a builder to create the * {@link ResetTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-reset-transform">Documentation * on elastic.co */ @@ -490,7 +490,7 @@ public final ResetTransformResponse resetTransform( * meantime. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-schedule-now-transform">Documentation * on elastic.co */ @@ -515,7 +515,7 @@ public ScheduleNowTransformResponse scheduleNowTransform(ScheduleNowTransformReq * a function that initializes a builder to create the * {@link ScheduleNowTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-schedule-now-transform">Documentation * on elastic.co */ @@ -543,7 +543,7 @@ public final ScheduleNowTransformResponse scheduleNowTransform( * transform info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-set-upgrade-mode">Documentation * on elastic.co */ @@ -574,7 +574,7 @@ public SetUpgradeModeResponse setUpgradeMode(SetUpgradeModeRequest request) * a function that initializes a builder to create the * {@link SetUpgradeModeRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-set-upgrade-mode">Documentation * on elastic.co */ @@ -600,7 +600,7 @@ public final SetUpgradeModeResponse setUpgradeMode( * transform info API. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-set-upgrade-mode">Documentation * on elastic.co */ @@ -637,7 +637,7 @@ public SetUpgradeModeResponse setUpgradeMode() throws IOException, Elasticsearch * unauthorized operations. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-start-transform">Documentation * on elastic.co */ @@ -678,7 +678,7 @@ public StartTransformResponse startTransform(StartTransformRequest request) * a function that initializes a builder to create the * {@link StartTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-start-transform">Documentation * on elastic.co */ @@ -696,7 +696,7 @@ public final StartTransformResponse startTransform( * Stops one or more transforms. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-stop-transform">Documentation * on elastic.co */ @@ -717,7 +717,7 @@ public StopTransformResponse stopTransform(StopTransformRequest request) * a function that initializes a builder to create the * {@link StopTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-stop-transform">Documentation * on elastic.co */ @@ -744,7 +744,7 @@ public final StopTransformResponse stopTransform( * at the time of update and runs with those privileges. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-update-transform">Documentation * on elastic.co */ @@ -774,7 +774,7 @@ public UpdateTransformResponse updateTransform(UpdateTransformRequest request) * a function that initializes a builder to create the * {@link UpdateTransformRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-update-transform">Documentation * on elastic.co */ @@ -809,7 +809,7 @@ public final UpdateTransformResponse updateTransform( * cluster backup prior to the upgrade. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-upgrade-transforms">Documentation * on elastic.co */ @@ -847,7 +847,7 @@ public UpgradeTransformsResponse upgradeTransforms(UpgradeTransformsRequest requ * a function that initializes a builder to create the * {@link UpgradeTransformsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-upgrade-transforms">Documentation * on elastic.co */ @@ -880,7 +880,7 @@ public final UpgradeTransformsResponse upgradeTransforms( * cluster backup prior to the upgrade. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-transform-upgrade-transforms">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java index fe1a77cc03..05bb5b7313 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java @@ -79,6 +79,9 @@ public class Settings implements JsonpSerializable { @Nullable private final Boolean usePointInTime; + @Nullable + private final Integer numFailureRetries; + @Nullable private final Boolean unattended; @@ -92,6 +95,7 @@ private Settings(Builder builder) { this.docsPerSecond = builder.docsPerSecond; this.maxPageSearchSize = builder.maxPageSearchSize; this.usePointInTime = builder.usePointInTime; + this.numFailureRetries = builder.numFailureRetries; this.unattended = builder.unattended; } @@ -179,6 +183,23 @@ public final Boolean usePointInTime() { return this.usePointInTime; } + /** + * Defines the number of retries on a recoverable failure before the transform + * task is marked as failed. The minimum value is 0 + * and the maximum is 100, where -1 indicates that the + * transform retries indefinitely. If unset, the cluster-level setting + * num_transform_failure_retries is used. + *

+ * This setting cannot be specified when unattended is + * true, because unattended transforms always retry indefinitely. + *

+ * API name: {@code num_failure_retries} + */ + @Nullable + public final Integer numFailureRetries() { + return this.numFailureRetries; + } + /** * If true, the transform runs in unattended mode. In unattended * mode, the transform retries indefinitely in case of an error which means the @@ -232,6 +253,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("use_point_in_time"); generator.write(this.usePointInTime); + } + if (this.numFailureRetries != null) { + generator.writeKey("num_failure_retries"); + generator.write(this.numFailureRetries); + } if (this.unattended != null) { generator.writeKey("unattended"); @@ -271,6 +297,9 @@ public static class Builder extends WithJsonObjectBuilderBase implement @Nullable private Boolean usePointInTime; + @Nullable + private Integer numFailureRetries; + @Nullable private Boolean unattended; @@ -283,6 +312,7 @@ private Builder(Settings instance) { this.docsPerSecond = instance.docsPerSecond; this.maxPageSearchSize = instance.maxPageSearchSize; this.usePointInTime = instance.usePointInTime; + this.numFailureRetries = instance.numFailureRetries; this.unattended = instance.unattended; } @@ -365,6 +395,23 @@ public final Builder usePointInTime(@Nullable Boolean value) { return this; } + /** + * Defines the number of retries on a recoverable failure before the transform + * task is marked as failed. The minimum value is 0 + * and the maximum is 100, where -1 indicates that the + * transform retries indefinitely. If unset, the cluster-level setting + * num_transform_failure_retries is used. + *

+ * This setting cannot be specified when unattended is + * true, because unattended transforms always retry indefinitely. + *

+ * API name: {@code num_failure_retries} + */ + public final Builder numFailureRetries(@Nullable Integer value) { + this.numFailureRetries = value; + return this; + } + /** * If true, the transform runs in unattended mode. In unattended * mode, the transform retries indefinitely in case of an error which means the @@ -418,6 +465,7 @@ protected static void setupSettingsDeserializer(ObjectDeserializerDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-ack-watch">Documentation * on elastic.co */ @@ -125,7 +125,7 @@ public CompletableFuture ackWatch(AckWatchRequest request) { * a function that initializes a builder to create the * {@link AckWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-ack-watch">Documentation * on elastic.co */ @@ -142,7 +142,7 @@ public final CompletableFuture ackWatch( * A watch can be either active or inactive. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-activate-watch">Documentation * on elastic.co */ @@ -162,7 +162,7 @@ public CompletableFuture activateWatch(ActivateWatchReque * a function that initializes a builder to create the * {@link ActivateWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-activate-watch">Documentation * on elastic.co */ @@ -179,7 +179,7 @@ public final CompletableFuture activateWatch( * A watch can be either active or inactive. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-deactivate-watch">Documentation * on elastic.co */ @@ -199,7 +199,7 @@ public CompletableFuture deactivateWatch(DeactivateWatc * a function that initializes a builder to create the * {@link DeactivateWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-deactivate-watch">Documentation * on elastic.co */ @@ -226,7 +226,7 @@ public final CompletableFuture deactivateWatch( * .watches index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-delete-watch">Documentation * on elastic.co */ @@ -256,7 +256,7 @@ public CompletableFuture deleteWatch(DeleteWatchRequest req * a function that initializes a builder to create the * {@link DeleteWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-delete-watch">Documentation * on elastic.co */ @@ -294,7 +294,7 @@ public final CompletableFuture deleteWatch( * requests, including existing, customized, and inline watches. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-execute-watch">Documentation * on elastic.co */ @@ -335,7 +335,7 @@ public CompletableFuture executeWatch(ExecuteWatchRequest * a function that initializes a builder to create the * {@link ExecuteWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-execute-watch">Documentation * on elastic.co */ @@ -371,7 +371,7 @@ public final CompletableFuture executeWatch( * requests, including existing, customized, and inline watches. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-execute-watch">Documentation * on elastic.co */ @@ -391,7 +391,7 @@ public CompletableFuture executeWatch() { * index.number_of_replicas. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-settings">Documentation * on elastic.co */ @@ -414,7 +414,7 @@ public CompletableFuture getSettings(GetWatcherSetti * a function that initializes a builder to create the * {@link GetWatcherSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-settings">Documentation * on elastic.co */ @@ -432,7 +432,7 @@ public final CompletableFuture getSettings( * index.number_of_replicas. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-settings">Documentation * on elastic.co */ @@ -447,7 +447,7 @@ public CompletableFuture getSettings() { * Get a watch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-watch">Documentation * on elastic.co */ @@ -465,7 +465,7 @@ public CompletableFuture getWatch(GetWatchRequest request) { * a function that initializes a builder to create the * {@link GetWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-watch">Documentation * on elastic.co */ @@ -498,7 +498,7 @@ public final CompletableFuture getWatch( * b, the same will apply when the watch runs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-put-watch">Documentation * on elastic.co */ @@ -534,7 +534,7 @@ public CompletableFuture putWatch(PutWatchRequest request) { * a function that initializes a builder to create the * {@link PutWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-put-watch">Documentation * on elastic.co */ @@ -555,7 +555,7 @@ public final CompletableFuture putWatch( * queryable or sortable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-query-watches">Documentation * on elastic.co */ @@ -579,7 +579,7 @@ public CompletableFuture queryWatches(QueryWatchesRequest * a function that initializes a builder to create the * {@link QueryWatchesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-query-watches">Documentation * on elastic.co */ @@ -598,7 +598,7 @@ public final CompletableFuture queryWatches( * queryable or sortable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-query-watches">Documentation * on elastic.co */ @@ -615,7 +615,7 @@ public CompletableFuture queryWatches() { * Start the Watcher service if it is not already running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-start">Documentation * on elastic.co */ @@ -635,7 +635,7 @@ public CompletableFuture start(StartWatcherRequest request * a function that initializes a builder to create the * {@link StartWatcherRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-start">Documentation * on elastic.co */ @@ -650,7 +650,7 @@ public final CompletableFuture start( * Start the Watcher service if it is not already running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-start">Documentation * on elastic.co */ @@ -668,7 +668,7 @@ public CompletableFuture start() { * metric parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stats">Documentation * on elastic.co */ @@ -689,7 +689,7 @@ public CompletableFuture stats(WatcherStatsRequest request * a function that initializes a builder to create the * {@link WatcherStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stats">Documentation * on elastic.co */ @@ -705,7 +705,7 @@ public final CompletableFuture stats( * metric parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stats">Documentation * on elastic.co */ @@ -722,7 +722,7 @@ public CompletableFuture stats() { * Stop the Watcher service if it is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stop">Documentation * on elastic.co */ @@ -742,7 +742,7 @@ public CompletableFuture stop(StopWatcherRequest request) { * a function that initializes a builder to create the * {@link StopWatcherRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stop">Documentation * on elastic.co */ @@ -757,7 +757,7 @@ public final CompletableFuture stop( * Stop the Watcher service if it is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stop">Documentation * on elastic.co */ @@ -783,7 +783,7 @@ public CompletableFuture stop() { * data_content tier. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-update-settings">Documentation * on elastic.co */ @@ -812,7 +812,7 @@ public CompletableFuture updateSettings(UpdateSettingsRe * a function that initializes a builder to create the * {@link UpdateSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-update-settings">Documentation * on elastic.co */ @@ -836,7 +836,7 @@ public final CompletableFuture updateSettings( * data_content tier. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-update-settings">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ElasticsearchWatcherClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ElasticsearchWatcherClient.java index 8a605b04aa..4734d6edf7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ElasticsearchWatcherClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ElasticsearchWatcherClient.java @@ -88,7 +88,7 @@ public ElasticsearchWatcherClient withTransportOptions(@Nullable TransportOption * documentation. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-ack-watch">Documentation * on elastic.co */ @@ -123,7 +123,7 @@ public AckWatchResponse ackWatch(AckWatchRequest request) throws IOException, El * a function that initializes a builder to create the * {@link AckWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-ack-watch">Documentation * on elastic.co */ @@ -140,7 +140,7 @@ public final AckWatchResponse ackWatch(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-activate-watch">Documentation * on elastic.co */ @@ -161,7 +161,7 @@ public ActivateWatchResponse activateWatch(ActivateWatchRequest request) * a function that initializes a builder to create the * {@link ActivateWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-activate-watch">Documentation * on elastic.co */ @@ -179,7 +179,7 @@ public final ActivateWatchResponse activateWatch( * A watch can be either active or inactive. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-deactivate-watch">Documentation * on elastic.co */ @@ -200,7 +200,7 @@ public DeactivateWatchResponse deactivateWatch(DeactivateWatchRequest request) * a function that initializes a builder to create the * {@link DeactivateWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-deactivate-watch">Documentation * on elastic.co */ @@ -228,7 +228,7 @@ public final DeactivateWatchResponse deactivateWatch( * .watches index. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-delete-watch">Documentation * on elastic.co */ @@ -258,7 +258,7 @@ public DeleteWatchResponse deleteWatch(DeleteWatchRequest request) throws IOExce * a function that initializes a builder to create the * {@link DeleteWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-delete-watch">Documentation * on elastic.co */ @@ -297,7 +297,7 @@ public final DeleteWatchResponse deleteWatch( * requests, including existing, customized, and inline watches. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-execute-watch">Documentation * on elastic.co */ @@ -338,7 +338,7 @@ public ExecuteWatchResponse executeWatch(ExecuteWatchRequest request) throws IOE * a function that initializes a builder to create the * {@link ExecuteWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-execute-watch">Documentation * on elastic.co */ @@ -375,7 +375,7 @@ public final ExecuteWatchResponse executeWatch( * requests, including existing, customized, and inline watches. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-execute-watch">Documentation * on elastic.co */ @@ -395,7 +395,7 @@ public ExecuteWatchResponse executeWatch() throws IOException, ElasticsearchExce * index.number_of_replicas. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-settings">Documentation * on elastic.co */ @@ -419,7 +419,7 @@ public GetWatcherSettingsResponse getSettings(GetWatcherSettingsRequest request) * a function that initializes a builder to create the * {@link GetWatcherSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-settings">Documentation * on elastic.co */ @@ -438,7 +438,7 @@ public final GetWatcherSettingsResponse getSettings( * index.number_of_replicas. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-settings">Documentation * on elastic.co */ @@ -453,7 +453,7 @@ public GetWatcherSettingsResponse getSettings() throws IOException, Elasticsearc * Get a watch. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-watch">Documentation * on elastic.co */ @@ -471,7 +471,7 @@ public GetWatchResponse getWatch(GetWatchRequest request) throws IOException, El * a function that initializes a builder to create the * {@link GetWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-get-watch">Documentation * on elastic.co */ @@ -504,7 +504,7 @@ public final GetWatchResponse getWatch(Functionb, the same will apply when the watch runs. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-put-watch">Documentation * on elastic.co */ @@ -540,7 +540,7 @@ public PutWatchResponse putWatch(PutWatchRequest request) throws IOException, El * a function that initializes a builder to create the * {@link PutWatchRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-put-watch">Documentation * on elastic.co */ @@ -561,7 +561,7 @@ public final PutWatchResponse putWatch(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-query-watches">Documentation * on elastic.co */ @@ -585,7 +585,7 @@ public QueryWatchesResponse queryWatches(QueryWatchesRequest request) throws IOE * a function that initializes a builder to create the * {@link QueryWatchesRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-query-watches">Documentation * on elastic.co */ @@ -605,7 +605,7 @@ public final QueryWatchesResponse queryWatches( * queryable or sortable. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-query-watches">Documentation * on elastic.co */ @@ -622,7 +622,7 @@ public QueryWatchesResponse queryWatches() throws IOException, ElasticsearchExce * Start the Watcher service if it is not already running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-start">Documentation * on elastic.co */ @@ -642,7 +642,7 @@ public StartWatcherResponse start(StartWatcherRequest request) throws IOExceptio * a function that initializes a builder to create the * {@link StartWatcherRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-start">Documentation * on elastic.co */ @@ -658,7 +658,7 @@ public final StartWatcherResponse start( * Start the Watcher service if it is not already running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-start">Documentation * on elastic.co */ @@ -676,7 +676,7 @@ public StartWatcherResponse start() throws IOException, ElasticsearchException { * metric parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stats">Documentation * on elastic.co */ @@ -697,7 +697,7 @@ public WatcherStatsResponse stats(WatcherStatsRequest request) throws IOExceptio * a function that initializes a builder to create the * {@link WatcherStatsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stats">Documentation * on elastic.co */ @@ -714,7 +714,7 @@ public final WatcherStatsResponse stats( * metric parameter. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stats">Documentation * on elastic.co */ @@ -731,7 +731,7 @@ public WatcherStatsResponse stats() throws IOException, ElasticsearchException { * Stop the Watcher service if it is running. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stop">Documentation * on elastic.co */ @@ -751,7 +751,7 @@ public StopWatcherResponse stop(StopWatcherRequest request) throws IOException, * a function that initializes a builder to create the * {@link StopWatcherRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stop">Documentation * on elastic.co */ @@ -766,7 +766,7 @@ public final StopWatcherResponse stop(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-stop">Documentation * on elastic.co */ @@ -792,7 +792,7 @@ public StopWatcherResponse stop() throws IOException, ElasticsearchException { * data_content tier. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-update-settings">Documentation * on elastic.co */ @@ -822,7 +822,7 @@ public UpdateSettingsResponse updateSettings(UpdateSettingsRequest request) * a function that initializes a builder to create the * {@link UpdateSettingsRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-update-settings">Documentation * on elastic.co */ @@ -847,7 +847,7 @@ public final UpdateSettingsResponse updateSettings( * data_content tier. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-watcher-update-settings">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackAsyncClient.java index 7bd601147b..5f7f0a4b21 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackAsyncClient.java @@ -79,7 +79,7 @@ public ElasticsearchXpackAsyncClient withTransportOptions(@Nullable TransportOpt * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-info">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public CompletableFuture info(XpackInfoRequest request) { * a function that initializes a builder to create the * {@link XpackInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-info">Documentation * on elastic.co */ @@ -126,7 +126,7 @@ public final CompletableFuture info( * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-info">Documentation * on elastic.co */ @@ -144,7 +144,7 @@ public CompletableFuture info() { * under the current license. The API also provides some usage statistics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-xpack">Documentation * on elastic.co */ @@ -165,7 +165,7 @@ public CompletableFuture usage(XpackUsageRequest request) { * a function that initializes a builder to create the * {@link XpackUsageRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-xpack">Documentation * on elastic.co */ @@ -181,7 +181,7 @@ public final CompletableFuture usage( * under the current license. The API also provides some usage statistics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-xpack">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackClient.java index 00f9f24734..125c0f75d8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/ElasticsearchXpackClient.java @@ -79,7 +79,7 @@ public ElasticsearchXpackClient withTransportOptions(@Nullable TransportOptions * * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-info">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public XpackInfoResponse info(XpackInfoRequest request) throws IOException, Elas * a function that initializes a builder to create the * {@link XpackInfoRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-info">Documentation * on elastic.co */ @@ -126,7 +126,7 @@ public final XpackInfoResponse info(Function * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation-info">Documentation * on elastic.co */ @@ -144,7 +144,7 @@ public XpackInfoResponse info() throws IOException, ElasticsearchException { * under the current license. The API also provides some usage statistics. * * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-xpack">Documentation * on elastic.co */ @@ -165,7 +165,7 @@ public XpackUsageResponse usage(XpackUsageRequest request) throws IOException, E * a function that initializes a builder to create the * {@link XpackUsageRequest} * @see Documentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-xpack">Documentation * on elastic.co */ @@ -181,7 +181,7 @@ public final XpackUsageResponse usage(FunctionDocumentation + * "https://www.elastic.co/docs/api/doc/elasticsearch/v9/group/endpoint-xpack">Documentation * on elastic.co */