diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 1c2d67f411..a8d43ffe4e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -23989,7 +23989,11 @@ "tags": [ "query_rules" ], - "summary": "Returns the details about a query rule within a query ruleset", + "summary": "Get a query rule", + "description": "Get details about a query rule within a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-using-query-rules.html" + }, "operationId": "query-rules-get-rule", "parameters": [ { @@ -24033,7 +24037,8 @@ "tags": [ "query_rules" ], - "summary": "Creates or updates a query rule within a query ruleset", + "summary": "Create or update a query rule", + "description": "Create or update a query rule within a query ruleset.", "operationId": "query-rules-put-rule", "parameters": [ { @@ -24124,7 +24129,8 @@ "tags": [ "query_rules" ], - "summary": "Deletes a query rule within a query ruleset", + "summary": "Delete a query rule", + "description": "Delete a query rule within a query ruleset.", "operationId": "query-rules-delete-rule", "parameters": [ { @@ -24170,7 +24176,8 @@ "tags": [ "query_rules" ], - "summary": "Returns the details about a query ruleset", + "summary": "Get a query ruleset", + "description": "Get details about a query ruleset.", "operationId": "query-rules-get-ruleset", "parameters": [ { @@ -24203,7 +24210,10 @@ "tags": [ "query_rules" ], - "summary": "Creates or updates a query ruleset", + "summary": "Create or update a query ruleset", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-using-query-rules.html" + }, "operationId": "query-rules-put-ruleset", "parameters": [ { @@ -24272,7 +24282,7 @@ "tags": [ "query_rules" ], - "summary": "Deletes a query ruleset", + "summary": "Delete a query ruleset", "operationId": "query-rules-delete-ruleset", "parameters": [ { @@ -24307,7 +24317,8 @@ "tags": [ "query_rules" ], - "summary": "Returns summarized information about existing query rulesets", + "summary": "Get all query rulesets", + "description": "Get summarized information about the query rulesets.", "operationId": "query-rules-list-rulesets", "parameters": [ { @@ -24366,7 +24377,8 @@ "tags": [ "query_rules" ], - "summary": "Creates or updates a query ruleset", + "summary": "Test a query ruleset", + "description": "Evaluate match criteria against a query ruleset to identify the rules that would match that criteria.", "operationId": "query-rules-test", "parameters": [ { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 08e32c4993..ceb8524ba5 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -14744,7 +14744,11 @@ "tags": [ "query_rules" ], - "summary": "Returns the details about a query rule within a query ruleset", + "summary": "Get a query rule", + "description": "Get details about a query rule within a query ruleset.", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-using-query-rules.html" + }, "operationId": "query-rules-get-rule", "parameters": [ { @@ -14788,7 +14792,8 @@ "tags": [ "query_rules" ], - "summary": "Creates or updates a query rule within a query ruleset", + "summary": "Create or update a query rule", + "description": "Create or update a query rule within a query ruleset.", "operationId": "query-rules-put-rule", "parameters": [ { @@ -14879,7 +14884,8 @@ "tags": [ "query_rules" ], - "summary": "Deletes a query rule within a query ruleset", + "summary": "Delete a query rule", + "description": "Delete a query rule within a query ruleset.", "operationId": "query-rules-delete-rule", "parameters": [ { @@ -14925,7 +14931,8 @@ "tags": [ "query_rules" ], - "summary": "Returns the details about a query ruleset", + "summary": "Get a query ruleset", + "description": "Get details about a query ruleset.", "operationId": "query-rules-get-ruleset", "parameters": [ { @@ -14958,7 +14965,10 @@ "tags": [ "query_rules" ], - "summary": "Creates or updates a query ruleset", + "summary": "Create or update a query ruleset", + "externalDocs": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-using-query-rules.html" + }, "operationId": "query-rules-put-ruleset", "parameters": [ { @@ -15027,7 +15037,7 @@ "tags": [ "query_rules" ], - "summary": "Deletes a query ruleset", + "summary": "Delete a query ruleset", "operationId": "query-rules-delete-ruleset", "parameters": [ { @@ -15062,7 +15072,8 @@ "tags": [ "query_rules" ], - "summary": "Returns summarized information about existing query rulesets", + "summary": "Get all query rulesets", + "description": "Get summarized information about the query rulesets.", "operationId": "query-rules-list-rulesets", "parameters": [ { @@ -15121,7 +15132,8 @@ "tags": [ "query_rules" ], - "summary": "Creates or updates a query ruleset", + "summary": "Test a query ruleset", + "description": "Evaluate match criteria against a query ruleset to identify the rules that would match that criteria.", "operationId": "query-rules-test", "parameters": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index 32a5a4d804..b20c3b4c1e 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -13627,7 +13627,7 @@ "stability": "stable" } }, - "description": "Deletes a query rule within a query ruleset.", + "description": "Delete a query rule.\nDelete a query rule within a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-rule.html", "name": "query_rules.delete_rule", "request": { @@ -13662,7 +13662,7 @@ "stability": "stable" } }, - "description": "Deletes a query ruleset.", + "description": "Delete a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html", "name": "query_rules.delete_ruleset", "request": { @@ -13697,8 +13697,10 @@ "stability": "stable" } }, - "description": "Returns the details about a query rule within a query ruleset", + "description": "Get a query rule.\nGet details about a query rule within a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-rule.html", + "extDocId": "query-rule", + "extDocUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-using-query-rules.html", "name": "query_rules.get_rule", "request": { "name": "Request", @@ -13732,7 +13734,7 @@ "stability": "stable" } }, - "description": "Returns the details about a query ruleset", + "description": "Get a query ruleset.\nGet details about a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html", "name": "query_rules.get_ruleset", "request": { @@ -13767,7 +13769,7 @@ "stability": "stable" } }, - "description": "Returns summarized information about existing query rulesets.", + "description": "Get all query rulesets.\nGet summarized information about the query rulesets.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-query-rulesets.html", "name": "query_rules.list_rulesets", "request": { @@ -13802,7 +13804,7 @@ "stability": "stable" } }, - "description": "Creates or updates a query rule within a query ruleset.", + "description": "Create or update a query rule.\nCreate or update a query rule within a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-rule.html", "name": "query_rules.put_rule", "request": { @@ -13840,8 +13842,10 @@ "stability": "stable" } }, - "description": "Creates or updates a query ruleset.", + "description": "Create or update a query ruleset.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-query-ruleset.html", + "extDocId": "query-rule", + "extDocUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-using-query-rules.html", "name": "query_rules.put_ruleset", "request": { "name": "Request", @@ -13878,7 +13882,7 @@ "stability": "stable" } }, - "description": "Creates or updates a query ruleset.", + "description": "Test a query ruleset.\nEvaluate match criteria against a query ruleset to identify the rules that would match that criteria.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/test-query-ruleset.html", "name": "query_rules.test", "request": { @@ -182921,7 +182925,7 @@ "body": { "kind": "no_body" }, - "description": "Deletes a query rule within a query ruleset.", + "description": "Delete a query rule.\nDelete a query rule within a query ruleset.", "inherits": { "type": { "name": "RequestBase", @@ -182959,7 +182963,7 @@ } ], "query": [], - "specLocation": "query_rules/delete_rule/QueryRuleDeleteRequest.ts#L22-L40" + "specLocation": "query_rules/delete_rule/QueryRuleDeleteRequest.ts#L22-L41" }, { "kind": "response", @@ -182987,7 +182991,7 @@ "body": { "kind": "no_body" }, - "description": "Deletes a query ruleset.", + "description": "Delete a query ruleset.", "inherits": { "type": { "name": "RequestBase", @@ -183041,7 +183045,7 @@ "body": { "kind": "no_body" }, - "description": "Returns the details about a query rule within a query ruleset", + "description": "Get a query rule.\nGet details about a query rule within a query ruleset.", "inherits": { "type": { "name": "RequestBase", @@ -183079,7 +183083,7 @@ } ], "query": [], - "specLocation": "query_rules/get_rule/QueryRuleGetRequest.ts#L22-L40" + "specLocation": "query_rules/get_rule/QueryRuleGetRequest.ts#L22-L42" }, { "kind": "response", @@ -183107,7 +183111,7 @@ "body": { "kind": "no_body" }, - "description": "Returns the details about a query ruleset", + "description": "Get a query ruleset.\nGet details about a query ruleset.", "inherits": { "type": { "name": "RequestBase", @@ -183133,7 +183137,7 @@ } ], "query": [], - "specLocation": "query_rules/get_ruleset/QueryRulesetGetRequest.ts#L22-L35" + "specLocation": "query_rules/get_ruleset/QueryRulesetGetRequest.ts#L22-L36" }, { "kind": "response", @@ -183241,7 +183245,7 @@ "body": { "kind": "no_body" }, - "description": "Returns summarized information about existing query rulesets.", + "description": "Get all query rulesets.\nGet summarized information about the query rulesets.", "inherits": { "type": { "name": "RequestBase", @@ -183279,7 +183283,7 @@ } } ], - "specLocation": "query_rules/list_rulesets/QueryRulesetListRequest.ts#L22-L39" + "specLocation": "query_rules/list_rulesets/QueryRulesetListRequest.ts#L22-L40" }, { "kind": "response", @@ -183388,7 +183392,7 @@ } ] }, - "description": "Creates or updates a query rule within a query ruleset.", + "description": "Create or update a query rule.\nCreate or update a query rule within a query ruleset.", "inherits": { "type": { "name": "RequestBase", @@ -183426,7 +183430,7 @@ } ], "query": [], - "specLocation": "query_rules/put_rule/QueryRulePutRequest.ts#L28-L56" + "specLocation": "query_rules/put_rule/QueryRulePutRequest.ts#L28-L57" }, { "kind": "response", @@ -183488,7 +183492,7 @@ } ] }, - "description": "Creates or updates a query ruleset.", + "description": "Create or update a query ruleset.", "inherits": { "type": { "name": "RequestBase", @@ -183514,7 +183518,7 @@ } ], "query": [], - "specLocation": "query_rules/put_ruleset/QueryRulesetPutRequest.ts#L23-L43" + "specLocation": "query_rules/put_ruleset/QueryRulesetPutRequest.ts#L23-L44" }, { "kind": "response", @@ -183602,7 +183606,7 @@ } ] }, - "description": "Creates or updates a query ruleset.", + "description": "Test a query ruleset.\nEvaluate match criteria against a query ruleset to identify the rules that would match that criteria.", "inherits": { "type": { "name": "RequestBase", @@ -183628,7 +183632,7 @@ } ], "query": [], - "specLocation": "query_rules/test/QueryRulesetTestRequest.ts#L24-L44" + "specLocation": "query_rules/test/QueryRulesetTestRequest.ts#L24-L45" }, { "kind": "response", diff --git a/specification/_doc_ids/table.csv b/specification/_doc_ids/table.csv index 28e1e06073..5f7189583f 100644 --- a/specification/_doc_ids/table.csv +++ b/specification/_doc_ids/table.csv @@ -415,6 +415,7 @@ query-dsl-weighted-tokens-query,https://www.elastic.co/guide/en/elasticsearch/re query-dsl-wildcard-query,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wildcard-query.html query-dsl-wrapper-query,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wrapper-query.html query-dsl,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html +query-rule,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-using-query-rules.html realtime,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime redact-processor,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/redact-processor.html regexp-syntax,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html diff --git a/specification/query_rules/delete_rule/QueryRuleDeleteRequest.ts b/specification/query_rules/delete_rule/QueryRuleDeleteRequest.ts index 33398e41d2..df745da4ab 100644 --- a/specification/query_rules/delete_rule/QueryRuleDeleteRequest.ts +++ b/specification/query_rules/delete_rule/QueryRuleDeleteRequest.ts @@ -20,7 +20,8 @@ import { RequestBase } from '@_types/Base' import { Id } from '@_types/common' /** - * Deletes a query rule within a query ruleset. + * Delete a query rule. + * Delete a query rule within a query ruleset. * @rest_spec_name query_rules.delete_rule * @availability stack since=8.15.0 stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/query_rules/delete_ruleset/QueryRulesetDeleteRequest.ts b/specification/query_rules/delete_ruleset/QueryRulesetDeleteRequest.ts index 21dd9bf92a..3698895120 100644 --- a/specification/query_rules/delete_ruleset/QueryRulesetDeleteRequest.ts +++ b/specification/query_rules/delete_ruleset/QueryRulesetDeleteRequest.ts @@ -20,7 +20,7 @@ import { RequestBase } from '@_types/Base' import { Id } from '@_types/common' /** - * Deletes a query ruleset. + * Delete a query ruleset. * @rest_spec_name query_rules.delete_ruleset * @availability stack since=8.10.0 stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/query_rules/get_rule/QueryRuleGetRequest.ts b/specification/query_rules/get_rule/QueryRuleGetRequest.ts index 7aa110fdc3..de16f7ff86 100644 --- a/specification/query_rules/get_rule/QueryRuleGetRequest.ts +++ b/specification/query_rules/get_rule/QueryRuleGetRequest.ts @@ -20,10 +20,12 @@ import { RequestBase } from '@_types/Base' import { Id } from '@_types/common' /** - * Returns the details about a query rule within a query ruleset + * Get a query rule. + * Get details about a query rule within a query ruleset. * @rest_spec_name query_rules.get_rule * @availability stack since=8.15.0 stability=stable * @availability serverless stability=stable visibility=public + * @ext_doc_id query-rule */ export interface Request extends RequestBase { path_parts: { diff --git a/specification/query_rules/get_ruleset/QueryRulesetGetRequest.ts b/specification/query_rules/get_ruleset/QueryRulesetGetRequest.ts index 7ec6faffd1..bbc3118e70 100644 --- a/specification/query_rules/get_ruleset/QueryRulesetGetRequest.ts +++ b/specification/query_rules/get_ruleset/QueryRulesetGetRequest.ts @@ -20,7 +20,8 @@ import { RequestBase } from '@_types/Base' import { Id } from '@_types/common' /** - * Returns the details about a query ruleset + * Get a query ruleset. + * Get details about a query ruleset. * @rest_spec_name query_rules.get_ruleset * @availability stack since=8.10.0 stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/query_rules/list_rulesets/QueryRulesetListRequest.ts b/specification/query_rules/list_rulesets/QueryRulesetListRequest.ts index 3a71d2761e..f98ee4a6b5 100644 --- a/specification/query_rules/list_rulesets/QueryRulesetListRequest.ts +++ b/specification/query_rules/list_rulesets/QueryRulesetListRequest.ts @@ -20,7 +20,8 @@ import { RequestBase } from '@_types/Base' import { integer } from '@_types/Numeric' /** - * Returns summarized information about existing query rulesets. + * Get all query rulesets. + * Get summarized information about the query rulesets. * @rest_spec_name query_rules.list_rulesets * @availability stack since=8.10.0 stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/query_rules/put_rule/QueryRulePutRequest.ts b/specification/query_rules/put_rule/QueryRulePutRequest.ts index 506f3b2b97..e3c1f5aefe 100644 --- a/specification/query_rules/put_rule/QueryRulePutRequest.ts +++ b/specification/query_rules/put_rule/QueryRulePutRequest.ts @@ -26,7 +26,8 @@ import { } from '../_types/QueryRuleset' /** - * Creates or updates a query rule within a query ruleset. + * Create or update a query rule. + * Create or update a query rule within a query ruleset. * @rest_spec_name query_rules.put_rule * @availability stack since=8.15.0 stability=stable * @availability serverless stability=stable visibility=public diff --git a/specification/query_rules/put_ruleset/QueryRulesetPutRequest.ts b/specification/query_rules/put_ruleset/QueryRulesetPutRequest.ts index 1b9f22f27e..06d244fe1c 100644 --- a/specification/query_rules/put_ruleset/QueryRulesetPutRequest.ts +++ b/specification/query_rules/put_ruleset/QueryRulesetPutRequest.ts @@ -21,10 +21,11 @@ import { Id } from '@_types/common' import { QueryRule } from '../_types/QueryRuleset' /** - * Creates or updates a query ruleset. + * Create or update a query ruleset. * @rest_spec_name query_rules.put_ruleset * @availability stack since=8.10.0 stability=stable * @availability serverless stability=stable visibility=public + * @ext_doc_id query-rule */ export interface Request extends RequestBase { path_parts: { diff --git a/specification/query_rules/test/QueryRulesetTestRequest.ts b/specification/query_rules/test/QueryRulesetTestRequest.ts index 78f1e493bd..6ce634de10 100644 --- a/specification/query_rules/test/QueryRulesetTestRequest.ts +++ b/specification/query_rules/test/QueryRulesetTestRequest.ts @@ -22,7 +22,8 @@ import { RequestBase } from '@_types/Base' import { Id } from '@_types/common' /** - * Creates or updates a query ruleset. + * Test a query ruleset. + * Evaluate match criteria against a query ruleset to identify the rules that would match that criteria. * @rest_spec_name query_rules.test * @availability stack since=8.10.0 stability=stable * @availability serverless stability=stable visibility=public