Skip to content

Commit 371adb1

Browse files
committed
Revert "[codegen] updated to latest api spec"
This reverts commit ffc2c31.
1 parent ffc2c31 commit 371adb1

File tree

160 files changed

+929
-22616
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

+929
-22616
lines changed

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

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
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;
3029
import co.elastic.clients.elasticsearch.core.BulkRequest;
3130
import co.elastic.clients.elasticsearch.core.BulkResponse;
3231
import co.elastic.clients.elasticsearch.core.ClearScrollRequest;
@@ -213,10 +212,6 @@ public ElasticsearchClusterAsyncClient cluster() {
213212
return new ElasticsearchClusterAsyncClient(this.transport, this.transportOptions);
214213
}
215214

216-
public ElasticsearchConnectorAsyncClient connector() {
217-
return new ElasticsearchConnectorAsyncClient(this.transport, this.transportOptions);
218-
}
219-
220215
public ElasticsearchDanglingIndicesAsyncClient danglingIndices() {
221216
return new ElasticsearchDanglingIndicesAsyncClient(this.transport, this.transportOptions);
222217
}
@@ -356,7 +351,7 @@ public ElasticsearchXpackAsyncClient xpack() {
356351
* request.
357352
*
358353
* @see <a href=
359-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
354+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
360355
* on elastic.co</a>
361356
*/
362357

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

@@ -388,7 +383,7 @@ public final CompletableFuture<BulkResponse> bulk(Function<BulkRequest.Builder,
388383
* request.
389384
*
390385
* @see <a href=
391-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
386+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
392387
* on elastic.co</a>
393388
*/
394389

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

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

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

@@ -449,7 +444,7 @@ public CompletableFuture<ClearScrollResponse> clearScroll() {
449444
* Close a point in time
450445
*
451446
* @see <a href=
452-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
447+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
453448
* on elastic.co</a>
454449
*/
455450

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

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

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

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

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
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;
3130
import co.elastic.clients.elasticsearch.core.BulkRequest;
3231
import co.elastic.clients.elasticsearch.core.BulkResponse;
3332
import co.elastic.clients.elasticsearch.core.ClearScrollRequest;
@@ -214,10 +213,6 @@ public ElasticsearchClusterClient cluster() {
214213
return new ElasticsearchClusterClient(this.transport, this.transportOptions);
215214
}
216215

217-
public ElasticsearchConnectorClient connector() {
218-
return new ElasticsearchConnectorClient(this.transport, this.transportOptions);
219-
}
220-
221216
public ElasticsearchDanglingIndicesClient danglingIndices() {
222217
return new ElasticsearchDanglingIndicesClient(this.transport, this.transportOptions);
223218
}
@@ -357,7 +352,7 @@ public ElasticsearchXpackClient xpack() {
357352
* request.
358353
*
359354
* @see <a href=
360-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
355+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
361356
* on elastic.co</a>
362357
*/
363358

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

@@ -390,7 +385,7 @@ public final BulkResponse bulk(Function<BulkRequest.Builder, ObjectBuilder<BulkR
390385
* request.
391386
*
392387
* @see <a href=
393-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-bulk.html">Documentation
388+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation
394389
* on elastic.co</a>
395390
*/
396391

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

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

@@ -437,7 +432,7 @@ public final ClearScrollResponse clearScroll(
437432
* Explicitly clears the search context for a scroll.
438433
*
439434
* @see <a href=
440-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-scroll-api.html">Documentation
435+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation
441436
* on elastic.co</a>
442437
*/
443438

@@ -452,7 +447,7 @@ public ClearScrollResponse clearScroll() throws IOException, ElasticsearchExcept
452447
* Close a point in time
453448
*
454449
* @see <a href=
455-
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.15/point-in-time-api.html">Documentation
450+
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation
456451
* on elastic.co</a>
457452
*/
458453

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

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

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

0 commit comments

Comments
 (0)