116
116
import co .elastic .clients .elasticsearch .enrich .ElasticsearchEnrichClient ;
117
117
import co .elastic .clients .elasticsearch .eql .ElasticsearchEqlClient ;
118
118
import co .elastic .clients .elasticsearch .features .ElasticsearchFeaturesClient ;
119
+ import co .elastic .clients .elasticsearch .fleet .ElasticsearchFleetClient ;
119
120
import co .elastic .clients .elasticsearch .graph .ElasticsearchGraphClient ;
120
121
import co .elastic .clients .elasticsearch .ilm .ElasticsearchIlmClient ;
121
122
import co .elastic .clients .elasticsearch .indices .ElasticsearchIndicesClient ;
@@ -206,6 +207,10 @@ public ElasticsearchFeaturesClient features() {
206
207
return new ElasticsearchFeaturesClient (this .transport , this .transportOptions );
207
208
}
208
209
210
+ public ElasticsearchFleetClient fleet () {
211
+ return new ElasticsearchFleetClient (this .transport , this .transportOptions );
212
+ }
213
+
209
214
public ElasticsearchGraphClient graph () {
210
215
return new ElasticsearchGraphClient (this .transport , this .transportOptions );
211
216
}
@@ -301,7 +306,7 @@ public ElasticsearchXpackClient xpack() {
301
306
* request.
302
307
*
303
308
* @see <a href=
304
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master /docs-bulk.html">Documentation
309
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /docs-bulk.html">Documentation
305
310
* on elastic.co</a>
306
311
*/
307
312
@@ -320,7 +325,7 @@ public BulkResponse bulk(BulkRequest request) throws IOException, ElasticsearchE
320
325
* a function that initializes a builder to create the
321
326
* {@link BulkRequest}
322
327
* @see <a href=
323
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master /docs-bulk.html">Documentation
328
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /docs-bulk.html">Documentation
324
329
* on elastic.co</a>
325
330
*/
326
331
@@ -334,7 +339,7 @@ public final BulkResponse bulk(Function<BulkRequest.Builder, ObjectBuilder<BulkR
334
339
* request.
335
340
*
336
341
* @see <a href=
337
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master /docs-bulk.html">Documentation
342
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /docs-bulk.html">Documentation
338
343
* on elastic.co</a>
339
344
*/
340
345
@@ -349,7 +354,7 @@ public BulkResponse bulk() throws IOException, ElasticsearchException {
349
354
* Explicitly clears the search context for a scroll.
350
355
*
351
356
* @see <a href=
352
- * "https://www.elastic.co/guide/en/elasticsearch/reference/current /clear-scroll-api.html">Documentation
357
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /clear-scroll-api.html">Documentation
353
358
* on elastic.co</a>
354
359
*/
355
360
@@ -367,7 +372,7 @@ public ClearScrollResponse clearScroll(ClearScrollRequest request) throws IOExce
367
372
* a function that initializes a builder to create the
368
373
* {@link ClearScrollRequest}
369
374
* @see <a href=
370
- * "https://www.elastic.co/guide/en/elasticsearch/reference/current /clear-scroll-api.html">Documentation
375
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /clear-scroll-api.html">Documentation
371
376
* on elastic.co</a>
372
377
*/
373
378
@@ -381,7 +386,7 @@ public final ClearScrollResponse clearScroll(
381
386
* Explicitly clears the search context for a scroll.
382
387
*
383
388
* @see <a href=
384
- * "https://www.elastic.co/guide/en/elasticsearch/reference/current /clear-scroll-api.html">Documentation
389
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /clear-scroll-api.html">Documentation
385
390
* on elastic.co</a>
386
391
*/
387
392
@@ -396,7 +401,7 @@ public ClearScrollResponse clearScroll() throws IOException, ElasticsearchExcept
396
401
* Close a point in time
397
402
*
398
403
* @see <a href=
399
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master /point-in-time-api.html">Documentation
404
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /point-in-time-api.html">Documentation
400
405
* on elastic.co</a>
401
406
*/
402
407
@@ -415,7 +420,7 @@ public ClosePointInTimeResponse closePointInTime(ClosePointInTimeRequest request
415
420
* a function that initializes a builder to create the
416
421
* {@link ClosePointInTimeRequest}
417
422
* @see <a href=
418
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master /point-in-time-api.html">Documentation
423
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /point-in-time-api.html">Documentation
419
424
* on elastic.co</a>
420
425
*/
421
426
@@ -790,20 +795,6 @@ public final FieldCapsResponse fieldCaps(Function<FieldCapsRequest.Builder, Obje
790
795
return fieldCaps (fn .apply (new FieldCapsRequest .Builder ()).build ());
791
796
}
792
797
793
- /**
794
- * Returns the information about the capabilities of fields among multiple
795
- * indices.
796
- *
797
- * @see <a href=
798
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html">Documentation
799
- * on elastic.co</a>
800
- */
801
-
802
- public FieldCapsResponse fieldCaps () throws IOException , ElasticsearchException {
803
- return this .transport .performRequest (new FieldCapsRequest .Builder ().build (), FieldCapsRequest ._ENDPOINT ,
804
- this .transportOptions );
805
- }
806
-
807
798
// ----- Endpoint: get
808
799
809
800
/**
@@ -1185,7 +1176,7 @@ public MtermvectorsResponse mtermvectors() throws IOException, ElasticsearchExce
1185
1176
* Open a point in time that can be used in subsequent searches
1186
1177
*
1187
1178
* @see <a href=
1188
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master /point-in-time-api.html">Documentation
1179
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /point-in-time-api.html">Documentation
1189
1180
* on elastic.co</a>
1190
1181
*/
1191
1182
@@ -1204,7 +1195,7 @@ public OpenPointInTimeResponse openPointInTime(OpenPointInTimeRequest request)
1204
1195
* a function that initializes a builder to create the
1205
1196
* {@link OpenPointInTimeRequest}
1206
1197
* @see <a href=
1207
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master /point-in-time-api.html">Documentation
1198
+ * "https://www.elastic.co/guide/en/elasticsearch/reference/8.3 /point-in-time-api.html">Documentation
1208
1199
* on elastic.co</a>
1209
1200
*/
1210
1201
@@ -1332,21 +1323,6 @@ public final ReindexResponse reindex(Function<ReindexRequest.Builder, ObjectBuil
1332
1323
return reindex (fn .apply (new ReindexRequest .Builder ()).build ());
1333
1324
}
1334
1325
1335
- /**
1336
- * Allows to copy documents from one index to another, optionally filtering the
1337
- * source documents by a query, changing the destination index settings, or
1338
- * fetching the documents from a remote cluster.
1339
- *
1340
- * @see <a href=
1341
- * "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html">Documentation
1342
- * on elastic.co</a>
1343
- */
1344
-
1345
- public ReindexResponse reindex () throws IOException , ElasticsearchException {
1346
- return this .transport .performRequest (new ReindexRequest .Builder ().build (), ReindexRequest ._ENDPOINT ,
1347
- this .transportOptions );
1348
- }
1349
-
1350
1326
// ----- Endpoint: reindex_rethrottle
1351
1327
1352
1328
/**
0 commit comments