Skip to content

Commit ffc2c31

Browse files
committed
[codegen] updated to latest api spec
1 parent 2333f38 commit ffc2c31

File tree

160 files changed

+22616
-929
lines changed

Some content is hidden

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

160 files changed

+22616
-929
lines changed

java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import co.elastic.clients.elasticsearch.cat.ElasticsearchCatAsyncClient;
2727
import co.elastic.clients.elasticsearch.ccr.ElasticsearchCcrAsyncClient;
2828
import co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterAsyncClient;
29+
import co.elastic.clients.elasticsearch.connector.ElasticsearchConnectorAsyncClient;
2930
import co.elastic.clients.elasticsearch.core.BulkRequest;
3031
import co.elastic.clients.elasticsearch.core.BulkResponse;
3132
import co.elastic.clients.elasticsearch.core.ClearScrollRequest;
@@ -212,6 +213,10 @@ public ElasticsearchClusterAsyncClient cluster() {
212213
return new ElasticsearchClusterAsyncClient(this.transport, this.transportOptions);
213214
}
214215

216+
public ElasticsearchConnectorAsyncClient connector() {
217+
return new ElasticsearchConnectorAsyncClient(this.transport, this.transportOptions);
218+
}
219+
215220
public ElasticsearchDanglingIndicesAsyncClient danglingIndices() {
216221
return new ElasticsearchDanglingIndicesAsyncClient(this.transport, this.transportOptions);
217222
}
@@ -351,7 +356,7 @@ public ElasticsearchXpackAsyncClient xpack() {
351356
* request.
352357
*
353358
* @see <a href=
354-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
359+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
355360
* on elastic.co</a>
356361
*/
357362

@@ -370,7 +375,7 @@ public CompletableFuture<BulkResponse> bulk(BulkRequest request) {
370375
* a function that initializes a builder to create the
371376
* {@link BulkRequest}
372377
* @see <a href=
373-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
378+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
374379
* on elastic.co</a>
375380
*/
376381

@@ -383,7 +388,7 @@ public final CompletableFuture<BulkResponse> bulk(Function<BulkRequest.Builder,
383388
* request.
384389
*
385390
* @see <a href=
386-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
391+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
387392
* on elastic.co</a>
388393
*/
389394

@@ -398,7 +403,7 @@ public CompletableFuture<BulkResponse> bulk() {
398403
* Explicitly clears the search context for a scroll.
399404
*
400405
* @see <a href=
401-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation
406+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-scroll-api.html">Documentation
402407
* on elastic.co</a>
403408
*/
404409

@@ -416,7 +421,7 @@ public CompletableFuture<ClearScrollResponse> clearScroll(ClearScrollRequest req
416421
* a function that initializes a builder to create the
417422
* {@link ClearScrollRequest}
418423
* @see <a href=
419-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation
424+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-scroll-api.html">Documentation
420425
* on elastic.co</a>
421426
*/
422427

@@ -429,7 +434,7 @@ public final CompletableFuture<ClearScrollResponse> clearScroll(
429434
* Explicitly clears the search context for a scroll.
430435
*
431436
* @see <a href=
432-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation
437+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-scroll-api.html">Documentation
433438
* on elastic.co</a>
434439
*/
435440

@@ -444,7 +449,7 @@ public CompletableFuture<ClearScrollResponse> clearScroll() {
444449
* Close a point in time
445450
*
446451
* @see <a href=
447-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
452+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
448453
* on elastic.co</a>
449454
*/
450455

@@ -462,7 +467,7 @@ public CompletableFuture<ClosePointInTimeResponse> closePointInTime(ClosePointIn
462467
* a function that initializes a builder to create the
463468
* {@link ClosePointInTimeRequest}
464469
* @see <a href=
465-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
470+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
466471
* on elastic.co</a>
467472
*/
468473

@@ -1500,7 +1505,7 @@ public CompletableFuture<MtermvectorsResponse> mtermvectors() {
15001505
* Open a point in time that can be used in subsequent searches
15011506
*
15021507
* @see <a href=
1503-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
1508+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
15041509
* on elastic.co</a>
15051510
*/
15061511

@@ -1518,7 +1523,7 @@ public CompletableFuture<OpenPointInTimeResponse> openPointInTime(OpenPointInTim
15181523
* a function that initializes a builder to create the
15191524
* {@link OpenPointInTimeRequest}
15201525
* @see <a href=
1521-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
1526+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
15221527
* on elastic.co</a>
15231528
*/
15241529

java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import co.elastic.clients.elasticsearch.cat.ElasticsearchCatClient;
2828
import co.elastic.clients.elasticsearch.ccr.ElasticsearchCcrClient;
2929
import co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient;
30+
import co.elastic.clients.elasticsearch.connector.ElasticsearchConnectorClient;
3031
import co.elastic.clients.elasticsearch.core.BulkRequest;
3132
import co.elastic.clients.elasticsearch.core.BulkResponse;
3233
import co.elastic.clients.elasticsearch.core.ClearScrollRequest;
@@ -213,6 +214,10 @@ public ElasticsearchClusterClient cluster() {
213214
return new ElasticsearchClusterClient(this.transport, this.transportOptions);
214215
}
215216

217+
public ElasticsearchConnectorClient connector() {
218+
return new ElasticsearchConnectorClient(this.transport, this.transportOptions);
219+
}
220+
216221
public ElasticsearchDanglingIndicesClient danglingIndices() {
217222
return new ElasticsearchDanglingIndicesClient(this.transport, this.transportOptions);
218223
}
@@ -352,7 +357,7 @@ public ElasticsearchXpackClient xpack() {
352357
* request.
353358
*
354359
* @see <a href=
355-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
360+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
356361
* on elastic.co</a>
357362
*/
358363

@@ -371,7 +376,7 @@ public BulkResponse bulk(BulkRequest request) throws IOException, ElasticsearchE
371376
* a function that initializes a builder to create the
372377
* {@link BulkRequest}
373378
* @see <a href=
374-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
379+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
375380
* on elastic.co</a>
376381
*/
377382

@@ -385,7 +390,7 @@ public final BulkResponse bulk(Function<BulkRequest.Builder, ObjectBuilder<BulkR
385390
* request.
386391
*
387392
* @see <a href=
388-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
393+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
389394
* on elastic.co</a>
390395
*/
391396

@@ -400,7 +405,7 @@ public BulkResponse bulk() throws IOException, ElasticsearchException {
400405
* Explicitly clears the search context for a scroll.
401406
*
402407
* @see <a href=
403-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation
408+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-scroll-api.html">Documentation
404409
* on elastic.co</a>
405410
*/
406411

@@ -418,7 +423,7 @@ public ClearScrollResponse clearScroll(ClearScrollRequest request) throws IOExce
418423
* a function that initializes a builder to create the
419424
* {@link ClearScrollRequest}
420425
* @see <a href=
421-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation
426+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-scroll-api.html">Documentation
422427
* on elastic.co</a>
423428
*/
424429

@@ -432,7 +437,7 @@ public final ClearScrollResponse clearScroll(
432437
* Explicitly clears the search context for a scroll.
433438
*
434439
* @see <a href=
435-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation
440+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-scroll-api.html">Documentation
436441
* on elastic.co</a>
437442
*/
438443

@@ -447,7 +452,7 @@ public ClearScrollResponse clearScroll() throws IOException, ElasticsearchExcept
447452
* Close a point in time
448453
*
449454
* @see <a href=
450-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
455+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
451456
* on elastic.co</a>
452457
*/
453458

@@ -466,7 +471,7 @@ public ClosePointInTimeResponse closePointInTime(ClosePointInTimeRequest request
466471
* a function that initializes a builder to create the
467472
* {@link ClosePointInTimeRequest}
468473
* @see <a href=
469-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
474+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
470475
* on elastic.co</a>
471476
*/
472477

@@ -1526,7 +1531,7 @@ public MtermvectorsResponse mtermvectors() throws IOException, ElasticsearchExce
15261531
* Open a point in time that can be used in subsequent searches
15271532
*
15281533
* @see <a href=
1529-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
1534+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
15301535
* on elastic.co</a>
15311536
*/
15321537

@@ -1545,7 +1550,7 @@ public OpenPointInTimeResponse openPointInTime(OpenPointInTimeRequest request)
15451550
* a function that initializes a builder to create the
15461551
* {@link OpenPointInTimeRequest}
15471552
* @see <a href=
1548-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
1553+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
15491554
* on elastic.co</a>
15501555
*/
15511556

0 commit comments

Comments
 (0)