|
29 | 29 | class Cat extends AbstractEndpoint
|
30 | 30 | {
|
31 | 31 | /**
|
32 |
| - * Shows information about currently configured aliases to indices including filter and routing infos. |
| 32 | + * Retrieves the cluster’s index aliases, including filter and routing information. |
| 33 | + * The API does not return data stream aliases. |
| 34 | + * IMPORTANT: cat APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API. |
33 | 35 | *
|
34 | 36 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-alias.html
|
35 | 37 | *
|
@@ -74,7 +76,10 @@ public function aliases(string|array $name = null, array $params = []): Elastics
|
74 | 76 |
|
75 | 77 |
|
76 | 78 | /**
|
77 |
| - * Returns information about existing component_templates templates. |
| 79 | + * Returns information about component templates in a cluster. |
| 80 | + * Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. |
| 81 | + * IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. |
| 82 | + * They are not intended for use by applications. For application consumption, use the get component template API. |
78 | 83 | *
|
79 | 84 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html
|
80 | 85 | *
|
@@ -110,7 +115,10 @@ public function componentTemplates(string $name = null, array $params = []): Ela
|
110 | 115 |
|
111 | 116 |
|
112 | 117 | /**
|
113 |
| - * Provides quick access to the document count of the entire cluster, or individual indices. |
| 118 | + * Provides quick access to a document count for a data stream, an index, or an entire cluster. |
| 119 | + * NOTE: The document count only includes live documents, not deleted documents which have not yet been removed by the merge process. |
| 120 | + * IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. |
| 121 | + * They are not intended for use by applications. For application consumption, use the count API. |
114 | 122 | *
|
115 | 123 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-count.html
|
116 | 124 | *
|
@@ -178,7 +186,12 @@ public function help(array $params = []): Elasticsearch|Promise
|
178 | 186 |
|
179 | 187 |
|
180 | 188 | /**
|
181 |
| - * Returns information about indices: number of primaries and replicas, document counts, disk size, ... |
| 189 | + * Returns high-level information about indices in a cluster, including backing indices for data streams. |
| 190 | + * IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. |
| 191 | + * They are not intended for use by applications. For application consumption, use the get index API. |
| 192 | + * Use the cat indices API to get the following information for each index in a cluster: shard count; document count; deleted document count; primary store size; total store size of all shards, including shard replicas. |
| 193 | + * These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. |
| 194 | + * To get an accurate count of Elasticsearch documents, use the cat count or count APIs. |
182 | 195 | *
|
183 | 196 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-indices.html
|
184 | 197 | *
|
@@ -234,7 +247,11 @@ public function indices(string|array $index = null, array $params = []): Elastic
|
234 | 247 |
|
235 | 248 |
|
236 | 249 | /**
|
237 |
| - * Gets configuration and usage information about data frame analytics jobs. |
| 250 | + * Returns configuration and usage information about data frame analytics jobs. |
| 251 | + * |
| 252 | + * IMPORTANT: cat APIs are only intended for human consumption using the Kibana |
| 253 | + * console or command line. They are not intended for use by applications. For |
| 254 | + * application consumption, use the get data frame analytics jobs statistics API. |
238 | 255 | *
|
239 | 256 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-dfanalytics.html
|
240 | 257 | *
|
@@ -286,7 +303,14 @@ public function mlDataFrameAnalytics(string $id = null, array $params = []): Ela
|
286 | 303 |
|
287 | 304 |
|
288 | 305 | /**
|
289 |
| - * Gets configuration and usage information about datafeeds. |
| 306 | + * Returns configuration and usage information about datafeeds. |
| 307 | + * This API returns a maximum of 10,000 datafeeds. |
| 308 | + * If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` |
| 309 | + * cluster privileges to use this API. |
| 310 | + * |
| 311 | + * IMPORTANT: cat APIs are only intended for human consumption using the Kibana |
| 312 | + * console or command line. They are not intended for use by applications. For |
| 313 | + * application consumption, use the get datafeed statistics API. |
290 | 314 | *
|
291 | 315 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-datafeeds.html
|
292 | 316 | *
|
@@ -336,7 +360,14 @@ public function mlDatafeeds(string $datafeed_id = null, array $params = []): Ela
|
336 | 360 |
|
337 | 361 |
|
338 | 362 | /**
|
339 |
| - * Gets configuration and usage information about anomaly detection jobs. |
| 363 | + * Returns configuration and usage information for anomaly detection jobs. |
| 364 | + * This API returns a maximum of 10,000 jobs. |
| 365 | + * If the Elasticsearch security features are enabled, you must have `monitor_ml`, |
| 366 | + * `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. |
| 367 | + * |
| 368 | + * IMPORTANT: cat APIs are only intended for human consumption using the Kibana |
| 369 | + * console or command line. They are not intended for use by applications. For |
| 370 | + * application consumption, use the get anomaly detection job statistics API. |
340 | 371 | *
|
341 | 372 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-anomaly-detectors.html
|
342 | 373 | *
|
@@ -388,7 +419,11 @@ public function mlJobs(string $job_id = null, array $params = []): Elasticsearch
|
388 | 419 |
|
389 | 420 |
|
390 | 421 | /**
|
391 |
| - * Gets configuration and usage information about inference trained models. |
| 422 | + * Returns configuration and usage information about inference trained models. |
| 423 | + * |
| 424 | + * IMPORTANT: cat APIs are only intended for human consumption using the Kibana |
| 425 | + * console or command line. They are not intended for use by applications. For |
| 426 | + * application consumption, use the get trained models statistics API. |
392 | 427 | *
|
393 | 428 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-trained-model.html
|
394 | 429 | *
|
@@ -442,7 +477,11 @@ public function mlTrainedModels(string $model_id = null, array $params = []): El
|
442 | 477 |
|
443 | 478 |
|
444 | 479 | /**
|
445 |
| - * Gets configuration and usage information about transforms. |
| 480 | + * Returns configuration and usage information about transforms. |
| 481 | + * |
| 482 | + * IMPORTANT: cat APIs are only intended for human consumption using the Kibana |
| 483 | + * console or command line. They are not intended for use by applications. For |
| 484 | + * application consumption, use the get transform statistics API. |
446 | 485 | *
|
447 | 486 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-transforms.html
|
448 | 487 | *
|
|
0 commit comments