Skip to content

Commit c3dcedf

Browse files
authored
Add further summaries (#2734)
1 parent 6fd441a commit c3dcedf

File tree

33 files changed

+357
-278
lines changed

33 files changed

+357
-278
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 100 additions & 84 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 96 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 90 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/delete_by_query/DeleteByQueryRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { Duration } from '@_types/Time'
3434
import { Operator } from '@_types/query_dsl/Operator'
3535

3636
/**
37+
* Delete documents.
3738
* Deletes documents that match the specified query.
3839
* @rest_spec_name delete_by_query
3940
* @availability stack since=5.0.0 stability=stable

specification/_global/update_by_query/UpdateByQueryRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import { Duration } from '@_types/Time'
3535
import { Operator } from '@_types/query_dsl/Operator'
3636

3737
/**
38+
* Update documents.
3839
* Updates documents that match the specified query.
3940
* If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
4041
* @rest_spec_name update_by_query

specification/cat/aliases/CatAliasesRequest.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ import { CatRequestBase } from '@cat/_types/CatBase'
2121
import { ExpandWildcards, Names } from '@_types/common'
2222

2323
/**
24+
* Get aliases.
2425
* Retrieves the cluster’s index aliases, including filter and routing information.
2526
* The API does not return data stream aliases.
26-
* 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.
27+
* > info
28+
* > 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 /_alias endpoints](#endpoint-alias).
2729
* @rest_spec_name cat.aliases
2830
* @availability stack stability=stable
2931
* @availability serverless stability=stable visibility=public

specification/cat/component_templates/CatComponentTemplatesRequest.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
import { CatRequestBase } from '@cat/_types/CatBase'
2121

2222
/**
23+
* Get component templates.
2324
* Returns information about component templates in a cluster.
2425
* Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
25-
* IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
26-
* They are not intended for use by applications. For application consumption, use the get component template API.
26+
* > info
27+
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
28+
* They are not intended for use by applications. For application consumption, use [the /_component_template endpoints](#endpoint-component-template).
2729
* @rest_spec_name cat.component_templates
2830
* @availability stack since=5.1.0 stability=stable
2931
* @availability serverless stability=stable visibility=public

specification/cat/count/CatCountRequest.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ import { CatRequestBase } from '@cat/_types/CatBase'
2121
import { Indices } from '@_types/common'
2222

2323
/**
24-
* Provides quick access to a document count for a data stream, an index, or an entire cluster.
25-
* NOTE: The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
26-
* IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
27-
* They are not intended for use by applications. For application consumption, use the count API.
24+
* Get a document count.
25+
* Provides quick access to a document count for a data stream, an index, or an entire cluster.n/
26+
* The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
27+
* > info
28+
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
29+
* They are not intended for use by applications. For application consumption, use [the /_count endpoints](#endpoint-count).
2830
* @rest_spec_name cat.count
2931
* @availability stack stability=stable
3032
* @availability serverless stability=stable visibility=public

specification/cat/help/CatHelpRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import { CatRequestBase } from '@cat/_types/CatBase'
2121

2222
/**
23+
* Get CAT help.
24+
* Returns help for the CAT APIs.
2325
* @rest_spec_name cat.help
2426
* @availability stack stability=stable
2527
* @availability serverless stability=stable visibility=public

specification/cat/indices/CatIndicesRequest.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,21 @@ import { Bytes, ExpandWildcards, HealthStatus, Indices } from '@_types/common'
2222
import { TimeUnit } from '@_types/Time'
2323

2424
/**
25+
* Get index information.
2526
* Returns high-level information about indices in a cluster, including backing indices for data streams.
26-
* IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console.
27-
* They are not intended for use by applications. For application consumption, use the get index API.
28-
* 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.
27+
* > info
28+
* > CAT APIs are only intended for human consumption using the command line or Kibana console.
29+
* They are not intended for use by applications. For application consumption, use an index endpoint.
30+
*
31+
* Use this request to get the following information for each index in a cluster:
32+
* - shard count
33+
* - document count
34+
* - deleted document count
35+
* - primary store size
36+
* - total store size of all shards, including shard replicas
37+
*
2938
* 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.
30-
* To get an accurate count of Elasticsearch documents, use the cat count or count APIs.
39+
* To get an accurate count of Elasticsearch documents, use the [/_cat/count](#operation-cat-count) or [count](#endpoint-count) endpoints.
3140
* @rest_spec_name cat.indices
3241
* @availability stack stability=stable
3342
* @availability serverless stability=stable visibility=public

0 commit comments

Comments
 (0)