diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index a140258b4d..e3ed7046e3 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -5687,7 +5687,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count-1", "parameters": [ { @@ -5746,7 +5747,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count", "parameters": [ { @@ -5807,7 +5809,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count-3", "parameters": [ { @@ -5869,7 +5872,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count-2", "parameters": [ { @@ -7457,7 +7461,8 @@ "tags": [ "enrich" ], - "summary": "Creates the enrich index for an existing enrich policy", + "summary": "Run an enrich policy", + "description": "Create the enrich index for an existing enrich policy.", "operationId": "enrich-execute-policy", "parameters": [ { @@ -11684,7 +11689,8 @@ "tags": [ "indices" ], - "summary": "Returns information about whether a particular index template exists", + "summary": "Check index templates", + "description": "Check whether index templates exist.", "operationId": "indices-exists-index-template", "parameters": [ { @@ -13651,8 +13657,8 @@ "tags": [ "indices" ], - "summary": "Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams", - "description": "Multiple patterns and remote clusters are supported.", + "summary": "Resolve indices", + "description": "Resolve the names and/or index patterns for indices, aliases, and data streams.\nMultiple patterns and remote clusters are supported.", "operationId": "indices-resolve-index", "parameters": [ { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index cc2526ff9c..bcc5f81752 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -3118,7 +3118,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count-1", "parameters": [ { @@ -3177,7 +3178,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count", "parameters": [ { @@ -3238,7 +3240,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count-3", "parameters": [ { @@ -3300,7 +3303,8 @@ "tags": [ "search" ], - "summary": "Returns number of documents matching a query", + "summary": "Count search results", + "description": "Get the number of documents matching a query.", "operationId": "count-2", "parameters": [ { @@ -4666,7 +4670,8 @@ "tags": [ "enrich" ], - "summary": "Creates the enrich index for an existing enrich policy", + "summary": "Run an enrich policy", + "description": "Create the enrich index for an existing enrich policy.", "operationId": "enrich-execute-policy", "parameters": [ { @@ -6873,7 +6878,8 @@ "tags": [ "indices" ], - "summary": "Returns information about whether a particular index template exists", + "summary": "Check index templates", + "description": "Check whether index templates exist.", "operationId": "indices-exists-index-template", "parameters": [ { @@ -7899,8 +7905,8 @@ "tags": [ "indices" ], - "summary": "Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams", - "description": "Multiple patterns and remote clusters are supported.", + "summary": "Resolve indices", + "description": "Resolve the names and/or index patterns for indices, aliases, and data streams.\nMultiple patterns and remote clusters are supported.", "operationId": "indices-resolve-index", "parameters": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index e37690d3b9..e9bd59047f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -4092,7 +4092,7 @@ "stability": "stable" } }, - "description": "Returns number of documents matching a query.", + "description": "Count search results.\nGet the number of documents matching a query.", "docTag": "search", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html", "name": "count", @@ -4455,7 +4455,7 @@ "stability": "stable" } }, - "description": "Creates the enrich index for an existing enrich policy.", + "description": "Run an enrich policy.\nCreate the enrich index for an existing enrich policy.", "docId": "execute-enrich-policy-api", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/execute-enrich-policy-api.html", "name": "enrich.execute_policy", @@ -6648,7 +6648,7 @@ "stability": "stable" } }, - "description": "Returns information about whether a particular index template exists.", + "description": "Check index templates.\nCheck whether index templates exist.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-templates.html", "name": "indices.exists_index_template", "request": { @@ -7797,7 +7797,7 @@ "stability": "stable" } }, - "description": "Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams.\nMultiple patterns and remote clusters are supported.", + "description": "Resolve indices.\nResolve the names and/or index patterns for indices, aliases, and data streams.\nMultiple patterns and remote clusters are supported.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html", "name": "indices.resolve_index", "request": { @@ -21585,7 +21585,7 @@ } ] }, - "description": "Returns number of documents matching a query.", + "description": "Count search results.\nGet the number of documents matching a query.", "inherits": { "type": { "name": "RequestBase", @@ -21786,7 +21786,7 @@ } } ], - "specLocation": "_global/count/CountRequest.ts#L26-L121" + "specLocation": "_global/count/CountRequest.ts#L26-L123" }, { "kind": "response", @@ -116604,7 +116604,7 @@ "body": { "kind": "no_body" }, - "description": "Creates the enrich index for an existing enrich policy.", + "description": "Run an enrich policy.\nCreate the enrich index for an existing enrich policy.", "inherits": { "type": { "name": "RequestBase", @@ -116644,7 +116644,7 @@ } } ], - "specLocation": "enrich/execute_policy/ExecuteEnrichPolicyRequest.ts#L23-L44" + "specLocation": "enrich/execute_policy/ExecuteEnrichPolicyRequest.ts#L23-L45" }, { "kind": "response", @@ -130353,7 +130353,7 @@ "body": { "kind": "no_body" }, - "description": "Returns information about whether a particular index template exists.", + "description": "Check index templates.\nCheck whether index templates exist.", "inherits": { "type": { "name": "RequestBase", @@ -130393,7 +130393,7 @@ } } ], - "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L41" + "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L43" }, { "kind": "response", @@ -136123,7 +136123,7 @@ "body": { "kind": "no_body" }, - "description": "Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams.\nMultiple patterns and remote clusters are supported.", + "description": "Resolve indices.\nResolve the names and/or index patterns for indices, aliases, and data streams.\nMultiple patterns and remote clusters are supported.", "inherits": { "type": { "name": "RequestBase", @@ -136189,7 +136189,7 @@ } } ], - "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L60" + "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L61" }, { "kind": "interface", diff --git a/specification/_global/count/CountRequest.ts b/specification/_global/count/CountRequest.ts index b6f5ccefad..bd336a274a 100644 --- a/specification/_global/count/CountRequest.ts +++ b/specification/_global/count/CountRequest.ts @@ -24,6 +24,8 @@ import { QueryContainer } from '@_types/query_dsl/abstractions' import { Operator } from '@_types/query_dsl/Operator' /** + * Count search results. + * Get the number of documents matching a query. * @rest_spec_name count * @availability stack stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts b/specification/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts index c4149f7196..32095c8f3e 100644 --- a/specification/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts +++ b/specification/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts @@ -21,7 +21,8 @@ import { RequestBase } from '@_types/Base' import { Name } from '@_types/common' /** - * Creates the enrich index for an existing enrich policy. + * Run an enrich policy. + * Create the enrich index for an existing enrich policy. * @doc_id execute-enrich-policy-api * @rest_spec_name enrich.execute_policy * @availability stack since=7.5.0 stability=stable diff --git a/specification/indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts b/specification/indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts index 823cb15db6..9db02487a6 100644 --- a/specification/indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts +++ b/specification/indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts @@ -22,6 +22,8 @@ import { Name } from '@_types/common' import { Duration } from '@_types/Time' /** + * Check index templates. + * Check whether index templates exist. * @rest_spec_name indices.exists_index_template * @availability stack stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/indices/resolve_index/ResolveIndexRequest.ts b/specification/indices/resolve_index/ResolveIndexRequest.ts index 2ea7bc8570..a456eb5e2c 100644 --- a/specification/indices/resolve_index/ResolveIndexRequest.ts +++ b/specification/indices/resolve_index/ResolveIndexRequest.ts @@ -21,7 +21,8 @@ import { RequestBase } from '@_types/Base' import { ExpandWildcards, Names } from '@_types/common' /** - * Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams. + * Resolve indices. + * Resolve the names and/or index patterns for indices, aliases, and data streams. * Multiple patterns and remote clusters are supported. * @rest_spec_name indices.resolve_index * @availability stack since=7.9.0 stability=stable